diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-07-20 18:05:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-20 18:05:31 +0200 |
commit | 848fa6effdeeb8d6205f5975039d04678fc7c113 (patch) | |
tree | b1c26a25d6c4a59b877212e6b52df11abb6dacbb /modules/luci-compat/luasrc/view/cbi/simpleform.htm | |
parent | 7edd635026594da577b73f059c0d8b95d653f8fc (diff) | |
parent | 133a1ae3f4293dce5063bab43e3aecfdd92d889e (diff) |
Merge pull request #4275 from TDT-AG/pr/20200720-luci-compat
luci-compat: add btn class to all button inputs
Diffstat (limited to 'modules/luci-compat/luasrc/view/cbi/simpleform.htm')
-rw-r--r-- | modules/luci-compat/luasrc/view/cbi/simpleform.htm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/luci-compat/luasrc/view/cbi/simpleform.htm b/modules/luci-compat/luasrc/view/cbi/simpleform.htm index 3e10724ec5..9e1514546e 100644 --- a/modules/luci-compat/luasrc/view/cbi/simpleform.htm +++ b/modules/luci-compat/luasrc/view/cbi/simpleform.htm @@ -45,26 +45,26 @@ %><div class="cbi-page-actions"><% if display_back then - %><input class="cbi-button cbi-button-link" type="button" value="<%:Back to Overview%>" onclick="location.href='<%=pcdata(redirect)%>'" /> <% + %><input class="btn cbi-button cbi-button-link" type="button" value="<%:Back to Overview%>" onclick="location.href='<%=pcdata(redirect)%>'" /> <% end if display_cancel then local label = pcdata(self.cancel or translate("Cancel")) - %><input class="cbi-button cbi-button-link" type="button" value="<%=label%>" onclick="cbi_submit(this, 'cbi.cancel')" /> <% + %><input class="btn cbi-button cbi-button-link" type="button" value="<%=label%>" onclick="cbi_submit(this, 'cbi.cancel')" /> <% end if display_skip then - %><input class="cbi-button cbi-button-neutral" type="button" value="<%:Skip%>" onclick="cbi_submit(this, 'cbi.skip')" /> <% + %><input class="btn cbi-button cbi-button-neutral" type="button" value="<%:Skip%>" onclick="cbi_submit(this, 'cbi.skip')" /> <% end if display_submit then local label = pcdata(self.submit or translate("Submit")) - %><input class="cbi-button cbi-button-save" type="submit" value="<%=label%>" /> <% + %><input class="btn cbi-button cbi-button-save" type="submit" value="<%=label%>" /> <% end if display_reset then local label = pcdata(self.reset or translate("Reset")) - %><input class="cbi-button cbi-button-reset" type="reset" value="<%=label%>" /> <% + %><input class="btn cbi-button cbi-button-reset" type="reset" value="<%=label%>" /> <% end %></div><% |