themes/grey/login.tpl
changeset 44 92dd253f501c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/themes/grey/login.tpl	Mon Sep 01 16:51:13 2008 -0400
@@ -0,0 +1,65 @@
+{**
+ * Template file for default Grey theme
+ * Greyhound: Web control interface script for Amarok
+ * Written by Dan Fuhry - (C) 2008
+ *}
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html>
+  <head>
+    <title>Greyhound: Login</title>
+    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
+    <link rel="stylesheet" type="text/css" href="/themes/{$theme|escape}/login.css" />
+    <link rel="favorite icon" type="image/ico" href="/favicon.ico" />
+    {if $success}
+    <meta http-equiv="refresh" content="0; url=/" />
+    {/if}
+  </head>
+  <body>
+    <table border="0" cellspacing="0" cellpadding="0">
+      <tr>
+        <td valign="middle" style="text-align: center;">
+          <!-- this is all centered on the screen now -->
+          <div class="login-main">
+            <img class="greylogo" src="/themes/{$theme|escape}/images/greylogo.png" />
+            <form action="/login" method="post">
+              <table border="0" class="loginform">
+                <tr>
+                  <td class="left">username:</td><td class="right"><input type="text" name="username" tabindex="1" autocomplete="off" /></td>
+                </tr>
+                <tr>
+                  <td class="left password">password:</td><td class="right"><input type="password" name="password" tabindex="2" /></td>
+                </tr>
+                {if $tried and !$success}
+                <tr>
+                  <td class="error" colspan="2">
+                    login failed
+                  </td>
+                </tr>
+                {elseif $tried and $success}
+                <tr>
+                  <td class="success" colspan="2">
+                    you're all good, redirecting...
+                  </td>
+                </tr>
+                {else}
+                <tr>
+                  <td class="error" colspan="2">
+                    &nbsp;
+                  </td>
+                </tr>
+                {/if}
+                <tr>
+                  <td colspan="2" class="submit">
+                    <input class="submit" type="submit" value="log in" tabindex="3" />
+                  </td>
+                </tr>
+              </table>
+            </form>
+          </div>
+        </td>
+      </tr>
+    </table>
+  </body>
+</html>
+