]> git.sur5r.net Git - bacula/bacula/commitdiff
baculum: Fix auth setting radio buttons alignement
authorMarcin Haba <marcin.haba@bacula.pl>
Mon, 27 Nov 2017 20:49:26 +0000 (21:49 +0100)
committerKern Sibbald <kern@sibbald.com>
Sat, 9 Dec 2017 14:06:14 +0000 (15:06 +0100)
gui/baculum/protected/Common/Portlets/NewHost.tpl
gui/baculum/themes/Baculum-v1/style.css

index ebb7e34acbb0aa7d5477d844f205f25df5d87a94..9858d938d4379acee80fdbf0793ff29faefa5d55 100644 (file)
                        <com:TRequiredFieldValidator ValidationGroup="NewHostGroup" CssClass="validator-block" Display="Dynamic" ControlCssClass="invalidate" ControlToValidate="APIPort" Text="<%[ Please enter API port. ]%>" />
                </div>
        </div>
-       <div class="line">
-               <com:TRadioButton
-                       ID="AuthOAuth2"
-                       GroupName="SelectAuth"
-                       Attributes.onclick="$('#configure_basic_auth').hide();$('#configure_oauth2_auth').show();"
-               />
-               <com:TLabel
-                       ForControl="AuthOAuth2"
-                       CssClass="normal"
-                       Text="<%[ Use OAuth2 for authorization and authentication ]%>"
-               />
-       </div>
-       <div class="line">
-               <com:TRadioButton
-                       ID="AuthBasic"
-                       GroupName="SelectAuth"
-                       Checked="true"
-                       Attributes.onclick="$('#configure_oauth2_auth').hide();$('#configure_basic_auth').show();"
-               />
-               <com:TLabel
-                       ForControl="AuthBasic"
-                       CssClass="normal"
-                       Text="<%[ Use HTTP Basic authentication ]%>"
-               />
+       <div class="auth_setting">
+               <div class="line left">
+                       <com:TRadioButton
+                               ID="AuthOAuth2"
+                               GroupName="SelectAuth"
+                               Attributes.onclick="$('#configure_basic_auth').hide();$('#configure_oauth2_auth').show();"
+                       />
+                       <com:TLabel
+                               ForControl="AuthOAuth2"
+                               CssClass="normal"
+                               Text="<%[ Use OAuth2 for authorization and authentication ]%>"
+                       />
+               </div>
+               <div class="line left">
+                       <com:TRadioButton
+                               ID="AuthBasic"
+                               GroupName="SelectAuth"
+                               Checked="true"
+                               Attributes.onclick="$('#configure_oauth2_auth').hide();$('#configure_basic_auth').show();"
+                       />
+                       <com:TLabel
+                               ForControl="AuthBasic"
+                               CssClass="normal"
+                               Text="<%[ Use HTTP Basic authentication ]%>"
+                       />
+               </div>
        </div>
        <div id="configure_basic_auth" style="display: <%=($this->AuthBasic->Checked === true) ? '' : 'none';%>">
                <div class="line">
index 7f6234296fa8043ee2ae6d12ea02ddec2371a42a..535ca19238a602b9205dbdfa0bd00f4a972ca114 100644 (file)
@@ -1249,3 +1249,12 @@ label.normal {
        word-wrap: break-word;
 }
 /* END Overwrite opentip styles */
+
+.auth_setting {
+       width: 660px;
+       margin: 0 auto;
+}
+
+#config .auth_setting {
+       margin: 0 !important;
+}