themes/iphone/login.tpl
changeset 44 92dd253f501c
child 49 d62212462f9b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/themes/iphone/login.tpl	Mon Sep 01 16:51:13 2008 -0400
@@ -0,0 +1,69 @@
+{**
+ * Template file for default Funky Monkey theme
+ * Web control interface script for Amarok
+ * Written by Dan Fuhry - 2008
+ *
+ * This script is in the public domain. Use it for good, not evil.
+ *}
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html>
+  <head>
+    <title>AmaroK playlist</title>
+    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
+    <!-- iPhone viewport hack from jailbreakme.com -->
+    <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
+    <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>
+