Browse Source

Make http upload pages slightly less ugly and include licensing information

Felix Paul Kühne 12 years ago
parent
commit
d5aeb5ae2f
2 changed files with 40 additions and 12 deletions
  1. 20 8
      Resources/web/index.html
  2. 20 4
      Resources/web/upload.html

+ 20 - 8
Resources/web/index.html

@@ -2,14 +2,26 @@
 <html>
 	<head>
 		<meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\">
-			</head>
-	<body>
+        <style type="text/css">
+            h1, h6 { text-align: center}
+            form { text-align: center}
+            A:link {text-decoration: underline; color: #aaaaaa}
+            A:visited {text-decoration: none; color: #aaaaaa}
+            A:active {text-decoration: none; color: #aaaaaa}
+        </style>
+        <title>VLC for iOS File Uploader</title>
+    </head>
+	<body bgcolor=#000000>
+        <div style="text-align:center; background-color:#000000; border:solid black 1px; padding:0.5em 1em 0.5em 1em; overflow:auto; font-size:10pt; font-family:Helvetica; color:#aaaaaa"; A:link {text-decoration: underline; color:#aaaaaa}>
+        <img src="Icon-72.png">
+        <h1>VLC for iOS</h1>
 		<form action="upload.html" method="post" enctype="multipart/form-data" accept-charset="utf-8">
 			<input type="file" name="upload1"><br/>
-                <input type="file" name="upload2"><br/>
-				<input type="submit" value="Submit">
-					</form>
-		
-
+            <br />
+			<input type="submit" value="Submit">
+        </form>
+		</p>
+        <h6>VLC for iOS is free, open-source software published by <a href="http://www.videolan.org" target="_blank">VideoLAN</a>. Modification and redistribution is subject to $LICENSE and further rights reserved by the VideoLAN association.<br />You can find the sources to this application <a href="http://git.videolan.org/?p=vlc-ports/ios2.git;a=summary" target="_blank">online</a> and more information about licensing in the About dialog included within the app.</h6>
+        </div>
 	</body>
-</html>
+</html>

+ 20 - 4
Resources/web/upload.html

@@ -2,8 +2,24 @@
 <html>
 	<head>
 		<meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\">
-			</head>
-	<body>
-		%MyFiles%
+        <style type="text/css">
+            h1, h6 { text-align: center}
+            p { text-align: center}
+            a:link {text-decoration: underline; color: #aaaaaa}
+            a:visited {text-decoration: none; color: #aaaaaa}
+            a:active {text-decoration: none; color: #aaaaaa}
+        </style>
+        <title>VLC for iOS File Uploader</title>
+    </head>
+	<body bgcolor=#000000>
+    <div style="text-align:center; background-color:#000000; border:solid black 1px; padding:0.5em 1em 0.5em 1em; overflow:auto; font-size:10pt; font-family:Helvetica; color:#aaaaaa"; A:link {text-decoration: underline; color:#aaaaaa}>
+    <img src="Icon-72.png">
+	<h1>VLC for iOS</h1>
+    %MyFiles%
+    <br />
+    <p><a href="index.html">Upload more files</a></p>
+    <h6>VLC for iOS is free, open-source software published by <a href="http://www.videolan.org" target="_blank">VideoLAN</a>. Modification and redistribution is subject to $LICENSE and further rights reserved by the VideoLAN association.<br />You can find the sources to this application <a href="http://git.videolan.org/?p=vlc-ports/ios2.git;a=summary" target="_blank">online</a> and more information about licensing in the About dialog included within the app.</h6>
+    </div>
+    </div>
 	</body>
-</html>
+</html>