0
0
mirror of https://github.com/openwrt/luci.git synced 2025-02-23 14:46:18 +00:00
Florian Eckert 133a1ae3f4 luci-compat: add btn class to all button inputs
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-07-20 16:23:46 +02:00

20 lines
865 B
HTML

<div class="cbi-map" id="cbi-<%=self.config%>">
<% if self.title and #self.title > 0 then %><h2 name="content"><%=self.title%></h2><% end %>
<% if self.description and #self.description > 0 then %><div class="cbi-map-descr"><%=self.description%></div><% end %>
<p class="alert-message danger">
<%: The configuration file could not be loaded due to the following error: %><br />
<code><%=pcdata(self.error)%></code>
</p>
<textarea name="cbi.source" style="width:100%; margin-bottom:1em" rows="<%=math.max(self.source:cmatch("\n"), 10)%>"><%=pcdata(self.source)%></textarea>
<p class="alert-message">
<%: Edit the raw configuration data above to fix any error and hit "Save" to reload the page. %>
</p>
<div class="cbi-page-actions">
<input class="btn cbi-button cbi-button-apply" type="submit" name="cbi.save" value="<%:Save%>" />
</div>
</div>