Added html files for Village Telco 36/head
authorSteve Song <stephen.song@gmail.com>
Thu, 14 Aug 2014 11:21:30 +0000 (08:21 -0300)
committerSteve Song <stephen.song@gmail.com>
Thu, 14 Aug 2014 11:21:30 +0000 (08:21 -0300)
u-boot/httpd/vendors/villagetelco/404.html [new file with mode: 0755]
u-boot/httpd/vendors/villagetelco/fail.html [new file with mode: 0755]
u-boot/httpd/vendors/villagetelco/flashing.html [new file with mode: 0755]
u-boot/httpd/vendors/villagetelco/index.html [new file with mode: 0755]
u-boot/httpd/vendors/villagetelco/style.css [new file with mode: 0755]
u-boot/httpd/vendors/villagetelco/v.png [new file with mode: 0755]
u-boot/httpd/vendors/villagetelco/vt.png [new file with mode: 0755]

diff --git a/u-boot/httpd/vendors/villagetelco/404.html b/u-boot/httpd/vendors/villagetelco/404.html
new file mode 100755 (executable)
index 0000000..169698f
--- /dev/null
@@ -0,0 +1,17 @@
+<!DOCTYPE HTML>
+<html>
+       <head>
+               <meta charset="utf-8">
+               <title>Page not found</title>
+               <link rel="stylesheet" href="style.css">
+               <link rel="shortcut icon" href="v.png">
+       </head>
+       <body>
+               <div id="h"><img src="vt.png"></div>
+               <div id="m">
+                       <h1 class="red">Page not found</h1>
+                       <p>The page you were looking for doesn't exist!<br>Go back to <a href="index.html">firmware update</a> page.</p>
+               </div>
+               <div id="f">You can find more information about this project on <a href="https://github.com/pepe2k/u-boot_mod" target="_blank">GitHub</a></div>
+       </body>
+</html>
\ No newline at end of file
diff --git a/u-boot/httpd/vendors/villagetelco/fail.html b/u-boot/httpd/vendors/villagetelco/fail.html
new file mode 100755 (executable)
index 0000000..fa24be0
--- /dev/null
@@ -0,0 +1,17 @@
+<!DOCTYPE HTML>
+<html>
+       <head>
+               <meta charset="utf-8">
+               <title>Update failed</title>
+               <link rel="stylesheet" href="style.css">
+               <link rel="shortcut icon" href="v.png">
+       </head>
+       <body>
+               <div id="h"><img src="vt.png"></div>
+               <div id="m">
+                       <h1 class="red">Update failed</h1>
+                       <p>Please, try again or contact with the author of this modification.<br>You can also get more information during update in U-Boot console.</p>
+               </div>
+               <div id="f">You can find more information about this project on <a href="https://github.com/pepe2k/u-boot_mod" target="_blank">GitHub</a></div>
+       </body>
+</html>
\ No newline at end of file
diff --git a/u-boot/httpd/vendors/villagetelco/flashing.html b/u-boot/httpd/vendors/villagetelco/flashing.html
new file mode 100755 (executable)
index 0000000..f96b507
--- /dev/null
@@ -0,0 +1,18 @@
+<!DOCTYPE HTML>
+<html>
+       <head>
+               <meta charset="utf-8">
+               <title>Update in progress</title>
+               <style>
+                       h1,p,body{margin:0;padding:0}html,body{font:13px/20px Tahoma,sans-serif;background:#5a4a42;color:#FFF;text-align:center;height:100%}#m{padding:30px 0}#m>*{padding:20px}#f{font-size:11px;position:absolute;bottom:0;width:100%;padding:15px 0}a{color:#FEDD12;text-decoration:none}h1{font:bold 40px/40px Arial}#l{height:30px;width:30px;margin:30px auto;-webkit-animation:r 1s infinite linear;-moz-animation:r 1s infinite linear;-o-animation:r 1s infinite linear;animation:r 1s infinite linear;border-left:5px solid #FEDD12;border-right:5px solid #FEDD12;border-bottom:5px solid #135B72;border-top:5px solid #135B72;border-radius:100%}@-webkit-keyframes r{from{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(359deg)}}@-moz-keyframes r{from{-moz-transform:rotate(0deg)}to{-moz-transform:rotate(359deg)}}@-o-keyframes r{from{-o-transform:rotate(0deg)}to{-o-transform:rotate(359deg)}}@keyframes r{from{transform:rotate(0deg)}to{transform:rotate(359deg)}}
+               </style>
+       </head>
+       <body>
+               <div id="m">
+                       <h1>Update in progress</h1>
+                       <p>Your file was successfully uploaded! Update is in progress and you should wait for automatic reset of the device.<br>Update time depends on image size and may take up to a few minutes. You can close this page.</p>
+                       <div id="l"></div>
+               </div>
+               <div id="f">You can find more information about this project on <a href="https://github.com/pepe2k/u-boot_mod" target="_blank">GitHub</a></div>
+       </body>
+</html>
\ No newline at end of file
diff --git a/u-boot/httpd/vendors/villagetelco/index.html b/u-boot/httpd/vendors/villagetelco/index.html
new file mode 100755 (executable)
index 0000000..5ff113b
--- /dev/null
@@ -0,0 +1,19 @@
+<!DOCTYPE HTML>
+<html>
+       <head>
+               <meta charset="utf-8">
+               <title>Firmware update</title>
+               <link rel="stylesheet" href="style.css">
+               <link rel="shortcut icon" href="v.png">
+       </head>
+       <body>
+               <div id="h"><img src="vt.png"></div>
+               <div id="m">
+                       <h1>Firmware update</h1>
+                       <p>You are going to upload new firmware to the device.<br>Choose a proper file from your local hard drive and click <strong>"Update firmware"</strong> button.<br>Please, do not power off the device during update, if everything goes well, the device will restart.</p>
+                       <form method="post" enctype="multipart/form-data"><input type="file" name="firmware"><input type="submit" value="Update firmware"></form>
+                       <p>For more technical information, please consult<br> the <a href="http://wiki.villagetelco.org">Village Telco wiki</a> or join the Village Telco <a href="https://groups.google.com/forum/#!forum/village-telco-dev">development community</a>. 
+               </div>
+               <div id="f">You can find more information about this project on <a href="https://github.com/pepe2k/u-boot_mod" target="_blank">GitHub</a></div>
+       </body>
+</html>
\ No newline at end of file
diff --git a/u-boot/httpd/vendors/villagetelco/style.css b/u-boot/httpd/vendors/villagetelco/style.css
new file mode 100755 (executable)
index 0000000..45d0bc8
--- /dev/null
@@ -0,0 +1,49 @@
+h1,
+p,
+form,
+body {
+       margin: 0;
+       padding: 0;
+}
+
+html,
+body {
+       font: 13px/20px Tahoma, sans-serif;
+       background: #5a4a42;
+       color: #FFF;
+       text-align: center;
+       height: 100%;
+}
+
+#m, #h {
+       padding: 30px 0;
+}
+
+#h {
+       background: #FFF;
+}
+
+#m > * {
+       padding: 20px;
+}
+
+#f {
+       font-size: 11px;
+       position: absolute;
+       bottom: 0;
+       width: 100%;
+       padding: 15px 0;
+}
+
+a {
+       color: #FEDD12;
+       text-decoration: none;
+}
+
+h1 {
+       font: bold 40px/40px Arial;
+}
+
+.red {
+       color: #ED0000;
+}
\ No newline at end of file
diff --git a/u-boot/httpd/vendors/villagetelco/v.png b/u-boot/httpd/vendors/villagetelco/v.png
new file mode 100755 (executable)
index 0000000..8b81ef8
Binary files /dev/null and b/u-boot/httpd/vendors/villagetelco/v.png differ
diff --git a/u-boot/httpd/vendors/villagetelco/vt.png b/u-boot/httpd/vendors/villagetelco/vt.png
new file mode 100755 (executable)
index 0000000..ed0861c
Binary files /dev/null and b/u-boot/httpd/vendors/villagetelco/vt.png differ