luci-compat: fix common cbi-page-actions position

With legacy applications, the common page actions "Save and Apply" are
not displayed correctly, so that they are not aligned on the right as
with javascript applications. To fix the alignment, the control-group
css class is removed.

This was determined with the application 'luci-app-nft-qos'
with the theme 'luci-theme-bootstrap'.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
Florian Eckert 2022-06-21 16:37:28 +02:00
parent 43cea79a82
commit a70c5705e4

View file

@ -8,7 +8,7 @@
if pageaction and
(display_back or display_skip or display_apply or display_save or display_reset)
then
%><div class="cbi-page-actions control-group"><%
%><div class="cbi-page-actions"><%
if display_back then
%><input class="btn cbi-button cbi-button-link" type="button" value="<%:Back to Overview%>" onclick="location.href='<%=pcdata(redirect)%>'" /> <%