Implement drag and drop on admin site (back end)
Review Request #5528 — Created Feb. 22, 2014 and submitted — Latest diff uploaded
The user can now customize their dashboard by dragging and dropping widgets to move them around.
I opened Review Board on two different browsers, Chrome and Firefox, and logged in as the same user on both browsers. On the Chrome browser, I visited the admin dashboard and changed the ordering of the widgets with drag-and-drop. On the Firefox browser, I also visited the admin dashboard, and I checked to make sure that the positions of the widgets were the same on both browsers, indicating that the positions had been saved on the back end side.
Diff Revision 3
This is not the most recent revision of the diff. The latest diff is revision 9. See what's changed.
orig
1
2
3
4
5
6
7
8
9
reviewboard/admin/urls.py |
---|
reviewboard/admin/views.py |
---|
reviewboard/admin/widgets.py |
---|
reviewboard/static/rb/css/admin-dashboard.less |
---|
reviewboard/static/rb/css/common.less |
---|
reviewboard/static/rb/js/admin.js |
---|
reviewboard/templates/admin/admin_widget.html |
---|
reviewboard/templates/admin/widgets/w-stats-large.html |
---|