[Rt-commit] rt branch, 4.6-theme/admin-global-pages, repushed
Craig Kaiser
craig at bestpractical.com
Thu May 9 15:35:04 EDT 2019
The branch 4.6-theme/admin-global-pages was deleted and repushed:
was f112aaec97245df66bcfcebfc3e105798dbd557f
now eff85ac9861ddf72d00209bc53c7af2f96079416
1: 7f13f0055 = 1: 7f13f0055 Allow for multiple base themes by avoiding showing any to the user
2: 0ce97154b = 2: 0ce97154b Add unaltered copies of base and rudder themes to make responsive
3: 565e91062 = 3: 565e91062 rudder-responsive imports base-responsive rather than base
4: c151cf258 = 4: c151cf258 Make boxcontainer padding rules less demanding
5: 45e22b27c = 5: 45e22b27c Make RT at a glance two-column layout responsive
6: 66a41a296 = 6: 66a41a296 Improve whitespace around content for rudder-responsive
7: f0df65c03 = 7: f0df65c03 Generalize the two-column layout markup
8: 4a2814fdb = 8: 4a2814fdb Add a grid system
9: b7008bcd8 = 9: b7008bcd8 Make ticket display ShowSummary responsive
10: 2a14260d4 = 10: 2a14260d4 Make search field really narrow on narrow screens
11: 050d2b466 = 11: 050d2b466 Make the "new ticket in" and queue selector responsive
12: 7293efce0 = 12: 7293efce0 Narrow gap between new ticket and search fields on narrow screens
13: 26d3640d3 = 13: 26d3640d3 Display more of the title when the page is narrow
14: 743fca5fe = 14: 743fca5fe On narrow screens pop up a modal for selecting ticket queue
15: fc435d351 = 15: fc435d351 Hide "RT for example.com" on narrow screens
16: c12f7a2fd = 16: c12f7a2fd Eliminate history display's margin-left on narrow screens
17: 031767c67 = 17: 031767c67 On very narrow screens, zero out body padding
18: a70a12eb8 = 18: a70a12eb8 Get rid of horizontal padding on ticket history on narrow screens
19: ed77add0f = 19: ed77add0f Collapse padding at a wider (700px) viewport
20: bf6072713 = 20: bf6072713 Prevent reminders from breaking layout with its long text field
21: 3bf0b2783 = 21: 3bf0b2783 Convert Links table to have .fields/.field using table CSS
22: ef390831d = 22: ef390831d Improve styling of links for small screens
23: 9e0e238dc = 23: 9e0e238dc Don't wrap labels
24: abde98f8c = 24: abde98f8c Limit the breakdown of fields tables to just "wide" ones
25: a036b7218 = 25: a036b7218 Convert basics, dates, and people groupings away from tables
26: 18410558f = 26: 18410558f Add margin-left to <li>s within a wide fields table that breaks
27: abe679392 = 27: abe679392 Make padding on field names more consistent
28: 4535278a7 = 28: 4535278a7 Convert new reminder form from table to fields
29: 902013336 = 29: 902013336 Improve rendering of ticket update page
30: b83145a17 = 30: b83145a17 Add messagedetails to jumbo page titlebox
31: b30e4e3be = 31: b30e4e3be Improve display of reminders table and form
32: a3debdb88 = 32: a3debdb88 Avoid breaking layout with new reminder subject
33: a4ec31340 = 33: a4ec31340 Remove minimum height from titleboxes
34: 9e2e9f847 = 34: 9e2e9f847 Restore original titlebox padding rule but only for fields
35: f048c2714 = 35: f048c2714 Remove spurious <br> tag
36: 14bd5afdb = 36: 14bd5afdb Switch ticket update from tables to fields
37: b6076f108 = 37: b6076f108 Linearize ticket update form on narrow widths
38: 9847f9464 = 38: 9847f9464 Make update form take up 100% of the titlebox
39: 3f12ac4ab = 39: 3f12ac4ab Fix reply cc/bcc/subject fields to be 100% width
40: 7d903afc9 = 40: 7d903afc9 Rename .crypto to .empty to better explain what it's for
41: 0b1e7df31 = 41: 0b1e7df31 Make ticket create responsive
42: 21b722a26 = 42: 21b722a26 First pass at responsive for SelfService/Create
43: a5c7652c3 = 43: a5c7652c3 First pass at responsive for SelfService/Update
44: 8b58c4a15 = 44: 8b58c4a15 Remove AsTable from Edit CFs
45: 921d72c94 = 45: 921d72c94 Remove these pre-responsive CF edit styles
46: f5bcb7577 = 46: f5bcb7577 Wrap selfservice update form in a titlebox
47: 94e44ea62 = 47: 94e44ea62 Wrap selfservice create form in a titlebox
48: efe3f52d3 = 48: efe3f52d3 Convert selfservice display to responsive
49: fc80f17b7 = 49: fc80f17b7 Switch ShowCustomFields from table to fields
50: d26da2aa1 = 50: d26da2aa1 Fix transaction actions overlapping description
51: 726ff3ed2 = 51: 726ff3ed2 Switch QuickCreate from table to fields
52: 1dac409ae = 52: 1dac409ae Improve whitespace around fields
53: f99594d6b = 53: f99594d6b Improve padding and spacing on forms
54: 9b94580d3 = 54: 9b94580d3 Have searches use the full width of the viewport
55: df8c440d3 = 55: df8c440d3 Make login box more responsive
56: 6c19bf649 = 56: 6c19bf649 Add missing type="text" for login username input
57: ff38918b6 = 57: ff38918b6 Improve form rendering for Mobile Safari
58: bc548a5bb = 58: bc548a5bb Separate existing reminders from create form with hr only if there are reminders
59: 3d16535fd = 59: 3d16535fd Remove unnecessary margin-top on collection tables
60: a6e560500 = 60: a6e560500 Fix save button on ticket reminders to not use inline style
61: 33e559e98 = 61: 33e559e98 Fix error result background color for rudder
62: 6366d835d = 62: 6366d835d Make QueueList take up the full width
63: 753b2e278 = 63: 753b2e278 Give rudder the responsive viewport meta tag
64: 96258f3a2 = 64: 96258f3a2 Turn off autocapitalize on usernames
65: b738946b7 = 65: b738946b7 Don't let users select the "drop files here" dropzone text
66: ed9896623 = 66: ed9896623 Improve error transaction colors
67: fc2c7dd24 = 67: fc2c7dd24 Replace ShowAttachments's <font size="-2"> with CSS
68: 0ed134c2a = 68: 0ed134c2a Word-break very (perhaps maliciously) long attachment names
69: 329257c04 = 69: 329257c04 Limit the width of quickcreate since it looks silly when very very wide
70: 7e8fc73fa = 70: 7e8fc73fa Use full width for MyReminders table
71: 5acf57a6e = 71: 5acf57a6e Fix Modify Basics to be div.fields rather than table
72: 13b9aa7be = 72: 13b9aa7be Add missing type="text" to more input fields
73: 37a3c8190 = 73: 37a3c8190 Avoid menulist-button styling for multi-row select boxes
74: 76ebbf037 = 74: 76ebbf037 Middle valign fields
75: abd46fe43 = 75: abd46fe43 Convert EditPeople from nested tables to responsive
76: 6b1ed3291 = 76: 6b1ed3291 Load the correct version of msie.css
77: 55f62d910 = 77: 55f62d910 Add a BeforeNav stylesheet plugin
78: 713ae954b = 78: 713ae954b Make menus overflow into a "More" item on narrow viewports
79: 0817597f0 = 79: 0817597f0 Remove hyperlink behavior from top-level More menu items
80: 51ff61b95 = 80: 51ff61b95 Add type attribute to many input fields that were missing it
81: 9920a2bae = 81: 9920a2bae Fix css rule for one-time cc etc becoming email fields
82: 639ec0a0a = 82: 639ec0a0a Switch new ticket create popup to a list of links rather than a select
83: 263260d84 = 83: 263260d84 Fix a regression on legacy themes with CF edit panels
84: e7a24762e = 84: e7a24762e Override 400px width of jquery modals
85: d05db9319 = 85: d05db9319 Fix quick create on narrow screens
86: 1ce3e7535 = 86: 1ce3e7535 Fix width regression with quickcreate requestor field
87: 0bdd6b928 = 87: 0bdd6b928 Switch AddLinks from tables to fields
88: de71b019f = 88: de71b019f Improve rendering of date editing form
89: 7e88d621b = 89: 7e88d621b Improve padding to be more consistent
90: 15dd4d5e1 = 90: 15dd4d5e1 Make modify links use fluid two-column layout
91: 4bb74ee24 = 91: 4bb74ee24 Improve edit links to use fields instead of a table
92: 71adf4d59 = 92: 71adf4d59 Convert merge from table to fields
93: 8bed2a517 = 93: 8bed2a517 Use the same nomenclature "Message" not "Content" for jumbo
94: 821af7169 = 94: 821af7169 Switch Jumbo reply panel from table to fields
95: 451b94ebf = 95: 451b94ebf Jumbo: Wrap both basic fields and custom fields in a single fields table
96: 8e0edb097 = 96: 8e0edb097 Make message form on Jumbo more consistent
97: 3410d1f86 = 97: 3410d1f86 Make simple search form more responsive
98: ac878afd0 = 98: ac878afd0 Fix rudder-responsive getting bottom border radius
99: ee6fd153c = 99: ee6fd153c Remove margin-right from titleboxes in rudder-responsive
100: 19e92fb58 = 100: 19e92fb58 Improve design of more about requestors panel
101: 0795549da = 101: 0795549da Make user prefs page responsive to small screens
102: 3142b6f1e = 102: 3142b6f1e Remove 20em width from ticket subject on basics
103: d2c34c901 = 103: d2c34c901 Wrap forward message in a titlebox
104: e93736f6e = 104: e93736f6e Switch forward from table to fields
105: 865306bb5 = 105: 865306bb5 Fix "more about requestors" overlap
106: a91ad6b41 = 106: a91ad6b41 Update tests for the responsive HTML change
107: 309321394 = 107: 309321394 Fix Nav tweaking for installer mode
108: 5d80cac56 = 108: 5d80cac56 Initial elevator theme, copied from rudder-responsive
109: 9e2710667 = 109: 9e2710667 Add popper.js 1.14.6 dependency
110: d5361e4f8 = 110: d5361e4f8 Add bootstrap 4.2.1 dependency
111: ce6db31de = 111: ce6db31de Add missing "field" css class for Started field
112: 18b4c17ed = 112: 18b4c17ed Get rid of strikethrough in menu
113: 2c1913cea = 113: 2c1913cea Fix h1 position to make it vertically centered
114: 16a290165 = 114: 16a290165 Fix results position to make it vertically centered
115: fa1eddb07 = 115: fa1eddb07 Drop the incomplete rudder-responsive theme
116: 30c74df65 = 116: 30c74df65 Update copyright to 2019 for new added theme related files
117: 8202a7ed6 = 117: 8202a7ed6 Initial elevator-dark theme
118: 6e8c418d2 = 118: 6e8c418d2 Add bootstrap-select 1.13.7 dependency
119: 65a2b8e72 = 119: 65a2b8e72 Switch to bootstrap styled table
120: d3c438a8c = 120: d3c438a8c Switch to bootstrap card for titleboxes
121: 19983ce0c = 121: 19983ce0c Add %ThemeJSFiles config to serve different js for different themes
122: c20ba1ee1 = 122: c20ba1ee1 Migrate search builder for elevator themes
123: c381b52d6 = 123: c381b52d6 Migrate homepage to elevator themes
124: 2b95d7c55 = 124: 2b95d7c55 Add bootstrap-combobox 1.2.0 dependency
125: 16785047a = 125: 16785047a Migrate cf edit components to elevator themes
126: 3434d9955 = 126: 3434d9955 Migrate ticket modify pages to elevator themes
127: 036a37888 ! 127: 3287cf808 Migrate Reports pages to elevator themes
@@ -1,117 +1,6 @@
Author: Craig Kaiser <craig at bestpractical.com>
Migrate Reports pages to elevator themes
-
-diff --git a/share/html/Admin/Elements/EditRights b/share/html/Admin/Elements/EditRights
---- a/share/html/Admin/Elements/EditRights
-+++ b/share/html/Admin/Elements/EditRights
-@@
-
- <div class="rights-editor clearfix">
- <input type="hidden" value="" name="Anchor" />
--
- <ul>
- <%perl>
- for my $category (@$Principals) {
-@@
- <li class="category"><&|/l, loc($AddPrincipal) &>Add [_1]</&></li>
- <li class="addprincipal">
- <a href="#acl-AddPrincipal">
-- <input type="text" value=""
-+ <input type="text" value="" class="form-control"
- data-autocomplete="<% lc $AddPrincipal eq 'user' ? 'Users' : 'Groups' %>"
- % if ( lc $AddPrincipal eq 'user' ) {
- data-autocomplete-return="Name"
-
-diff --git a/share/html/Admin/Elements/EditRightsCategoryTabs b/share/html/Admin/Elements/EditRightsCategoryTabs
---- a/share/html/Admin/Elements/EditRightsCategoryTabs
-+++ b/share/html/Admin/Elements/EditRightsCategoryTabs
-@@
- <div class="category-tabs">
- <ul>
- % for my $category (sort { $catsort{$a} <=> $catsort{$b} } keys %categories) {
-- <li><a href="#<% "$id-$category" %>"><span class="rights-editor-label" id="<% "category-tab-$id-$category" %>"><% $category_desc{$category} || loc($category) %></span></a></li>
-+ <li><a href="#<% "$id-$category" %>"><span class="current-value form-control rights-editor-label" id="<% "category-tab-$id-$category" %>"><% $category_desc{$category} || loc($category) %></span></a></li>
- % }
- </ul>
- % for my $category (sort { $catsort{$a} <=> $catsort{$b} } keys %categories) {
-- <div id="<% "$id-$category" %>">
-+ <div id="<% "$id-$category" %>" class="col-md-12">
- <ul class="rights-list">
- % for my $right (sort { $available_rights{$a} cmp $available_rights{$b} } @{$categories{$category}}) {
-- <li>
-- <input
-- type="checkbox"
-- class="checkbox"
-- name="SetRights-<% $acldesc %>"
-- id="SetRights-<% $acldesc %>-<% $right %>"
-- value="<% $right %>"
-- data-category-tab="<% "category-tab-$id-$category" %>"
-- data-principal-tab="<% "principal-tab-$id" %>"
-- <% $current_rights{$right} ? 'checked' : '' %>
-- />
-- <label for="SetRights-<% $acldesc %>-<% $right %>" title="<% $right %>">
-- <% $available_rights{$right} %>
-- <span class="separator">—</span>
-- <span class="rightname"><% $right %></span>
-- </label>
-- </li>
-+ <li>
-+ <div class="custom-control custom-checkbox">
-+ <input
-+ type="checkbox"
-+ class="custom-control-input"
-+ name="SetRights-<% $acldesc %>"
-+ id="SetRights-<% $acldesc %>-<% $right %>"
-+ value="<% $right %>"
-+ data-category-tab="<% "category-tab-$id-$category" %>"
-+ data-principal-tab="<% "principal-tab-$id" %>"
-+ <% $current_rights{$right} ? 'checked' : '' %>
-+ />
-+ <label class="custom-control-label" for="SetRights-<% $acldesc %>-<% $right %>" title="<% $right %>">
-+ <% $available_rights{$right} %>
-+ <span class="separator">—</span>
-+ <span class="rightname"><% $right %></span>
-+ </label>
-+ </div>
-+ </li>
- % }
- </ul>
- </div>
-
-diff --git a/share/html/Admin/Global/GroupRights.html b/share/html/Admin/Global/GroupRights.html
---- a/share/html/Admin/Global/GroupRights.html
-+++ b/share/html/Admin/Global/GroupRights.html
-@@
-
- <form method="post" action="GroupRights.html" id="ModifyGroupRights" name="ModifyGroupRights">
- <& /Admin/Elements/EditRights, Context => $RT::System, 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>
-
-diff --git a/share/html/Admin/Global/UserRights.html b/share/html/Admin/Global/UserRights.html
---- a/share/html/Admin/Global/UserRights.html
-+++ b/share/html/Admin/Global/UserRights.html
-@@
-
- <form method="post" action="UserRights.html" name="ModifyUserRights" id="ModifyUserRights">
- <& /Admin/Elements/EditRights, Context => $RT::System, 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>
- my @results = ProcessACLs(\%ARGS);
diff --git a/share/html/Reports/CreatedByDates.html b/share/html/Reports/CreatedByDates.html
--- a/share/html/Reports/CreatedByDates.html
128: 2a00627dd < ---: ------- Migrate global MyRT page to elevator theme
129: 500e72b06 < ---: ------- Migrate DashboardsInMenu page to elevator theme
---: ------- > 128: 3f195b209 Migrate Admin/Global rights pages to elevator theme
130: f25a9e548 ! 129: 7d622af21 Migrate Global/Admin/Articles to elevator theme
@@ -1,6 +1,6 @@
Author: Craig Kaiser <craig at bestpractical.com>
- Migrate Topics page to elevator theme
+ Migrate Global/Admin/Articles to elevator theme
diff --git a/share/html/Admin/Articles/Elements/Topics b/share/html/Admin/Articles/Elements/Topics
--- a/share/html/Admin/Articles/Elements/Topics
131: f112aaec9 ! 130: 402bac9e3 Migrate Admin/Custom Fields/Modify pages to elevator theme
@@ -1,23 +1,6 @@
Author: Craig Kaiser <craig at bestpractical.com>
- Migrate global custom field pages to elevator pages
-
-diff --git a/share/html/Admin/CustomFields/GroupRights.html b/share/html/Admin/CustomFields/GroupRights.html
---- a/share/html/Admin/CustomFields/GroupRights.html
-+++ b/share/html/Admin/CustomFields/GroupRights.html
-@@
- <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>
+ Migrate Admin/Custom Fields/Modify pages to elevator theme
diff --git a/share/html/Admin/CustomFields/Modify.html b/share/html/Admin/CustomFields/Modify.html
--- a/share/html/Admin/CustomFields/Modify.html
@@ -430,6 +413,11 @@
--- a/share/html/Admin/Elements/EditCustomField
+++ b/share/html/Admin/Elements/EditCustomField
@@
+ %# END BPS TAGGED BLOCK }}}
+ <& /Elements/ListActions, actions => \@results &>
+
+-
+ <form method="post" action="CustomField.html">
<input type="hidden" class="hidden" name="CustomField" value="<%$id %>" />
<input type="hidden" class="hidden" name="Queue" value="<%$Queue%>" />
@@ -451,44 +439,42 @@
-</td></tr>
-<tr><td>
-</td><td>
--<input type="hidden" class="hidden" name="SetEnabled" value="1" />
++<div class="form-row">
++ <div class="col-md-3 label>
++ <&|/l&>Name</&>:
++ <div>
++ <div class="value col-md-9">
++ <input class="form-control" type="text" name="Name" value="<%$CustomFieldObj->Name%>" size="20" />
++ </div>
++</div>
++
++<div class="form-row">
++ <div class="col-md-3 label>
++ <&|/l&>Description</&>:
++ </div>
++ <div class="value col-md-9">
++ <input class="form-control" type="text" name="Description" value="<%$CustomFieldObj->Description%>" size="80" />
++ </div>
++</div>
++
++<div class="form-row">
++ <div class="col-md-3 label>
++ <&|/l&>Type</&>:
++ </div>
++ <div class="value col-md-9">
++ <& /Admin/Elements/SelectCustomFieldType, Name => "Type", Default => $CustomFieldObj->Type &>
++ </div>
++</div>
++
+ <input type="hidden" class="hidden" name="SetEnabled" value="1" />
-<input type="checkbox" class="checkbox" id="Enabled" name="Enabled" value="1" <%$EnabledChecked%> />
-<label for="Enabled"><&|/l&>Enabled (Unchecking this box disables this custom field)</&></label>
-</td></tr>
-</table>
-+<div class="col-md-12">
-+ <div class="form-row">
-+ <div class="col-md-3 label>
-+ <&|/l&>Name</&>:
-+ <div>
-+ <div class="value col-md-9">
-+ <input class="form-control" type="text" name="Name" value="<%$CustomFieldObj->Name%>" size="20" />
-+ </div>
-+ </div>
-+
-+ <div class="form-row">
-+ <div class="col-md-3 label>
-+ <&|/l&>Description</&>:
-+ </div>
-+ <div class="value col-md-9">
-+ <input class="form-control" type="text" name="Description" value="<%$CustomFieldObj->Description%>" size="80" />
-+ </div>
-+ </div>
-+
-+ <div class="form-row">
-+ <div class="col-md-3 label>
-+ <&|/l&>Type</&>:
-+ </div>
-+ <div class="value col-md-9">
-+ <& /Admin/Elements/SelectCustomFieldType, Name => "Type", Default => $CustomFieldObj->Type &>
-+ </div>
-+ </div>
-+
-+ <input type="hidden" class="hidden" name="SetEnabled" value="1" />
-+ <div class="custom-control custom-checkbox">
-+ <input type="checkbox" class="custom-control-input checkbox" id="Enabled" name="Enabled" value="1" <%$EnabledChecked%> />
-+ <label class="custom-control-label" for="Enabled"><&|/l&>Enabled (Unchecking this box disables this custom field)</&></label>
-+ </div>
++<div class="custom-control custom-checkbox">
++ <input type="checkbox" class="custom-control-input checkbox" id="Enabled" name="Enabled" value="1" <%$EnabledChecked%> />
++ <label class="custom-control-label" for="Enabled"><&|/l&>Enabled (Unchecking this box disables this custom field)</&></label>
++</div>
<p>
% if ($CustomFieldObj->Id and $CustomFieldObj->Type =~ /Select/) {
@@ -612,102 +598,6 @@
<option value="<% $source->{'Class'} %>" <% $source->{'Class'} eq $CustomField->ValuesClass && 'selected="selected"' %>><% $source->{'Description'} %></option>
% }
-diff --git a/share/html/Admin/Elements/EditRights b/share/html/Admin/Elements/EditRights
---- a/share/html/Admin/Elements/EditRights
-+++ b/share/html/Admin/Elements/EditRights
-@@
-
- <div class="rights-editor clearfix">
- <input type="hidden" value="" name="Anchor" />
-- <ul>
-+ <ul class="list-group">
- <%perl>
- for my $category (@$Principals) {
- my ($name, $collection, $col, $loc) = @$category;
- </%perl>
--<li class="category"><% loc($name) %></li>
-+<li class="category list-group-item"><% loc($name) %></li>
- <%perl>
- while ( my $obj = $collection->Next ) {
- my $display = ref $col eq 'CODE' ? $col->($obj) : $obj->$col;
- my $id = "acl-" . $obj->PrincipalId;
- </%perl>
--<li><a href="#<% $id %>"><span class="rights-editor-label" id="<% "principal-tab-$id" %>"><% $loc ? loc($display) : $display %></span></a></li>
-+<li class="list-group-item"><a href="#<% $id %>"><span class="rights-editor-label" id="<% "principal-tab-$id" %>"><% $loc ? loc($display) : $display %></span></a></li>
- <%perl>
- }
- }
- </%perl>
- % if ( $AddPrincipal ) {
-- <li class="category"><&|/l, loc($AddPrincipal) &>Add [_1]</&></li>
-- <li class="addprincipal">
-+ <li class="category list-group-item"><&|/l, loc($AddPrincipal) &>Add [_1]</&></li>
-+ <li class="addprincipal list-group-item">
- <a href="#acl-AddPrincipal">
-- <input type="text" value="" class="form-control"
-+ <input type="text" class="" value="" class="form-control"
- data-autocomplete="<% lc $AddPrincipal eq 'user' ? 'Users' : 'Groups' %>"
- % if ( lc $AddPrincipal eq 'user' ) {
- data-autocomplete-return="Name"
-@@
- my $id = "acl-" . $obj->PrincipalId;
- </%perl>
-
-- <div id="<% $id %>">
-+ <div id="<% $id %>" class="col-md-12">
- <h3>
- <% $loc ? loc($display) : $display %>
- <%perl>
-
-diff --git a/share/html/Admin/Elements/EditRightsCategoryTabs b/share/html/Admin/Elements/EditRightsCategoryTabs
---- a/share/html/Admin/Elements/EditRightsCategoryTabs
-+++ b/share/html/Admin/Elements/EditRightsCategoryTabs
-@@
- $available_rights{$_} = loc( $available_rights{$_} ) for keys %available_rights;
- </%init>
- <div class="category-tabs">
-- <ul>
-+ <ul class="list-group-compact">
- % for my $category (sort { $catsort{$a} <=> $catsort{$b} } keys %categories) {
-- <li><a href="#<% "$id-$category" %>"><span class="current-value form-control rights-editor-label" id="<% "category-tab-$id-$category" %>"><% $category_desc{$category} || loc($category) %></span></a></li>
-+ <li class="list-group-item"><a href="#<% "$id-$category" %>"><span class="current-value form-control rights-editor-label" id="<% "category-tab-$id-$category" %>"><% $category_desc{$category} || loc($category) %></span></a></li>
- % }
- </ul>
- % for my $category (sort { $catsort{$a} <=> $catsort{$b} } keys %categories) {
- <div id="<% "$id-$category" %>" class="col-md-12">
-- <ul class="rights-list">
-+ <ul class="rights-list list-group">
- % for my $right (sort { $available_rights{$a} cmp $available_rights{$b} } @{$categories{$category}}) {
-- <li>
-+ <li class="list-group-item">
- <div class="custom-control custom-checkbox">
- <input
- type="checkbox"
-@@
- />
- <label class="custom-control-label" for="SetRights-<% $acldesc %>-<% $right %>" title="<% $right %>">
- <% $available_rights{$right} %>
-- <span class="separator">—</span>
-- <span class="rightname"><% $right %></span>
- </label>
-+ <span class="rightname"><% $right %></span>
- </div>
- </li>
- % }
-
-diff --git a/share/html/Admin/Elements/SelectCustomField b/share/html/Admin/Elements/SelectCustomField
---- a/share/html/Admin/Elements/SelectCustomField
-+++ b/share/html/Admin/Elements/SelectCustomField
-@@
- %# those contributions and any derivatives thereof.
- %#
- %# END BPS TAGGED BLOCK }}}
--<select name="<%$Name%>">
-+<select class="form-control selectpicker" name="<%$Name%>">
- <option value="" <% not $Default and qq[ selected="selected"] |n %>>--</option>
- % while (my $CustomFieldObj = $CustomFields->Next) {
- % next if $OnlySelectionType and not $CustomFieldObj->IsSelectionType;
-
diff --git a/share/html/Admin/Elements/SelectCustomFieldLookupType b/share/html/Admin/Elements/SelectCustomFieldLookupType
--- a/share/html/Admin/Elements/SelectCustomFieldLookupType
+++ b/share/html/Admin/Elements/SelectCustomFieldLookupType
@@ -747,39 +637,6 @@
<option value="<%$option%>"<%$option eq $Default && qq[ selected="selected"] |n%>><% $cf->FriendlyTypeComposite($option) %></option>
%}
-diff --git a/share/html/Admin/Global/CustomFields/index.html b/share/html/Admin/Global/CustomFields/index.html
---- a/share/html/Admin/Global/CustomFields/index.html
-+++ b/share/html/Admin/Global/CustomFields/index.html
-@@
- <& /Admin/Elements/Header, Title => $title &>
- <& /Elements/Tabs &>
-
--<ul>
-+<ul class="list-group">
- % foreach my $key (sort keys %$tabs) {
--<li><span><a href="<% $tabs->{$key}{path} %>"><% $tabs->{$key}{title} %></a></span><br />
-+<li class="list-item"><span><a href="<% $tabs->{$key}{path} %>"><% $tabs->{$key}{title} %></a></span><br />
- <% $tabs->{$key}{text} %>
- </li>
- % }
-
-diff --git a/share/html/Admin/Global/GroupRights.html b/share/html/Admin/Global/GroupRights.html
---- a/share/html/Admin/Global/GroupRights.html
-+++ b/share/html/Admin/Global/GroupRights.html
-@@
-
- <form method="post" action="GroupRights.html" id="ModifyGroupRights" name="ModifyGroupRights">
- <& /Admin/Elements/EditRights, Context => $RT::System, Principals => \@principals &>
-- <div class="form-row">
-- <div class="col-md-12">
-- <& /Elements/Submit, Label => loc('Save Changes') &>
-- </div>
-- </div>
-+ <& /Elements/Submit, Label => loc('Save Changes') &>
- </form>
-
- <%INIT>
-
diff --git a/share/html/Widgets/ComboBox b/share/html/Widgets/ComboBox
--- a/share/html/Widgets/ComboBox
+++ b/share/html/Widgets/ComboBox
@@ -801,3 +658,4 @@
<br style="display: none" /><span id="<% $Name %>_Button" class="combo-button">▼</span><select name="List-<% $Name %>" id="<% $Name %>_List" class="combo-list tall" onchange="ComboBox_SimpleAttach(this, this.form[<% $Name |n,j%>]); " size="<% $Rows %>">
<option style="display: none" value="">-</option>
% foreach my $value (@Values) {
+
---: ------- > 131: eff85ac98 Migrate Admin/Global/ custom field page to elevator theme
More information about the rt-commit
mailing list