libs/cbi: Add cross-linking capabilities
This commit is contained in:
parent
15f4fa76d5
commit
fce1109817
2 changed files with 10 additions and 2 deletions
|
@ -14,5 +14,9 @@ $Id$
|
|||
-%>
|
||||
|
||||
<div class="cbi-value" id="cbi-<%=self.config.."-"..section.."-"..self.option%>">
|
||||
<label class="cbi-value-title"<%= attr("for", cbid) %>><%=self.title%></label>
|
||||
<label class="cbi-value-title"<%= attr("for", cbid) %>>
|
||||
<%- if self.titleref then -%><a class="cbi-title-ref" href="<%=self.titleref%>"><%- end -%>
|
||||
<%-=self.title-%>
|
||||
<%- if self.titleref then -%></a><%- end -%>
|
||||
</label>
|
||||
<div class="cbi-value-field">
|
||||
|
|
|
@ -34,7 +34,11 @@ end
|
|||
<th> </th>
|
||||
<%- end -%>
|
||||
<%- for i, k in pairs(self.children) do if not k.optional then -%>
|
||||
<th class="cbi-section-table-cell"><%=k.title%></th>
|
||||
<th class="cbi-section-table-cell">
|
||||
<%- if k.titleref then -%><a class="cbi-title-ref" href="<%=k.titleref%>"><%- end -%>
|
||||
<%-=k.title-%>
|
||||
<%- if k.titleref then -%></a><%- end -%>
|
||||
</th>
|
||||
<%- count = count + 1; end; end; if self.extedit or self.addremove then -%>
|
||||
<th class="cbi-section-table-cell"> </th>
|
||||
<%- count = count + 1; end -%>
|
||||
|
|
Loading…
Reference in a new issue