summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc/view/admin_system
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-08-14 01:31:17 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-08-14 01:31:17 +0000
commit8591d4e3963900082bc6468fe37eb08ce930faec (patch)
treeff9345d0856f585463e076d8ce17e69b8d01873a /modules/admin-full/luasrc/view/admin_system
parent027effe9c839aeaa066eb11df33a5c8c4441f79f (diff)
* luci/libs: improved cbi templates
* luci/modules: fix layout of sshkeys page in admin-full
Diffstat (limited to 'modules/admin-full/luasrc/view/admin_system')
-rw-r--r--modules/admin-full/luasrc/view/admin_system/sshkeys.htm34
1 files changed, 17 insertions, 17 deletions
diff --git a/modules/admin-full/luasrc/view/admin_system/sshkeys.htm b/modules/admin-full/luasrc/view/admin_system/sshkeys.htm
index 9a08af9e3..7b636090c 100644
--- a/modules/admin-full/luasrc/view/admin_system/sshkeys.htm
+++ b/modules/admin-full/luasrc/view/admin_system/sshkeys.htm
@@ -12,28 +12,28 @@ You may obtain a copy of the License at
$Id$
-%>
-<%+header%>
-<h1><%:system%></h1>
-<h2><%:a_s_sshkeys%></h2>
-
-<br />
-
-<div><%:a_s_sshkeys1%></div>
-<br />
+<%+header%>
<form method="post" action="<%=controller%>/admin/system/sshkeys">
- <div class="cbi-section-node" style="width: 100%">
- <div class="cbi-value">
- <div class="cbi-value-field">
- <textarea style="width: 100%" rows="10" name="data"><%=cnt%></textarea>
- </div>
+ <div class="cbi-map">
+ <h1><%:a_s_sshkeys%></h1>
+ <div class="cbi-map-descr">
+ <%:a_s_sshkeys1%>
</div>
+ <fieldset class="cbi-section">
+ <legend><%:a_s_sshkeys%></legend>
+ <textarea style="width: 100%" rows="10" name="data" wrap="off"><%=cnt%></textarea>
+ <% if msg then -%>
+ <div class="cbi-error"><%:error%>: <%=msg%></div>
+ <% end %>
+ </fieldset>
</div>
+
<div>
- <input type="submit" value="<%:save%>" />
- <input type="reset" value="<%:reset%>" />
+ <input type="submit" value="<%:save%>" class="cbi-button cbi-button-save" />
+ <input type="reset" value="<%:reset%>" class="cbi-button cbi-button-reset" />
</div>
- <% if msg then %><br /><div class="error"><%:error%>: <%=msg%></div><% end %>
</form>
-<%+footer%> \ No newline at end of file
+
+<%+footer%>