Add the login template
[bugdar.git] / admin / templates / login.html
1 <%- $templates['doctype'] %>
2 <html xmlns="http://www.w3.org/1999/xhtml" lang="<%- $stylevar['lang'] %>" xml:lang="<%- $stylevar['lang'] %>" dir="<%- $stylevar['lang_dir'] %>">
3 <head>
4 <%- $templates['headinclude'] %>
5 <title><%- $templates['title'] %> - <%- T('Login') %></title>
6 </head>
7
8 <body onload="document.getElementById('<%- (bugdar::$userinfo['userid']) ? 'password' : 'email' %>').focus()">
9
10 <div id="title"><%- T('Bugdar Admin Control Panel Login') %></div>
11
12 <div id="body">
13
14 <form action="../login.php" method="post">
15 <input type="hidden" name="do" value="cplogin" />
16
17 <div style="width: 375px; margin: auto">
18 <fieldset>
19 <legend><%- T('Login') %></legend>
20 <dfn>Please enter your Bugdar email address and password to proceed into the Admin Control Panel.</dfn>
21
22 <dl>
23 <dt><label for="email"><%- T('Email') %></label></dt>
24 <dd><input type="text" name="email" value="<%- bugdar::$userinfo['email'] %>" id="email" /></dd>
25
26 <dt><label for="password"><%- T('Password') %></label></dt>
27 <dd><input type="password" name="password" value="" id="password" /></dd>
28 </dl>
29 </fieldset>
30 <div class="submit">
31 <input type="submit" name="submit" value="<%- T('Login') %>" id="submit" />
32 <input type="button" name="cancel" value="<%- T('Cancel') %>" id="cancel" onclick="window.location='..'" />
33 </div>
34 </div>
35
36 </form>
37
38 </div>
39 </body>
40
41 </html>