[Rt-commit] rt branch, 4.6-theme/admin-customfields-pages, created. rt-4.4.4-225-g1c1b38104

Blaine Motsinger blaine at bestpractical.com
Mon May 20 13:01:50 EDT 2019


The branch, 4.6-theme/admin-customfields-pages has been created
        at  1c1b38104c7d6adf59ca8c9925bafb7abdd994b7 (commit)

- Log -----------------------------------------------------------------
commit ba38c081077a7a3f30107ed896299b6e8a61de4d
Author: Blaine Motsinger <blaine at bestpractical.com>
Date:   Wed May 15 18:32:46 2019 -0500

    Migrate Admin/CustomFields/index to elevator themes

diff --git a/share/html/Admin/CustomFields/index.html b/share/html/Admin/CustomFields/index.html
index b1b01a77b..445cee1c8 100644
--- a/share/html/Admin/CustomFields/index.html
+++ b/share/html/Admin/CustomFields/index.html
@@ -52,21 +52,37 @@
 <h1><% $Type ? loc("Custom Fields for [_1]", $Type) : loc('All Custom Fields') %></h1>
 
 <form action="<%RT->Config->Get('WebPath')%>/Admin/CustomFields/index.html" method="get">
-<&|/l&>Only show custom fields for:</&>
-<select name="Type">
-<option value="" <% !$Type && 'selected="selected"'%> ><% loc('(any)') %></option>
+
+  <div class="form-row">
+    <div class="col-md-auto label">
+      <&|/l&>Only show custom fields for:</&>
+    </div>
+    <div class="col-md-auto value">
+      <select name="Type" class="form-control selectpicker">
+        <option value="" <% !$Type && 'selected="selected"'%> ><% loc('(any)') %></option>
 % for my $type ( $tmp->LookupTypes ) {
-<option value="<% $type %>" <% $type eq $Type && 'selected="selected"'%> ><% $tmp->FriendlyLookupType( $type ) %></option>
+        <option value="<% $type %>" <% $type eq $Type && 'selected="selected"'%> ><% $tmp->FriendlyLookupType( $type ) %></option>
 % }
-</select>
-<br />
-<input type="checkbox" class="checkbox" id="ShowDisabled" name="ShowDisabled" value="1" <% $ShowDisabled && 'checked="checked"' |n %> />
-<label for="ShowDisabled"><&|/l&>Include disabled custom fields in listing.</&></label>
-<br />
+      </select>
+    </div>
+  </div>
+
+  <div class="form-row">
+    <div class="col-md-12">
+      <div class="custom-control custom-checkbox">
+        <input type="checkbox" class="custom-control-input checkbox" id="ShowDisabled" name="ShowDisabled" value="1" <% $ShowDisabled && 'checked="checked"' |n %> />
+        <label class="custom-control-label" for="ShowDisabled"><&|/l&>Include disabled custom fields in listing.</&></label>
+      </div>
+    </div>
+  </div>
 
 % $m->callback(CallbackName => 'BeforeSubmit');
 
-<div align="right"><input type="submit" value="<% loc('Go!') %>" /></div>
+  <div class="form-row">
+    <div class="col-md-12 text-right">
+      <input type="submit" class="form-control btn btn-primary" value="<% loc('Go!') %>" />
+    </div>
+  </div>
 </form>
 
 <& /Elements/CollectionList,

commit a268ff6048b96faae7b58e9bdc4de2f1475c916a
Author: Blaine Motsinger <blaine at bestpractical.com>
Date:   Wed May 15 18:39:54 2019 -0500

    Migrate Admin/CustomFields/GroupRights to elevator themes

diff --git a/share/html/Admin/CustomFields/GroupRights.html b/share/html/Admin/CustomFields/GroupRights.html
index a5c93c373..585077a39 100644
--- a/share/html/Admin/CustomFields/GroupRights.html
+++ b/share/html/Admin/CustomFields/GroupRights.html
@@ -53,7 +53,11 @@
     <input type="hidden" class="hidden" name="id" value="<% $CustomFieldObj->id %>" />
 
     <& /Admin/Elements/EditRights, Context => $CustomFieldObj, Principals => \@principals &>
-    <& /Elements/Submit, Label => loc('Save Changes') &>
+    <div class="form-row">
+      <div class="col-md-12">
+        <& /Elements/Submit, Label => loc('Save Changes') &>
+      </div>
+    </div>
   </form>
 
 <%INIT>

commit 1c1b38104c7d6adf59ca8c9925bafb7abdd994b7
Author: Blaine Motsinger <blaine at bestpractical.com>
Date:   Wed May 15 18:44:17 2019 -0500

    Migrate Admin/CustomFields/UserRights to elevator themes

diff --git a/share/html/Admin/CustomFields/UserRights.html b/share/html/Admin/CustomFields/UserRights.html
index 8dc184ec0..04b0bcb2b 100644
--- a/share/html/Admin/CustomFields/UserRights.html
+++ b/share/html/Admin/CustomFields/UserRights.html
@@ -52,7 +52,11 @@
   <form method="post" action="UserRights.html" name="ModifyUserRights" id="ModifyUserRights">
     <input type="hidden" class="hidden" name="id" value="<% $CustomFieldObj->id %>" />
     <& /Admin/Elements/EditRights, Context => $CustomFieldObj, Principals => \@principals &>
-    <& /Elements/Submit, Label => loc('Save Changes') &>
+    <div class="form-row">
+      <div class="col-md-12">
+        <& /Elements/Submit, Label => loc('Save Changes') &>
+      </div>
+    </div>
   </form>
 <%INIT>
 # Update the acls.

-----------------------------------------------------------------------


More information about the rt-commit mailing list