Commit graph

285 commits

Author SHA1 Message Date
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
Kevin MacMartin
f8e728e654 Move the mobile top padding to account for the nav into the body where it belongs 2017-12-13 23:12:16 -05:00
Kevin MacMartin
795e8335c2 Create a equal-featured vue variant of the public portion of the site 2017-11-21 23:12:31 -05:00
Kevin MacMartin
44281d132c Fully name the subscription stylesheet after its element 2017-09-26 20:24:47 -04:00
Kevin MacMartin
babb0dc2a8 Add a space to the contact email 2017-09-26 18:18:07 -04:00
Kevin MacMartin
ac5697eeeb Update the contact form to reflect changes to laravel and use name instead of id so it doesn't monopolize the keywords on potential global forms 2017-09-26 15:43:02 -04:00
Kevin MacMartin
32bef04ced Move the subscription form to its own blade so it can be imported, remove the address/location as that's not standard, get things working correctly, add errors, and use name instead of id for the form fields so it can be used on any page 2017-09-26 15:35:30 -04:00
Kevin MacMartin
875ecb33aa Pull in mergeable upstream laravel updates 2017-09-26 13:22:15 -04:00
Kevin MacMartin
b15d7cced9 Remove modernizr 2017-09-26 13:19:35 -04:00
Kevin MacMartin
983536e505 Rename SITE_NAME and SITE_DESC to APP_NAME and APP_DESC 2017-09-26 11:42:00 -04:00
Kevin MacMartin
eb205235aa Use flex-grow instead of flex for the sticky footer to fix an issue where main-content never expands past 100vh on ie11 2017-08-29 13:57:06 -04: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
3cadd8b957 Move the font normalization into the font mixins 2017-03-29 22:56:25 -04:00
Kevin MacMartin
095b4f54a8 Don't apply the font-style and font-weight a second time in the mixin 2017-03-29 22:54:37 -04:00
Kevin MacMartin
d727ec9d18 Set a mobile chrome theme colour 2017-02-13 22:42:12 -05:00
Kevin MacMartin
54613bf60b Add multi-language functionality and don't create unnecessary variables in the contact controller 2017-02-06 23:44:07 -05:00
Kevin MacMartin
ff35415672 Override bootstrap variables correctly 2017-01-30 22:55:33 -05:00
Kevin MacMartin
3715826049 Use the api for contact and subscription form post routes 2017-01-30 21:00:05 -05:00
Kevin MacMartin
baa0c8b56a Replace the sticky footer with flexbox 2017-01-26 19:25:22 -05:00
Kevin MacMartin
ce9973caab Upgrade to Laravel 5.4 2017-01-26 19:17:37 -05:00
Kevin MacMartin
f51e4afbb7 Show outlines when navigating with a keyboard but not with touch or a mouse 2017-01-09 18:15:39 -05:00
Kevin MacMartin
8ba8a0e810 Improve the dashboard edit-list page on mobile 2017-01-04 23:50:17 -05:00
Kevin MacMartin
1292201b05 Skip empty columns in the dashboard edit-list title block 2017-01-04 23:28:37 -05: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
bbd6aeb68d Add a more feature-specific body class to dashboard pages 2017-01-04 22:42:11 -05:00
Kevin MacMartin
40f4ca4f7f Remove dashboard edit-list title columns after the second column on screen-sm-max and below, and all but the first column on screen-xs-max and below 2017-01-03 23:33:24 -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
d667c39af9 Don't show display columns in the dashboard edit-item view 2017-01-03 22:51:16 -05:00
Kevin MacMartin
6e42a86ad2 Implement optional edit-list filter support 2016-12-22 00:20:44 -05:00
Kevin MacMartin
6ec9531074 Allow edit-list title-columns to be specified as arrays for multiple items and use monospaced fonts so the same number of characters will take the same amount of space 2016-12-20 23:26:10 -05:00
Kevin MacMartin
5336c21a93 Remove height: 100% from the body and html elements to fix auto-scrolling on (at least) chrome 2016-12-20 14:26:58 -05:00
Kevin MacMartin
54508b4ebe Add the 'display' type to the edit-item blade, allowing printed information that can't be edited 2016-12-19 22:59:19 -05:00
Kevin MacMartin
61233c887e Make the 'new' button on the edit-list page optional 2016-12-19 22:45:11 -05:00
Kevin MacMartin
a9455f99a0 Add export functionality to the dashboard edit-list feature, and clean up the edit-list blade a bit 2016-12-19 22:31:04 -05:00
Kevin MacMartin
318ca8a80c Add an option to enable/disable the delete button on edit-list dashboard items 2016-12-19 22:17:13 -05:00
Kevin MacMartin
2819ed5582 Use false instead of 'false' to disable the sort col 2016-12-19 22:03:43 -05:00
Kevin MacMartin
b4523938f5 Space dashboard blades out a bit better 2016-12-19 21:21:14 -05:00
Kevin MacMartin
df7676ece8 Add a body class based on whether a desktop or mobile device has been detected 2016-10-16 21:32:07 -04:00
Kevin MacMartin
961120131e Replace the abandoned laravel-head with a native implementation 2016-10-15 16:53:14 -04:00
Kevin MacMartin
a28a3bfe3f Setup scss wildcards to only include *.scss 2016-10-12 23:44:00 -04:00
Kevin MacMartin
073e9ddf4f Use $(window).on("load" instead of $(window).load as this no longer exists in jquery 3 2016-10-12 21:34:31 -04:00
Kevin MacMartin
944684ac54 Pull in the latest upstream laravel changes 2016-09-02 12:02:24 -04:00
Kevin MacMartin
81842245d1 Use units for the nav height calc 2016-08-23 22:54:11 -04:00
Kevin MacMartin
21c62e37e4 Update to laravel 5.3 base 2016-08-19 16:38:49 -04:00
Kevin MacMartin
329027891c A bit more cleanup 2016-08-19 00:33:12 -04:00
Kevin MacMartin
38e3b02d9e Remove blank line 2016-08-19 00:29:31 -04:00
Kevin MacMartin
68adeae84b Move the gulp modernizr task to just above the watch task and fix the dashboard includes 2016-08-16 19:47:29 -04:00
Kevin MacMartin
5091f95475 Convert less to scss and make the required changes to support that 2016-08-16 19:33:02 -04:00
Kevin MacMartin
eeeac52dbe Collapse the dashboard table much more quickly 2016-08-05 15:23:45 -04:00
Kevin MacMartin
ab1e828421 Formatting in the nav 2016-08-02 22:55:30 -04:00
Kevin MacMartin
e61a1f5558 Update composer dependencies and change fontawesome path to the new hyphen-free version 2016-08-01 23:02:16 -04: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
3ce19f871c Implement cache busting for javascript and css assets 2016-06-01 22:59:52 -04:00
Kevin MacMartin
2cab3c0ac0 Only use modernizr for public css and js and only load it on the public site 2016-05-23 23:16:04 -04:00
Kevin MacMartin
fac4956851 Add missing equals to the modernizr include 2016-05-23 22:41:04 -04:00
Kevin MacMartin
18660feac1 Update the gulpfile to reflect eslint requirements, use separate dashboard and public libraries, and add a modernizr task that accounts for included features 2016-05-23 22:35:33 -04:00
Kevin MacMartin
c4538a06eb Add an option-select option to the set of available form items in the dashboard edit item page and document its use in the readme 2016-05-18 20:05:14 -04:00