aboutsummaryrefslogtreecommitdiff
path: root/backends/networking/wwwroot
diff options
context:
space:
mode:
authorAlexander Tkachev2016-06-16 19:47:02 +0600
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commit5176eaba81f4cda6cd5a14108c3516abd8ba0c84 (patch)
treefecfb6feb4ecfc45b00a59716a8275f69d889c30 /backends/networking/wwwroot
parent43071c09723472483af4b69cf454ca75a8cd4613 (diff)
downloadscummvm-rg350-5176eaba81f4cda6cd5a14108c3516abd8ba0c84.tar.gz
scummvm-rg350-5176eaba81f4cda6cd5a14108c3516abd8ba0c84.tar.bz2
scummvm-rg350-5176eaba81f4cda6cd5a14108c3516abd8ba0c84.zip
CLOUD: Add wwwroot
wwwroot.zip contains ScummVM local webserver's resources, such as template html pages, styles and images. One can make it from wwwroot directory contents by running make_archive.py script. It's added to scummvm.rc, so it's included in the executable (it works with MinGW, but I was unable to do that in VS yet). IndexPageHandler is the one who returns these resources. It uses index.html for "/". I'm replacing "{message}" with translated message, so that's the way I thought the templates should work.
Diffstat (limited to 'backends/networking/wwwroot')
-rw-r--r--backends/networking/wwwroot/favicon.icobin0 -> 94081 bytes
-rw-r--r--backends/networking/wwwroot/index.html18
-rw-r--r--backends/networking/wwwroot/logo.pngbin0 -> 132967 bytes
-rw-r--r--backends/networking/wwwroot/style.css21
4 files changed, 39 insertions, 0 deletions
diff --git a/backends/networking/wwwroot/favicon.ico b/backends/networking/wwwroot/favicon.ico
new file mode 100644
index 0000000000..0283e8432e
--- /dev/null
+++ b/backends/networking/wwwroot/favicon.ico
Binary files differ
diff --git a/backends/networking/wwwroot/index.html b/backends/networking/wwwroot/index.html
new file mode 100644
index 0000000000..2a3d9d382d
--- /dev/null
+++ b/backends/networking/wwwroot/index.html
@@ -0,0 +1,18 @@
+<!doctype html>
+<html>
+ <head>
+ <title>ScummVM</title>
+ <meta charset="utf-8"/>
+ <link rel="stylesheet" type="text/css" href="style.css"/>
+ </head>
+ <body>
+ <div class="container">
+ <div class='header'>
+ <center><img src="logo.png"/></center>
+ </div>
+ <div class="content">
+ <p>{message}</p>
+ </div>
+ </div>
+ </body>
+</html> \ No newline at end of file
diff --git a/backends/networking/wwwroot/logo.png b/backends/networking/wwwroot/logo.png
new file mode 100644
index 0000000000..9fdd2d0d1e
--- /dev/null
+++ b/backends/networking/wwwroot/logo.png
Binary files differ
diff --git a/backends/networking/wwwroot/style.css b/backends/networking/wwwroot/style.css
new file mode 100644
index 0000000000..f092b058a8
--- /dev/null
+++ b/backends/networking/wwwroot/style.css
@@ -0,0 +1,21 @@
+body, .header { background: #FFCC33; }
+
+.container {
+ width: 80%;
+ margin: 0 auto;
+}
+
+.header {
+ padding: 10pt;
+ /*margin: 8pt;*/
+ margin-bottom: 0;
+}
+
+.content {
+ padding: 8pt;
+ background: rgb(251, 241, 206);
+ font-family: Tahoma;
+ font-size: 16pt;
+}
+
+.content p { margin: 0 0 6pt 0; } \ No newline at end of file