mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Add MLVPN interface
This commit is contained in:
parent
8d5452c810
commit
c9a0334afe
7 changed files with 121 additions and 12 deletions
10
luci-app-mlvpn/luasrc/view/mlvpn/cbi-select-add.htm
Normal file
10
luci-app-mlvpn/luasrc/view/mlvpn/cbi-select-add.htm
Normal file
|
@ -0,0 +1,10 @@
|
|||
<div class="cbi-section-create">
|
||||
<% if self.invalid_cts then -%><div class="cbi-section-error"><% end %>
|
||||
<select class="cbi-section-create-name" name="cbi.cts.<%=self.config%>.<%=self.sectiontype%>.select">
|
||||
<%- for k, v in luci.util.kspairs(self.add_select_options) do %>
|
||||
<option value="<%=k%>"><%=luci.util.pcdata(v)%></option>
|
||||
<% end -%>
|
||||
</select>
|
||||
<input class="cbi-button cbi-button-add" type="submit" value="<%:Add%>" title="<%:Add%>" />
|
||||
<% if self.invalid_cts then %><br /><%:Invalid%></div><% end %>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue