Commit graph

81 commits

Author SHA1 Message Date
Kevin MacMartin
6b2126e5a0 Add buttons to image and file uploads on edit-item pages that clear the currently selected upload content 2024-04-10 18:39:48 -04:00
Kevin MacMartin
5e8bc06c51 Fix the alignment of file upload inputs in dashboard edit item pages 2024-04-10 18:25:20 -04:00
Kevin MacMartin
e1da7267b3 Fix the edit-list when there are no items and the number of options is set to unlimited 2023-05-23 23:06:51 -04:00
Kevin MacMartin
026ef6193b Adjust brackets in the dashboard edit list preview check 2022-07-25 17:17:57 -04:00
Kevin MacMartin
d16f5ebbce Allow image previews in the dashboard edit list 2022-07-25 17:16:55 -04:00
Kevin MacMartin
23a1bf6ab8 Upgrade to the latest sass, mr hope's gulp-sass, the bootstrap 5.2 beta and the latest font awesome, update other dependencies, organize styles a bit better, and use pxrem on the error page 2022-07-06 13:44:25 -04:00
Kevin MacMartin
5319d7328b Fix dropdown selects that aren't boolean, and only convert the select value to 1/0 if it's also boolean 2022-06-15 16:13:57 -04:00
Kevin MacMartin
db7deb0fdc Reuse dashboard logic much more, delete images and files when the associated item is deleted, rework dashboard lists so their items can be configured in the $dashboard_columns of their own class, allow dashboard lists to upload images, delete images when dashboard list items are deleted, add a default image extension variable to dashboard model items rather than hard-coding it so it can be reconfigured, improve the dashboard styles some more, and improve the readme (including documenting the new dashboard list update) 2022-06-14 01:36:21 -04:00
Kevin MacMartin
31f9ceaffa Upgrade to laravel 9.1.8 2022-05-23 21:01:33 -04:00
Kevin MacMartin
afce4734c1 Allow the date picker to be configured without time 2021-09-17 17:46:50 -04:00
Kevin MacMartin
2a615b75a7 Use a non-static function for getDashboardHeader so we can use getTable and not have to worry about sending the model, pull file and image saving and deletion into the dashboard model so it can be used by seeders and other things, allow filetype to be specified for images so more than just jpg is possible, if the image filetype isn't svg also save a webp version of a given image, add a dashboard model method to get the uploads path so we aren't hard-coding that to one degree or another in a whole bunch of places, allow a max width and/or height to be specified for image uploads to avoid giant images, don't send unnecessary parameters from the back-end to the front-end and through the api back to the back-end, add the ability to show error text to the dashboard alert model, show an error if a file of an incorrect type is uploaded, add webp suport detection logic to the vue-based front end as well as a method that selects the appropriate format of image (falling back on the provided format) 2021-07-29 16:40:55 -04:00
Kevin MacMartin
03963f56b9 Update to bootstrap 5 2021-05-21 22:33:55 -04:00
Kevin MacMartin
b222ba04bf Remove project-specific list exceptions 2021-04-08 23:33:27 -04:00
Kevin MacMartin
ecda451890 Pull in the upstream changes to sync up with 8.4.4 2020-12-09 16:00:01 -05:00
Kevin MacMartin
0fa1663c1d Fix missing icons in the dashboard 2020-04-29 00:36:25 -04:00
Kevin MacMartin
7f9f9bce1b Add support for linking dashboard tables, adding lists connected to other tables, formatted currency inputs, multi-line text fields without markdown, paginated edit lists (with working search), errors for columns not being unique or required (with modal popup), improve comments, and use links instead of javascript for the edit and new buttons 2020-04-24 00:22:42 -04:00
Kevin MacMartin
bf1b3ea9aa Update to laravel 7.6, darken the dashboard modal, and use links for the dashboard edit buttons instead of javascript 2020-04-23 22:17:13 -04:00
Kevin MacMartin
1e2432d254 Update spinkit and the dashboard loading animation 2020-02-25 18:08:27 -05:00
Kevin MacMartin
f3003ff586 Fix dashboard create new item 2019-12-03 00:55:40 -05:00
Kevin MacMartin
c03d2fc659 Add the ability to declare a select with options that have different values and text 2019-07-17 00:21:28 -04:00
Kevin MacMartin
af9c6df636 Improve the dashboard alert and confirmation modal styles 2018-06-18 16:50:50 -04:00
Kevin MacMartin
256c0b179a Add in functionality to set a different column type on creation than when being edited 2018-06-17 23:31:24 -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
9fa8479ed8 Improve the functionality surrounding the REGISTRATION variable in the .env file so it can continue to enable registration globally by setting its value to "true", but now also enable registration for a single IP address by setting its value to that address 2018-04-25 21:22:39 -04:00
Kevin MacMartin
bdaf63d3dd Move the profile image upload and delete button text into title attributes 2018-04-25 01:34:59 -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
d06cae1c67 Fine-tune the dashboard edit-item layout 2018-04-24 00:17:42 -04:00
Kevin MacMartin
51c04ab1e4 Move app\Models\Dashboard to app\Dashboard 2018-04-23 23:39:40 -04:00
Kevin MacMartin
8c0dc48d2d Set the dashboard home title in its own blade, and bump a row's timestamp after uploading an image or file 2018-04-23 23:15:54 -04:00
Kevin MacMartin
10f11f8480 Use a timestamp function to version dashboard edit-item assets 2018-04-23 23:13:40 -04:00
Kevin MacMartin
d0c85bd453 Use the dashboard core blade to render the credits page 2018-04-23 23:12:17 -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
7f9b0ef09a Fix active nav link logic 2018-04-18 00:47:14 -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
94c31b1ff4 Organize the dashboard menu a bit better and include both form submission view pages under the same menu item 2018-04-17 18:52:44 -04:00
Kevin MacMartin
1be473a657 Move dashboard svgs to the root directory and update the dashboard navbar 2018-04-16 12:24:28 -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
b86f9343c2 Replace the fontawesome dashboard sort icon with CSS 2018-04-15 20:43:23 -04:00
Kevin MacMartin
5c1e1ef14e Make the dashboard home menu links take up the full column 2018-04-02 22:47:09 -04:00
Kevin MacMartin
45e84497f1 Cut text off before the buttons in the dashboard edit list instead of having it fall on the next line 2018-01-21 22:47:59 -05:00
Kevin MacMartin
315a4893ec Clean up the dashboard view table spacing on mobile 2018-01-21 22:40:42 -05:00
Kevin MacMartin
0c5cd33462 Fix the login page on mobile 2018-01-21 21:36:37 -05:00
Kevin MacMartin
27ef5d09e5 Implement deletion functionality for uploaded images and files 2018-01-21 20:55:07 -05:00
Kevin MacMartin
5c2ad8cccb Only show the export button in the dashboard when more than one entry exists for the given model 2018-01-21 19:48:30 -05:00
Kevin MacMartin
a5f8d2aa78 Name the columns key for both the view and edit lists 'columns' 2018-01-21 19:37:11 -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
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
b0a5a55c9a Fix multi-column rows in the dashboard edit-list 2018-01-15 22:35:36 -05:00