[Rt-commit] rt branch, 4.6/search-selection-next, repushed
Blaine Motsinger
blaine at bestpractical.com
Wed Jan 22 12:11:35 EST 2020
The branch 4.6/search-selection-next was deleted and repushed:
was daf15f7e5177c9f321b89715749ce8f1cd6d803b
now 81b3b66ce324e8a274409c370ec25c9419c7c9f4
1: 7782e58a15 ! 1: e722e0841e New drag and drop UI for selecting searches for homepage and dashboards
@@ -8,13 +8,13 @@
--- a/lib/RT/Interface/Web.pm
+++ b/lib/RT/Interface/Web.pm
@@
- jquery-ui.min.js
- jquery-ui-timepicker-addon.js
- jquery-ui-patch-datepicker.js
-+ jquery.ui.sortable.js
- jquery.modal.min.js
- jquery.modal-defaults.js
- jquery.cookie.js
+ jquery-ui.min.js
+ jquery-ui-timepicker-addon.js
+ jquery-ui-patch-datepicker.js
++ jquery.ui.sortable.js
+ jquery.cookie.js
+ popper.min.js
+ bootstrap.min.js
diff --git a/share/html/Dashboards/Elements/DashboardsForObject b/share/html/Dashboards/Elements/DashboardsForObject
--- a/share/html/Dashboards/Elements/DashboardsForObject
@@ -87,9 +87,7 @@
-
-<& Elements/HiddenSearches, searches => \@hidden_searches, Dashboard => $Dashboard &>
-
--<table width="100%" border="0">
-% for my $pane (@panes) {
--<tr><td valign="top" class="boxcontainer">
-<form action="Queries.html" name="Dashboard-<%$pane->{Name}%>" method="post" enctype="multipart/form-data">
-<input type="hidden" class="hidden" name="id" value="<%$Dashboard->Id%>" />
-<input type="hidden" class="hidden" name="Privacy" value="<%$Dashboard->Privacy%>" />
@@ -108,9 +106,7 @@
+ &>
+ <input type="submit" class="button" name="UpdateSearches" value="<% loc('Save') %>" />
</form>
--</td></tr>
-% }
--</table>
-
<%INIT>
-
@@ -118,7 +114,7 @@
use RT::Dashboard;
@@
- $ok || Abort(loc("Couldn't load dashboard [_1]: [_2]", $id, $msg));
+ }
my $title = loc("Modify the content of dashboard [_1]", $Dashboard->Name);
-my %desc_of;
@@ -898,12 +894,12 @@
+%selected
+</%ARGS>
-diff --git a/share/static/css/base/forms.css b/share/static/css/base/forms.css
---- a/share/static/css/base/forms.css
-+++ b/share/static/css/base/forms.css
+diff --git a/share/static/css/elevator-light/forms.css b/share/static/css/elevator-light/forms.css
+--- a/share/static/css/elevator-light/forms.css
++++ b/share/static/css/elevator-light/forms.css
@@
- font-weight: bold;
- text-decoration: underline;
+ #EditConfig ul.plugins {
+ margin: 0;
}
+
+/* javascript selection box */
@@ -1027,7 +1023,6 @@
+ background-color: rgba(0, 0, 0, .5);
+ -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5);
+}
-+
diff --git a/share/static/js/forms.js b/share/static/js/forms.js
--- a/share/static/js/forms.js
2: c81c7f422e ! 2: b2d3f14fd6 Add support for Drag and Drop UI to Admin->Global and Admin->Users
@@ -194,7 +194,6 @@
-<form method="post" action="MyRT.html">
-<input type="hidden" name="id" value="<% $id %>" />
-<input type="hidden" name="Reset" value="1" />
--<input type="submit" class="button" value="<%loc('Reset to default')%>">
+<form method="post" action="<% RT->Config->Get('WebPath') %> /Helpers/UpdateDashboard" data-dashboard_id = "MyRT" data-user_id = '<% $id %>'>
+ <& /Widgets/SearchSelection,
+ pane_name => \%pane_name,
@@ -202,8 +201,13 @@
+ selected => \%selected,
+ filters => \@filters,
+ &>
-+ <input type="hidden" name="id" value="<% $id %>"/>
-+ <input type"submit" class="button" name="UpdateSearches" value= "<% loc('Save') %>" >
++<input type="hidden" name="id" value="<% $id %>"/>
++<input type"submit" class="button" name="UpdateSearches" value= "<% loc('Save') %>" >
+ <div class="form-row">
+ <div class="col-md-12">
+ <input type="submit" class="button form-control btn btn-primary" value="<%loc('Reset to default')%>">
+@@
+ </div>
</form>
-<br />
3: daf15f7e51 ! 3: 2d3ab4dc92 Alpha sort items in the select from list
@@ -14,3 +14,4 @@
<& /Elements/ShowSelectSearch, %$item &>
% }
</ul>
+
-: ------- > 4: 231730a17d Specifing of encoding as UTF-8 needed due to perl
-: ------- > 5: 5eff186b4c Bug fix
-: ------- > 6: 81b3b66ce3 Add drag out to remove from list functionality
More information about the rt-commit
mailing list