aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2012-08-17 17:16:23 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2012-08-17 17:16:23 +0200
commit34d5f330feb8d10f36abac3bb020237f9d1869c8 (patch)
treefcbc159111af4c413dce0fb68e22e2d94c04e707 /web
parentSupport simple auth form. (diff)
downloadPhotoFloat-34d5f330feb8d10f36abac3bb020237f9d1869c8.tar.xz
PhotoFloat-34d5f330feb8d10f36abac3bb020237f9d1869c8.zip
Don't forget to add the actual form.
Diffstat (limited to 'web')
-rw-r--r--web/css/000-controls.css17
-rw-r--r--web/index.html1
2 files changed, 15 insertions, 3 deletions
diff --git a/web/css/000-controls.css b/web/css/000-controls.css
index a57e1d7..66fe6d6 100644
--- a/web/css/000-controls.css
+++ b/web/css/000-controls.css
@@ -173,7 +173,7 @@ a:hover {
text-shadow: rgba(0,0,0,0.5) -1px 0, rgba(0,0,0,0.3) 0 -1px, rgba(255,255,255,0.5) 0 1px, rgba(0,0,0,0.3) -1px -2px;
color: #FFAD27;
}
-#error-overlay, #error-text {
+#error-overlay, #error-text, #auth-text {
position: fixed;
top: 0;
left: 0;
@@ -184,11 +184,22 @@ a:hover {
#error-overlay {
background-color: #000000;
}
-#error-text {
- text-align: center;
+#error-text, #auth-text {
position: fixed;
padding-top: 20%;
+ text-align: center;
+}
+#error-text {
font-size: 4em;
font-weight: bold;
font-style: italic;
}
+#auth-text input {
+ color: rgb(0, 0, 0);
+ background-color: rgb(200, 200, 200);
+ border: 0;
+ font-family: inherit;
+ font-size: 2em;
+ font-weight: bold;
+ font-style: italic;
+}
diff --git a/web/index.html b/web/index.html
index 22ce1be..388609b 100644
--- a/web/index.html
+++ b/web/index.html
@@ -35,6 +35,7 @@
<div id="error-overlay"></div>
<div id="error-text">Forgot my camera.</div>
+<div id="auth-text"><form id="auth-form"><input id="password" type="password" /><input type="submit" value="Login" /></form</div>
</body>
</html>