User interface improvements part #3
[project/luci.git] / modules / admin-core / luasrc / view / sysauth.htm
1 <%#
2 LuCI - Lua Configuration Interface
3 Copyright 2008 Steven Barth <steven@midlink.org>
4 Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
5
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9
10         http://www.apache.org/licenses/LICENSE-2.0
11
12 $Id$
13
14 -%>
15 <%+header%>
16 <% luci.i18n.loadc("sysauth") %>
17 <h1><%:sysauth_head%></h1>
18 <p><%:sysauth_prompt%></p>
19 <% if fuser then %>
20 <div class="error"><%:sysauth_failed%></div>
21 <br />
22 <% end %>
23 <form method="post" action="<%=REQUEST_URI%>">
24                 <div class="cbi-section-node">
25                         <div class="cbi-value">
26                                 <div class="cbi-value-title"><%:username%></div>
27                                 <div class="cbi-value-field"><input class="cbi-input-user" type="text" name="username" value="<%=duser%>" /></div>
28                         </div>
29                         <div class="cbi-value">
30                                 <div class="cbi-value-title"><%:password%></div>
31                                 <div class="cbi-value-field"><input class="cbi-input-key" type="password" name="password" /></div>
32                         </div>
33                         <br />
34                         <div>
35                                 <input type="submit" class="cbi-button cbi-button-apply" value="<%:login%>" />
36                                 <input type="reset" class="cbi-button cbi-button-reset" value="<%:reset%>" />
37                         </div>
38                 </div>
39 </form>
40 <%+footer%>