* Added DHCP page
[project/luci.git] / src / ffluci / view / cbi / tsection.htm
1                                 <div class="cbi-section" id="cbi-<%=self.config%>-<%=self.sectiontype%>">
2                                         <h2><%=self.title%></h2>
3                                         <div class="cbi-section-descr"><%=self.description%></div>
4 <% for k, v in pairs(self:cfgsections()) do%>
5                                                 <% if self.addremove then %><div class="cbi-section-remove right">
6                                                         <input type="submit" name="cbi.rts.<%=self.config%>.<%=k%>" value="<%:cbi_del Eintrag entfernen%>" />
7                                                 </div><% end %>
8                                                 <% if not self.anonymous then %><h3><%=k%></h3><% end %>
9 <% section = k %>
10 <%+cbi/ucisection%>
11 <% end %>
12 <% if self.addremove then %>
13                                         <div class="cbi-section-create">
14                                                 <% if self.anonymous then %>
15                                                         <input type="submit" name="cbi.cts.<%=self.config%>.<%=self.sectiontype%>" value="<%:cbi_add Eintrag hinzufügen%>" />
16                                                 <% else %>
17                                                         <input type="text" class="cbi-section-create-name" name="cbi.cts.<%=self.config%>.<%=self.sectiontype%>" />
18                                                         <input type="submit" value="<%:cbi_add Eintrag hinzufügen%>" />
19                                                 <% end %><% if self.err_invalid then %><div class="cbi-error"><%:cbi_invalid Fehler: Ungültige Eingabe%></div><% end %>
20                                         </div>
21 <% end %>
22                                 </div>