|
30 | 30 | [% PROCESS global/variables.none.tmpl %] |
31 | 31 |
|
32 | 32 | [% PROCESS global/header.html.tmpl |
33 | | - title = "Log in to $terms.Bugzilla", |
34 | | - onload = "document.forms['login'].Bugzilla_login.focus()" |
| 33 | + title = "Log in to $terms.Bugzilla", |
| 34 | + onload = "document.forms['login'].Bugzilla_login.focus()" |
| 35 | + allow_mobile = 1 |
35 | 36 | %] |
36 | 37 |
|
37 | 38 | [% USE Bugzilla %] |
|
40 | 41 | I need an email address and password to continue. |
41 | 42 | </p> |
42 | 43 |
|
43 | | -<form name="login" action="[% target FILTER html %]" method="POST" |
44 | | -[%- IF Bugzilla.cgi.param("data") %] enctype="multipart/form-data"[% END %]> |
45 | | - <table> |
46 | | - <tr> |
47 | | - <th align="right"><label for="Bugzilla_login">Email Address:</label></th> |
48 | | - <td> |
49 | | - <input size="35" id="Bugzilla_login" name="Bugzilla_login" |
50 | | - [%- ' type="email"' UNLESS Param('emailsuffix') %]> |
51 | | - [% Param('emailsuffix') FILTER html %] |
52 | | - </td> |
53 | | - </tr> |
54 | | - <tr> |
55 | | - <th align="right"><label for="Bugzilla_password">Password:</label></th> |
56 | | - <td> |
57 | | - <input type="password" size="35" id="Bugzilla_password" name="Bugzilla_password"> |
58 | | - </td> |
59 | | - </tr> |
| 44 | +<div id="login" class="login-form"> |
| 45 | + <form name="login" action="[% target FILTER html %]" method="POST" |
| 46 | + [%- IF Bugzilla.cgi.param("data") %] enctype="multipart/form-data"[% END %]> |
| 47 | + <div class="field-login"> |
| 48 | + <label for="Bugzilla_login">Email Address:</label> |
| 49 | + <input id="Bugzilla_login" name="Bugzilla_login" |
| 50 | + [%- ' type="email"' UNLESS Param('emailsuffix') %]> |
| 51 | + [% Param('emailsuffix') FILTER html %] |
| 52 | + </div> |
| 53 | + |
| 54 | + <div class="field-password"> |
| 55 | + <label for="Bugzilla_password">Password:</label> |
| 56 | + <input type="password" id="Bugzilla_password" name="Bugzilla_password"> |
| 57 | + </div> |
60 | 58 |
|
61 | 59 | [% IF Param('rememberlogin') == 'defaulton' || |
62 | | - Param('rememberlogin') == 'defaultoff' %] |
63 | | - <tr> |
64 | | - <th> </th> |
65 | | - <td> |
66 | | - <input type="checkbox" id="Bugzilla_remember" name="Bugzilla_remember" value="on" |
67 | | - [%+ "checked" IF Param('rememberlogin') == "defaulton" %]> |
68 | | - <label for="Bugzilla_remember">Remember my email address</label> |
69 | | - </td> |
70 | | - </tr> |
| 60 | + Param('rememberlogin') == 'defaultoff' %] |
| 61 | + <div class="field-remember"> |
| 62 | + <input type="checkbox" id="Bugzilla_remember" name="Bugzilla_remember" value="on" |
| 63 | + [%+ "checked" IF Param('rememberlogin') == "defaulton" %]> |
| 64 | + <label for="Bugzilla_remember" class="checkbox-note"> |
| 65 | + Remember my email address |
| 66 | + </label> |
| 67 | + </div> |
71 | 68 | [% END %] |
72 | 69 |
|
73 | | - <tr> |
74 | | - <th> </th> |
75 | | - <td> |
76 | | - <input type="checkbox" id="Bugzilla_restrictlogin" name="Bugzilla_restrictlogin" |
77 | | - checked="checked"> |
78 | | - <label for="Bugzilla_restrictlogin">Restrict this session to this IP address |
79 | | - (using this option improves security)</label> |
80 | | - </td> |
81 | | - </tr> |
82 | | - </table> |
| 70 | + [% PROCESS "global/hidden-fields.html.tmpl" |
| 71 | + exclude="^Bugzilla_(login|password|restrictlogin)$" %] |
83 | 72 |
|
84 | | - [% PROCESS "global/hidden-fields.html.tmpl" |
85 | | - exclude="^Bugzilla_(login|password|restrictlogin)$" %] |
| 73 | + <div class="field-restrict"> |
| 74 | + <input type="checkbox" id="Bugzilla_restrictlogin" name="Bugzilla_restrictlogin" |
| 75 | + checked="checked"> |
| 76 | + <label for="Bugzilla_restrictlogin" class="checkbox-note"> |
| 77 | + Restrict this session to this IP address |
| 78 | + (using this option improves security)</label> |
| 79 | + </div> |
86 | 80 |
|
87 | | - <input type="hidden" name="Bugzilla_login_token" |
88 | | - value="[% get_login_request_token() FILTER html %]"> |
89 | | - <input type="submit" name="GoAheadAndLogIn" value="Log in" id="log_in"> |
| 81 | + <div class="field-submit"> |
| 82 | + <input type="hidden" name="Bugzilla_login_token" |
| 83 | + value="[% get_login_request_token() FILTER html %]"> |
| 84 | + <input type="submit" name="GoAheadAndLogIn" value="Log in" id="log_in"> |
| 85 | + </div> |
90 | 86 |
|
91 | | - <p> |
92 | | - (Note: you should make sure cookies are enabled for this site. |
93 | | - Otherwise, you will be required to log in frequently.) |
94 | | - </p> |
95 | | -</form> |
| 87 | + <p class="cookie-notify"> |
| 88 | + (Note: you should make sure cookies are enabled for this site. |
| 89 | + Otherwise, you will be required to log in frequently.) |
| 90 | + </p> |
| 91 | + </form> |
| 92 | +</div> |
96 | 93 |
|
97 | 94 | [% Hook.process('additional_methods') %] |
98 | 95 |
|
|
117 | 114 | If you have an account, but have forgotten your password, |
118 | 115 | enter your email address below and submit a request |
119 | 116 | to change your password.<br> |
120 | | - <input size="35" name="loginname"> |
| 117 | + <input name="loginname"> |
121 | 118 | <input type="hidden" id="token" name="token" value="[% issue_hash_token(['reqpw']) FILTER html %]"> |
122 | 119 | <input type="submit" id="request" value="Reset Password"> |
123 | 120 | </form> |
|
0 commit comments