From 80e1900b03b2a5315c791f9240f9d7641ae67562 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 20 Jan 2011 00:01:55 +0000 Subject: libs/web: implement sortable rows for uci reordering --- libs/web/luasrc/view/cbi/tblsection.htm | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'libs/web/luasrc/view/cbi') diff --git a/libs/web/luasrc/view/cbi/tblsection.htm b/libs/web/luasrc/view/cbi/tblsection.htm index 7428175838..c79d5a8c87 100644 --- a/libs/web/luasrc/view/cbi/tblsection.htm +++ b/libs/web/luasrc/view/cbi/tblsection.htm @@ -35,6 +35,9 @@ end <% if self.title and #self.title > 0 then -%> <%=self.title%> <%- end %> + <%- if self.sortable then -%> + + <%- end -%>
<%=self.description%>
<%- local count = 0 -%> @@ -91,6 +94,13 @@ end end -%> + <%- if self.sortable then -%> + + <%:Move up%> + <%:Move down%> + + <%- end -%> + <%- if self.extedit or self.addremove then -%> <%- if self.extedit then -%> -- cgit v1.2.3