diff options
author | Eric Luehrsen <ericluehrsen@hotmail.com> | 2017-09-17 23:31:15 -0400 |
---|---|---|
committer | Eric Luehrsen <ericluehrsen@hotmail.com> | 2017-09-22 23:04:40 -0400 |
commit | 7ca169710e048f2e3a5d3a1ad3dbc96c666e03a7 (patch) | |
tree | 7ebc3ef99f72c3ed078ba563afceeee127ada4f6 /applications/luci-app-unbound/luasrc/view/unbound | |
parent | 678c15c0da5e9a133522dc66baafc088dcef5543 (diff) |
luci-app-unbound: clean up presentation of advanced LuCI tabs
Add CSS for editing tabs to provide monospace font and offset
editing window color from read only windows. Expand 'control'
option to match with net/unbound. Add 'extended_stats' option
to match with net/unbound.
Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
Diffstat (limited to 'applications/luci-app-unbound/luasrc/view/unbound')
-rw-r--r-- | applications/luci-app-unbound/luasrc/view/unbound/css-editing.htm | 8 | ||||
-rw-r--r-- | applications/luci-app-unbound/luasrc/view/unbound/show-textbox.htm | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/applications/luci-app-unbound/luasrc/view/unbound/css-editing.htm b/applications/luci-app-unbound/luasrc/view/unbound/css-editing.htm new file mode 100644 index 0000000000..44d09378c3 --- /dev/null +++ b/applications/luci-app-unbound/luasrc/view/unbound/css-editing.htm @@ -0,0 +1,8 @@ +<style type="text/css"> + textarea + { + background-color: #fffff0; + font-family: monospace; + } +</style> + diff --git a/applications/luci-app-unbound/luasrc/view/unbound/show-textbox.htm b/applications/luci-app-unbound/luasrc/view/unbound/show-textbox.htm index 69c984780b..c0a7d133dc 100644 --- a/applications/luci-app-unbound/luasrc/view/unbound/show-textbox.htm +++ b/applications/luci-app-unbound/luasrc/view/unbound/show-textbox.htm @@ -2,7 +2,7 @@ <h3><%=heading:pcdata()%></h3> <p><%=description:pcdata()%></p> <div> -<textarea style="width: 100%; height: 480px;" readonly="readonly" wrap="off" rows="<%=content:cmatch("\n")+2%>"><%=content:pcdata()%></textarea> +<textarea style="width: 100%; height: 480px; font-family: monospace;" readonly="readonly" wrap="off" rows="<%=content:cmatch("\n")+2%>"><%=content:pcdata()%></textarea> </div> <%+footer%> |