Commit graph

242 commits

Author SHA1 Message Date
Kevin MacMartin
f15fb617ff Allow dashboard updates for models that have only files or images 2018-05-10 23:22:09 -04:00
Kevin MacMartin
1082c0f39b Import page components before the router instance (which uses them) instead of having the global components between them 2018-05-10 23:00:06 -04:00
Kevin MacMartin
3a260dceec Fix the dashboard loading modal 2018-05-10 13:21:29 -04:00
Kevin MacMartin
dee6c34fcb The flexbox fix class is called flex-fix, not flex-wrapper 2018-05-04 23:58:43 -04:00
Kevin MacMartin
6c43d2d886 Include CSS files separate from sass as this functionality is now deprecated, and update dependencies 2018-05-02 14:25:40 -04:00
Kevin MacMartin
eb69d2fbd7 Include stylesheets in the partials folder in app.scss and source mixins before classes 2018-04-30 23:23:14 -04:00
Kevin MacMartin
3419f8d789 Show the image after the text on blog posts at viewport widths where text and image are shown horizontally together so the titles for posts with images are lined up with titles for posts without them 2018-04-29 23:30:47 -04:00
Kevin MacMartin
5895333e7e Include support for the multi-language feature in vue components, and move the env variables into the public template since it's only being included once 2018-04-29 23:27:44 -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
1646479448 Center blog titles so they don't look randomly aligned 2018-04-26 20:35:24 -04:00
Kevin MacMartin
a9aca7d4fe Amalgamate the api route controller functionality into a single ApiController, and implement both vue component and traditional blade versions of a blog page on the public facing part of the site 2018-04-26 20:26:18 -04:00
Kevin MacMartin
b83213c16e Fix the error box on the contact page and remove the space from the bottom of the page 2018-04-26 20:09:00 -04:00
Kevin MacMartin
172e247559 Improve the dashboard nav dropdown styles a bit 2018-04-26 01:28:49 -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
cbe6a5eac6 Don't allow file upload text to overflow outside the container 2018-04-26 01:20:49 -04:00
Kevin MacMartin
a7d37ec5ff Fix edit-list padding on mobile 2018-04-26 01:01:11 -04:00
Kevin MacMartin
6ea47a7de2 Use the bold sans font instead of font-weight: bold 2018-04-26 00:03:16 -04:00
Kevin MacMartin
42c76f0699 Clean up the colors and styles for the bootstrap public site a bit more 2018-04-26 00:02:56 -04:00
Kevin MacMartin
68e78d2853 Don't restrict the accent colour by declaring as the subscription input border color and instead use the text color for that, and set a yellow as the default accent 2018-04-25 23:48:40 -04:00
Kevin MacMartin
d2c7da70d3 Update the base theme to something a bit more enjoyable to look at until it gets changed 2018-04-25 23:47:20 -04:00
Kevin MacMartin
6fc479c1a9 Clean up the subscription styles a bit 2018-04-25 23:47:09 -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
f1ce1e0a8a Only use BrowserSync when both the APP_ENV=local and APP_DEBUG=true 2018-04-25 21:17:58 -04:00
Kevin MacMartin
1c90c0b214 Use slightly more logical organization for dashboard images 2018-04-25 10:37:37 -04:00
Kevin MacMartin
c0e1673b14 Use a fixed height for the image upload and delete buttons because the aspect ratio was behaving strangely on mobile 2018-04-25 01:44:24 -04:00
Kevin MacMartin
33cb7434ff Center the profile image upload container on mobile 2018-04-25 01:41:45 -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
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
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
aafd2d96a2 Remove the top border from the dashboard view headings 2018-04-16 12:25:58 -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
da3d521824 Give the vue-based error page some basic styles 2018-04-15 22:02:06 -04:00
Kevin MacMartin
5d85ad0f75 Commit the subscription-form style update that should have been included in the last one 2018-04-15 22:01:42 -04:00
Kevin MacMartin
2bc4eea8f8 Use flexbox to allow a given page to grow to at least the full page height and use flexbox to center the subscription form instead of absolute positioning 2018-04-15 21:58:27 -04:00
Kevin MacMartin
d335a3d587 Use custom styling for the laravel-based error pages 2018-04-15 21:54:43 -04:00
Kevin MacMartin
71e8146f9c Include a bunch of information about the public-facing side of the site in the readme, and create empty folders for partial components 2018-04-15 21:31:31 -04:00
Kevin MacMartin
3c048f6096 Move traditional-website files to a new bootstrap folder and use vue as the default public facing front-end rather than trying to offer both simultaneously 2018-04-15 21:05:42 -04:00
Kevin MacMartin
eb946e26cb Remove fontawesome (it can be included as needed in projects that would take advantage of it) 2018-04-15 20:45:31 -04:00
Kevin MacMartin
b86f9343c2 Replace the fontawesome dashboard sort icon with CSS 2018-04-15 20:43:23 -04:00
Kevin MacMartin
34142dcecb Update the login checkmark with a custom SVG 2018-04-15 20:29:14 -04:00
Kevin MacMartin
b294a9a34e Cache bust the favicon 2018-04-10 16:10:34 -04:00
Kevin MacMartin
92c193813e Remove the awesome-bootstrap-checkbox plugin and replace it with a custom checkbox, and clean up a bunch of dashboard-related styles 2018-04-10 00:09:20 -04:00
Kevin MacMartin
e83bdcb937 Replace livereload with browser-sync 2018-04-06 00:29:22 -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
45df3a02dc Remove the SVG variant of OpenSans as this is just the generic font 2018-03-07 15:42:27 -05:00
Kevin MacMartin
0039db89eb Include classes in app.scss 2018-03-06 21:53:50 -05:00
Kevin MacMartin
ca9033fe92 Add a fix to the flexbox sticky footer for ie11 2018-03-06 21:53:11 -05:00
Kevin MacMartin
4703e20fd4 Even out the footer padding 2018-03-06 19:34:07 -05:00
Kevin MacMartin
56608192be Quote the sans font 2018-02-04 18:27:41 -05:00
Kevin MacMartin
30c001cc6f Allow special characters in the appname to be rendered in the footer 2018-02-04 18:15:42 -05:00
Kevin MacMartin
493097b131 Fix sass-lint errors 2018-01-22 23:25:07 -05: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
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
bb3b6fcbe1 Fix codemirror rendering issue where the cursor appears below the last line 2018-01-21 21:20:13 -05:00
Kevin MacMartin
2ee195c079 Improve the dashboard markdown editor 2018-01-21 21:04:18 -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
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
b0a5a55c9a Fix multi-column rows in the dashboard edit-list 2018-01-15 22:35:36 -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
71d218f04c Move the dashboard edit-list sortable drag handle to the left on mobile instead of having it positioned against the text, make a bunch of minor tweaks to the list-group styles to keep things consistently spaced at all responsive sizes, improve the dashboard home list, and remove some unused styles 2018-01-12 23:48:21 -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
3cec5bc814 Fix dashboard edit-list sorting on firefox 2018-01-12 23:02:51 -05:00
Kevin MacMartin
b55e0096c8 Move the dashboard menu functionality to app/Models/DashboardMenu.php and allow for dropdown items 2018-01-12 22:57:31 -05:00
Kevin MacMartin
b1533bb233 Move the edit-list token outside the ul 2018-01-12 00:15:04 -05:00
Kevin MacMartin
34183cb338 Fix returning to the edit-list from edit-item 2018-01-12 00:02:16 -05:00
Kevin MacMartin
22da70893a Fix the dashboard edit-list title when a sort handle is present 2018-01-11 23:57:49 -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
26bed078e2 Add a margin below the no-image placeholder in the dashboard edit item 2018-01-11 23:51:48 -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
51e6b5ef10 Don't include _var.scss in dashboard.scss now that the bootstrap versions have diverged 2018-01-11 23:36:17 -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
1943e5ecd0 Prevent user-selection of the nav 2018-01-09 23:25:10 -05:00
Kevin MacMartin
d04bbee745 Add a smooth-gradient mixin 2018-01-09 22:58:57 -05:00
Kevin MacMartin
6ce7600ff2 Add the aspect-ratio mixin 2018-01-09 22:58:27 -05:00
Kevin MacMartin
60241d2ed7 Use npm for fontawesome, include jquery in npm for the public site, and fix popper -> popper.js 2018-01-09 22:21:59 -05:00
Kevin MacMartin
b1ef53f845 Upgrade to bootstrap 4 for the public site 2018-01-09 22:00:45 -05:00
Kevin MacMartin
b3e2a398c3 Pull the updated nav into the non-vue version of the site 2017-12-19 16:37:34 -05:00
Kevin MacMartin
1b2a3aa3f0 Update the vue-based nav to use a bootstrap-free implementation 2017-12-14 22:24:49 -05:00
Kevin MacMartin
b0ac2d651e Add support for between-page anchor links 2017-12-14 16:48:52 -05:00