From: Steven Barth Date: Thu, 11 Sep 2008 21:45:29 +0000 (+0000) Subject: UVLDoc: Minor style improvements X-Git-Tag: 0.9.0~1342 X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=e0cfb49235b5890b24dbfcafeb5c7805327d6403 UVLDoc: Minor style improvements --- diff --git a/libs/uvldoc/luasrc/uvldoc/proto/xhtml/section.xml b/libs/uvldoc/luasrc/uvldoc/proto/xhtml/section.xml index 92625bc8a..8f1ca931d 100644 --- a/libs/uvldoc/luasrc/uvldoc/proto/xhtml/section.xml +++ b/libs/uvldoc/luasrc/uvldoc/proto/xhtml/section.xml @@ -112,7 +112,7 @@ if section.named then %> <% end %> -

Overview:

+

Variable Overview:

<% for k, v in luci.util.kspairs(package.variables[type]) do if v.required then%> @@ -141,8 +141,8 @@ if (i==0) == v.required then

<%=k-%> <%-if v.title then%> - <%=v.title%><%end%>

-
<%=v.description%>
+
<%=v.description%>
Attributes:
    <% if v.required then %> diff --git a/libs/uvldoc/luasrc/uvldoc/proto/xhtml/uvldoc.css b/libs/uvldoc/luasrc/uvldoc/proto/xhtml/uvldoc.css index 2d9d3954d..32a5e96b5 100644 --- a/libs/uvldoc/luasrc/uvldoc/proto/xhtml/uvldoc.css +++ b/libs/uvldoc/luasrc/uvldoc/proto/xhtml/uvldoc.css @@ -67,10 +67,18 @@ div.variable-declaration { padding-left: 2em; } +div.variable-description { + margin-bottom: 1em; +} + h3.section-variables { margin-top: 2em; } +h4.variable-title { + margin-bottom: 0; +} + div#menu { float: left; background-color: #f0f0ff;