summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-06-28 16:03:54 +0000
committerSteven Barth <steven@midlink.org>2008-06-28 16:03:54 +0000
commit00aceaf624d8e5da2a8f3df161d52599aae2ac41 (patch)
treec18d8c411f8d4a02762a478348fd8a86b4f56f5a /modules
parent7f56bf947599b20e2cf50018e160e602d5516e5f (diff)
* libs/web: Switched from HTTP-Basic-Auth to Session-Auth
* Updated Makefiles for better testing environment integration * Fixed libs/sgi-luci
Diffstat (limited to 'modules')
-rw-r--r--modules/admin-core/luasrc/view/sysauth.htm26
1 files changed, 26 insertions, 0 deletions
diff --git a/modules/admin-core/luasrc/view/sysauth.htm b/modules/admin-core/luasrc/view/sysauth.htm
new file mode 100644
index 000000000..4e5367a86
--- /dev/null
+++ b/modules/admin-core/luasrc/view/sysauth.htm
@@ -0,0 +1,26 @@
+<%+header%>
+<% luci.i18n.loadc("sysauth") %>
+<h1><%:sysauth_head%></h1>
+<p><%:sysauth_prompt%></p>
+<% if fuser then %>
+<div class="error"><%:sysauth_failed%></div>
+<br />
+<% end %>
+<form method="post" action="<%=REQUEST_URI%>">
+ <div class="cbi-section-node">
+ <div class="cbi-value">
+ <div class="cbi-value-title"><%:username%></div>
+ <div class="cbi-value-field"><input type="text" name="username" value="<%=duser%>" /></div>
+ </div>
+ <div class="cbi-value">
+ <div class="cbi-value-title"><%:password%></div>
+ <div class="cbi-value-field"><input type="password" name="password" /></div>
+ </div>
+ <br />
+ <div>
+ <input type="submit" value="<%:login%>" />
+ <input type="reset" value="<%:reset%>" />
+ </div>
+ </div>
+</form>
+<%+footer%> \ No newline at end of file