Commit graph

38 commits

Author SHA1 Message Date
Kevin MacMartin
6237b500ff Replace pickadate with flatpickr so we can also pick time 2019-07-17 01:11:09 -04:00
Kevin MacMartin
1ff201292b Fix some linter errors in dashboard.js 2019-01-02 23:56:16 -05:00
Kevin MacMartin
8ed853a024 Don't remove confirmation modal header text until after it's finished fading out 2018-06-26 20:58:03 -04:00
Kevin MacMartin
f15fb617ff Allow dashboard updates for models that have only files or images 2018-05-10 23:22:09 -04:00
Kevin MacMartin
3a260dceec Fix the dashboard loading modal 2018-05-10 13:21:29 -04:00
Kevin MacMartin
e94764a5c7 Improve the dashboard javascript comments 2018-04-26 22:36:35 -04:00
Kevin MacMartin
57170cd6d4 Re-order a couple things at the top of the dashboard js 2018-04-26 22:33:18 -04:00
Kevin MacMartin
5c6d86405f Use keydown instead of keyup and preventDefault for the dashboard modals so other input can be ignored, and only reset the submitting variable after the dialog has been closed to avoid the possibility of re-submitting before the dialog is closed 2018-04-26 01:21:14 -04:00
Kevin MacMartin
e02d57ad17 Move the user api_token migration to its original migration, add website and social media columns to the original user migration, hook up user profile edit functionality on the dashboard settings page, name the user password function userPasswordUpdateInit to reflect its form name, clean up the dashboard settings layout and improve it on mobile, add a repeating pattern background to the dashboard so it's not so sparse, and sync the traditional-bootstrap routes/web.php with the main one 2018-04-25 23:27:45 -04:00
Kevin MacMartin
d7f3e449fb Use the same surface to render both the default and active profile image so transparent pngs don't show the default image behind them 2018-04-25 01:33:17 -04:00
Kevin MacMartin
6afe85c2d9 Use a common trait to provide the timestamp function to both the DashboardModel and User classes, add an optional license key to the dashboard library_credits that adds a (license) link beside the project and add the license (as required by their license) to the fontawesome entry, and implement user profile image view, upload and deletion (with a default black question mark fallback) in the dashboard settings page 2018-04-25 01:22:33 -04:00
Kevin MacMartin
83a8dede40 Link to the dashboard credits page from a new footer element instead of the user dropdown, organize the dashboard blades by folder now that we have so many of them, and implement user password reset functionality 2018-04-24 20:38:04 -04:00
Kevin MacMartin
373375a8ad Reload the same edit-item page after hitting the update button so the user can see their changes in action before moving back to the list 2018-04-23 23:20:35 -04:00
Kevin MacMartin
58902bb5ee Add a credits page to the dashboard showing the project authors and front-facing libraries used on the website, use /dashboard/edit for both the edit-list and edit-item pages, organize the dashboard styles a bit better, use relative paths instead of the url() function to render the dashboard URLs, add active nav link functionality to links other than the main dashboard pages, pull the nav blade out of the sections folder now that it's the only section, and keep the traditional template in sync 2018-04-18 23:32:22 -04:00
Kevin MacMartin
a676c91370 Reorganize the dashboard functionality such that everything can be configured in app/Models/Dashboard.php and a given model, add support for user-bound lists, improve security, fix some style issues, and update the readme 2018-04-18 00:38:11 -04:00
Kevin MacMartin
664ba48e68 Update most of the dashboard to bootstrap 4, with the nav still to go 2018-04-16 00:45:32 -04:00
Kevin MacMartin
486738d0a7 Fix an issue where editing markdown on mobile wouldn't enable the submit button, and refresh the editor correctly 2018-01-21 23:07:21 -05:00
Kevin MacMartin
bb3b6fcbe1 Fix codemirror rendering issue where the cursor appears below the last line 2018-01-21 21:20:13 -05:00
Kevin MacMartin
27ef5d09e5 Implement deletion functionality for uploaded images and files 2018-01-21 20:55:07 -05:00
Kevin MacMartin
b900f56b71 Implement dashboard file upload support, and show the image preview as an img so it can regulate its own aspect ratio 2018-01-18 22:29:49 -05:00
Kevin MacMartin
7fcdf75a61 Allow the dashboard edit-item date picker to select the month and year via dropdown, and clean up the styles on mobile 2018-01-16 00:38:08 -05:00
Kevin MacMartin
0b3a322bf3 Use pickadate instead of the jquery datetimepicker to select dates in the dashboard, initialize new dates with the current date, and tweak input styles a bit 2018-01-15 23:43:20 -05:00
Kevin MacMartin
fb7f87d6b0 Don't allow sorting when the edit-list is filtered to prevent messing up the sort order 2018-01-13 01:16:19 -05:00
Kevin MacMartin
f74c71446a Fix the edit-list filter functionality 2018-01-12 23:58:43 -05:00
Kevin MacMartin
dda0ba7eb9 Only allow dashboard edit-item submission and confirm that the user wants to go back when the user presses the back button after changes have been made 2018-01-12 23:19:24 -05:00
Kevin MacMartin
34183cb338 Fix returning to the edit-list from edit-item 2018-01-12 00:02:16 -05:00
Kevin MacMartin
b5016bab06 Also use the path attribute for returning to the edit-list page 2018-01-11 23:54:00 -05:00
Kevin MacMartin
bf0703b7d3 Add functionality allowing an alternative path to be set instead of the model in the dashboard edit array 2018-01-11 23:48:26 -05:00
Kevin MacMartin
5613c72d0c Implement support for uploading multiple images, move the dashboard columns for a given table to its model, and clean a bunch of things up 2018-01-11 01:13:58 -05:00
Kevin MacMartin
8678e98709 Go back to the dashboard page once a new item has been created 2017-04-29 01:12:01 -04:00
Kevin MacMartin
01fcbd5cef Implement functionality that allows an additional button with customizable functionality to be added to dashboard edit-list pages 2017-01-04 23:23:26 -05:00
Kevin MacMartin
26bbfd557c After creating a new item from the dashboard edit-item create page, send the user to the edit item edit page 2017-01-03 23:28:03 -05:00
Kevin MacMartin
880a578454 Display the correct failed operation on the dashboard edit-item page when it fails to edit/create a record 2017-01-03 22:55:12 -05:00
Kevin MacMartin
6e42a86ad2 Implement optional edit-list filter support 2016-12-22 00:20:44 -05:00
Kevin MacMartin
5f836e518f Fix linter issues and update variable declarations to es6 in the js 2016-08-01 21:26:54 -04:00
Kevin MacMartin
ceb47b1c9c Don't enable the markdown editor spell checker as it requires 3rd party assets 2016-04-08 18:03:18 -04:00
Kevin MacMartin
cf2db67006 Fix some minor formatting issues 2016-01-27 15:24:21 -05:00
Kevin MacMartin
79824835de Update + add in dashboard functionality, and document how to setup the dashboard in the readme 2016-01-26 23:20:08 -05:00