mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-10 07:26:01 -06:00
Hide Radio buttons that should not be shown on the maintenance dialogue.
This commit is contained in:
parent
c80b91876a
commit
0100997aab
@ -1736,3 +1736,9 @@ body {
|
||||
background-position-x: center;
|
||||
background-position-y: center;
|
||||
}
|
||||
|
||||
.pgadmin-controls-radio-none {
|
||||
& input[type="radio"] {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
@ -81,7 +81,7 @@ define([
|
||||
control: Backform.RadioControl.extend({
|
||||
template: _.template([
|
||||
'<label class="control-label col-sm-4 col-12"><%=label%></label>',
|
||||
'<div class="pgadmin-controls col-12 col-sm-8 btn-group pg-maintenance-op" data-toggle="buttons">',
|
||||
'<div class="pgadmin-controls col-12 col-sm-8 btn-group pg-maintenance-op pgadmin-controls-radio-none" data-toggle="buttons">',
|
||||
' <% for (var i=0; i < options.length; i++) { %>',
|
||||
' <% var option = options[i]; %>',
|
||||
' <label class="btn btn-primary<% if (i == 0) { %> active<%}%>">',
|
||||
|
Loading…
Reference in New Issue
Block a user