themes/iphone/login.tpl
author Dan
Fri, 12 Jun 2009 13:47:12 -0400
changeset 75 2f39cb7f54c4
parent 51 7009a9cbd46f
child 77 e5f1f45ea7e2
permissions -rw-r--r--
Playlist rebuild should work right now!

{**
 * Template file for default Funky Monkey theme
 * Web control interface script for Amarok
 * Written by Dan Fuhry - (C) 2008
 *
 * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
 *}

<!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" />
    <!-- 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>