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