[Rt-commit] rt branch, 4.6/core-customrole-visibility, updated. rt-4.4.4-569-g20bd18818a

Blaine Motsinger blaine at bestpractical.com
Thu Dec 26 18:21:45 EST 2019


The branch, 4.6/core-customrole-visibility has been updated
       via  20bd18818afc2644931713f703de691269c42fd7 (commit)
      from  5717dc6fab3609c4c472b393d6333f6ffe3a680d (commit)

Summary of changes:
 share/html/Admin/CustomRoles/Visibility.html | 27 ++++++++++++++++++++-------
 1 file changed, 20 insertions(+), 7 deletions(-)

- Log -----------------------------------------------------------------
commit 20bd18818afc2644931713f703de691269c42fd7
Author: Blaine Motsinger <blaine at bestpractical.com>
Date:   Thu Dec 26 17:19:24 2019 -0600

    Migrate Visibility.html to elevator themes

diff --git a/share/html/Admin/CustomRoles/Visibility.html b/share/html/Admin/CustomRoles/Visibility.html
index f739866dd3..77c937b6e6 100644
--- a/share/html/Admin/CustomRoles/Visibility.html
+++ b/share/html/Admin/CustomRoles/Visibility.html
@@ -53,16 +53,29 @@
 <input type="hidden" class="hidden" name="id" value="<% $id %>" />
 
 <h2><&|/l, $role->Name &>Visibility for [_1]</&></h2>
-<table cellspacing=10>
+
+<div class="col-md-6">
 % for (@pages) {
 %     my ($label, $url) = @$_;
-    <tr>
-        <td align="left"><% $label %></td>
-        <td><label><input type="radio" class="radio" name="hide-<% $url %>" value="0" <% !$hidden{$url} ? qq[checked="checked"] : qq[] |n %>> <&|/l&>show</&></label></td>
-        <td><label><input type="radio" class="radio" name="hide-<% $url %>" value="1" <%  $hidden{$url} ? qq[checked="checked"] : qq[] |n %>> <&|/l&>hide</&></label></td>
-    </tr>
+  <div class="form-row">
+    <div class="col-md-3 label">
+      <&|/l&><% $label %></&>:
+    </div>
+    <div class="col-md-9 value">
+      <div class="form-row">
+        <div class="custom-control custom-radio">
+          <input type="radio" class="custom-control-input" id="show-<% $url %>" name="hide-<% $url %>" value="0" <% !$hidden{$url} ? qq[checked="checked"] : qq[] |n %>>
+          <label class="custom-control-label" for="show-<% $url %>"><&|/l&>show</&></label>
+        </div>
+        <div class="custom-control custom-radio">
+          <input type="radio" class="custom-control-input" id="hide-<% $url %>" name="hide-<% $url %>" value="1" <%  $hidden{$url} ? qq[checked="checked"] : qq[] |n %>>
+          <label class="custom-control-label" for="hide-<% $url %>"><&|/l&>hide</&></label>
+        </div>
+      </div>
+    </div>
+  </div>
 % }
-</table>
+</div>
 
 <& /Elements/Submit, Name => 'Update' &>
 

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


More information about the rt-commit mailing list