themes/iphone/login.tpl
changeset 44 92dd253f501c
child 49 d62212462f9b
equal deleted inserted replaced
43:2634d550a97b 44:92dd253f501c
       
     1 {**
       
     2  * Template file for default Funky Monkey theme
       
     3  * Web control interface script for Amarok
       
     4  * Written by Dan Fuhry - 2008
       
     5  *
       
     6  * This script is in the public domain. Use it for good, not evil.
       
     7  *}
       
     8 
       
     9 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
       
    10 <html>
       
    11   <head>
       
    12     <title>AmaroK playlist</title>
       
    13     <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
       
    14     <!-- iPhone viewport hack from jailbreakme.com -->
       
    15     <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
       
    16     <link rel="stylesheet" type="text/css" href="/themes/{$theme|escape}/login.css" />
       
    17     <link rel="favorite icon" type="image/ico" href="/favicon.ico" />
       
    18     {if $success}
       
    19     <meta http-equiv="refresh" content="0; url=/" />
       
    20     {/if}
       
    21   </head>
       
    22   <body>
       
    23     <table border="0" cellspacing="0" cellpadding="0">
       
    24       <tr>
       
    25         <td valign="middle" style="text-align: center;">
       
    26           <!-- this is all centered on the screen now -->
       
    27           <div class="login-main">
       
    28             <img class="greylogo" src="/themes/{$theme|escape}/images/greylogo.png" />
       
    29             <form action="/login" method="post">
       
    30               <table border="0" class="loginform">
       
    31                 <tr>
       
    32                   <td class="left">username:</td><td class="right"><input type="text" name="username" tabindex="1" autocomplete="off" /></td>
       
    33                 </tr>
       
    34                 <tr>
       
    35                   <td class="left password">password:</td><td class="right"><input type="password" name="password" tabindex="2" /></td>
       
    36                 </tr>
       
    37                 {if $tried and !$success}
       
    38                 <tr>
       
    39                   <td class="error" colspan="2">
       
    40                     login failed
       
    41                   </td>
       
    42                 </tr>
       
    43                 {elseif $tried and $success}
       
    44                 <tr>
       
    45                   <td class="success" colspan="2">
       
    46                     you're all good, redirecting...
       
    47                   </td>
       
    48                 </tr>
       
    49                 {else}
       
    50                 <tr>
       
    51                   <td class="error" colspan="2">
       
    52                     &nbsp;
       
    53                   </td>
       
    54                 </tr>
       
    55                 {/if}
       
    56                 <tr>
       
    57                   <td colspan="2" class="submit">
       
    58                     <input class="submit" type="submit" value="log in" tabindex="3" />
       
    59                   </td>
       
    60                 </tr>
       
    61               </table>
       
    62             </form>
       
    63           </div>
       
    64         </td>
       
    65       </tr>
       
    66     </table>
       
    67   </body>
       
    68 </html>
       
    69