luci-compat: fix common cbi-page-actions position
authorFlorian Eckert <fe@dev.tdt.de>
Tue, 21 Jun 2022 14:37:28 +0000 (16:37 +0200)
committerFlorian Eckert <fe@dev.tdt.de>
Wed, 3 Aug 2022 07:08:58 +0000 (09:08 +0200)
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>
modules/luci-compat/luasrc/view/cbi/footer.htm

index abcc47b92090c8dda21fe3a58cd865f7863d4bfc..c72102340f550a994763e95fa69f47a254479b1c 100644 (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)%>'" /> <%