Simple websites, without logo and repository link, only for fw update
authorPiotr Dymacz <pepe2k@gmail.com>
Thu, 20 Mar 2014 20:37:23 +0000 (21:37 +0100)
committerPiotr Dymacz <pepe2k@gmail.com>
Thu, 20 Mar 2014 20:37:23 +0000 (21:37 +0100)
u-boot/httpd/vendors/oem/404.html [new file with mode: 0755]
u-boot/httpd/vendors/oem/fail.html [new file with mode: 0755]
u-boot/httpd/vendors/oem/flashing.html [new file with mode: 0755]
u-boot/httpd/vendors/oem/index.html [new file with mode: 0755]
u-boot/httpd/vendors/oem/style.css [new file with mode: 0755]

diff --git a/u-boot/httpd/vendors/oem/404.html b/u-boot/httpd/vendors/oem/404.html
new file mode 100755 (executable)
index 0000000..ae413c3
--- /dev/null
@@ -0,0 +1,14 @@
+<!DOCTYPE HTML>
+<html>
+       <head>
+               <meta charset="utf-8">
+               <title>Page not found</title>
+               <link rel="stylesheet" href="style.css">
+       </head>
+       <body>
+               <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>
+       </body>
+</html>
\ No newline at end of file
diff --git a/u-boot/httpd/vendors/oem/fail.html b/u-boot/httpd/vendors/oem/fail.html
new file mode 100755 (executable)
index 0000000..225454e
--- /dev/null
@@ -0,0 +1,14 @@
+<!DOCTYPE HTML>
+<html>
+       <head>
+               <meta charset="utf-8">
+               <title>Update failed</title>
+               <link rel="stylesheet" href="style.css">
+       </head>
+       <body>
+               <div id="m">
+                       <h1 class="red">Update failed</h1>
+                       <p>Please, try again or contact with the support.<br>You can also get more information during update in U-Boot console.</p>
+               </div>
+       </body>
+</html>
\ No newline at end of file
diff --git a/u-boot/httpd/vendors/oem/flashing.html b/u-boot/httpd/vendors/oem/flashing.html
new file mode 100755 (executable)
index 0000000..c1c3202
--- /dev/null
@@ -0,0 +1,17 @@
+<!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:#FFF;color:#000;text-align:center;height:100%}#m{padding:30px 0}#m>*{padding:20px}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 #FFF;border-right:5px solid #FFF;border-bottom:5px solid #000;border-top:5px solid #000;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>
+       </body>
+</html>
\ No newline at end of file
diff --git a/u-boot/httpd/vendors/oem/index.html b/u-boot/httpd/vendors/oem/index.html
new file mode 100755 (executable)
index 0000000..c5351d9
--- /dev/null
@@ -0,0 +1,15 @@
+<!DOCTYPE HTML>
+<html>
+       <head>
+               <meta charset="utf-8">
+               <title>Firmware update</title>
+               <link rel="stylesheet" href="style.css">
+       </head>
+       <body>
+               <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>
+               </div>
+       </body>
+</html>
\ No newline at end of file
diff --git a/u-boot/httpd/vendors/oem/style.css b/u-boot/httpd/vendors/oem/style.css
new file mode 100755 (executable)
index 0000000..1e59983
--- /dev/null
@@ -0,0 +1,37 @@
+h1,
+p,
+form,
+body {
+       margin: 0;
+       padding: 0;
+}
+
+html,
+body {
+       font: 13px/20px Tahoma, sans-serif;
+       background: #FFF;
+       color: #000;
+       text-align: center;
+       height: 100%;
+}
+
+#m {
+       padding: 30px 0;
+}
+
+#m > * {
+       padding: 20px;
+}
+
+a {
+       color: #0069FB;
+       text-decoration: none;
+}
+
+h1 {
+       font: bold 40px/40px Arial;
+}
+
+.red {
+       color: #ED0000;
+}
\ No newline at end of file