projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
libs/web: add missing cells to tblsection template
[project/luci.git]
/
libs
/
web
/
luasrc
/
view
/
cbi
/
tblsection.htm
diff --git
a/libs/web/luasrc/view/cbi/tblsection.htm
b/libs/web/luasrc/view/cbi/tblsection.htm
index
c79d5a8
..
6321446
100644
(file)
--- a/
libs/web/luasrc/view/cbi/tblsection.htm
+++ b/
libs/web/luasrc/view/cbi/tblsection.htm
@@
-56,7
+56,9
@@
end
<%-=k.title-%>
<%- if k.titleref then -%></a><%- end -%>
</th>
<%-=k.title-%>
<%- if k.titleref then -%></a><%- end -%>
</th>
- <%- count = count + 1; end; end; if self.extedit or self.addremove then -%>
+ <%- count = count + 1; end; end; if self.sortable then -%>
+ <th class="cbi-section-table-cell"><%:Sort%></th>
+ <%- end; if self.extedit or self.addremove then -%>
<th class="cbi-section-table-cell"> </th>
<%- count = count + 1; end -%>
</tr>
<th class="cbi-section-table-cell"> </th>
<%- count = count + 1; end -%>
</tr>
@@
-70,7
+72,9
@@
end
<%- end -%>
<%- for i, k in pairs(self.children) do if not k.optional then -%>
<th class="cbi-section-table-cell"<%=width(k)%>><%=k.description%></th>
<%- end -%>
<%- for i, k in pairs(self.children) do if not k.optional then -%>
<th class="cbi-section-table-cell"<%=width(k)%>><%=k.description%></th>
- <%- end; end; if self.extedit or self.addremove then -%>
+ <%- end; end; if self.sortable then -%>
+ <th class="cbi-section-table-cell"></th>
+ <%- end; if self.extedit or self.addremove then -%>
<th class="cbi-section-table-cell"></th>
<%- end -%>
</tr>
<th class="cbi-section-table-cell"></th>
<%- end -%>
</tr>