Commit Graph

30 Commits

Author SHA1 Message Date
Dane Everitt
1e735cf0e8 Support failed backup display on the frontend; use SWR for backup pages 2020-08-20 21:44:33 -07:00
Dane Everitt
c28cba92e2 Make modals programatically controllable via a HOC
This allows entire components to be unmounted when the modal is hidden without affecting the fade in/out of the modal itself.

This also makes it easier to programatically dismiss a modal without having to copy the visibility all over the place, and makes working with props much simpler in those modal components
2020-08-17 21:35:11 -07:00
Charles Morgan
d3316f61d7 Titles on index / account pages
Also changed to use  `const { ..., name: serverName } = useServer();` where feasible
2020-08-01 23:49:00 -04:00
Charles Morgan
d604a4a5f2 Merge branch 'develop' into pagetitles2 2020-08-01 22:03:07 -05:00
Dane Everitt
c58348735d Avoid double-click double-submit issues in modals; closes #2199 2020-08-01 19:49:38 -07:00
Charles Morgan
6d79ad23a5 Attempt 2?
80% sure this isn't how to use react-helmet.... but it works....
2020-07-26 23:32:24 -04:00
Charles Morgan
1fe254efc6 Re-add scroll bar style, fix missed tw conversion
Fixed backup message still using old method of "className" changed to use css={ts}
readded scrollbar styling from PR#2118
2020-07-22 01:54:49 -04:00
Dane Everitt
732594a164 Remove unused imports 2020-07-04 18:46:09 -07:00
Dane Everitt
c419d15907 eslint cleanup 2020-07-04 18:30:50 -07:00
Dane Everitt
f3586056f4 Update users screens 2020-07-04 16:26:07 -07:00
Dane Everitt
5473edc006 Get spinners back in working order 2020-07-04 12:39:55 -07:00
Dane Everitt
2193916fe4 Get basic compiling working with new CSS setup 2020-07-03 13:55:33 -07:00
Dane Everitt
497f73d820 Only show limit warnings when necessary and relevant 2020-06-23 20:13:58 -07:00
Charles Morgan
2c326dcbe7 Fix condition
Fix condition for using message
2020-06-02 23:30:43 -04:00
Charles Morgan
e3ac933591 Add using x of x when limit > 0
Added a using x of x so the end user knows how many they have and are using.
2020-06-02 23:27:10 -04:00
Charles Morgan
48869d2eda Remove create backup button if limit = 0, display message none can be created
Removes the create button if the limit is 0, just like it does with the database page
Also once limit is reached the create button is removed from view.
2020-06-02 23:14:16 -04:00
Dane Everitt
00b0d30c60 Fix handling for backups; correctly send along ignored files & directories 2020-04-18 23:26:59 -07:00
Dane Everitt
e6a61fbe9b Update views to support a more logical container 2020-04-17 11:17:01 -07:00
Dane Everitt
d3a06e1ca8 Add progress bar to top of page for nicer loading indicator styles 2020-04-10 12:41:08 -07:00
Dane Everitt
07d19ad326 Code cleanup and formatting 2020-04-10 10:11:15 -07:00
Dane Everitt
9ba6aaebde Move actions into context menu, add support for deleting a backup 2020-04-09 22:08:09 -07:00
Dane Everitt
2eb6ab4d63 Store backups in server state 2020-04-06 22:25:54 -07:00
Dane Everitt
7f2b477538 Automatically update the backup view when the backup is completed 2020-04-06 21:22:57 -07:00
Dane Everitt
a924eb56cc Fix file and backup downloading to use URL returned by server 2020-04-06 20:28:14 -07:00
Dane Everitt
be05d2df81 Add support for generating a signed URL for downloading a file from the daemon 2020-04-04 19:54:59 -07:00
Dane Everitt
ad9194a65c Build out frontend for viewing server backups 2020-04-04 13:24:03 -07:00
Dane Everitt
875358a106 Not a required field 2020-04-04 12:30:45 -07:00
Dane Everitt
25b0e86730 backup names don't actually matter all that much, they don't get used as file names 2020-04-04 12:30:29 -07:00
Dane Everitt
d27f0c6f2a Basic backend support to at least store a backup model in the DB 2020-04-04 12:26:39 -07:00
Dane Everitt
9991989f89 Very basic implemention of frontend logic required to display backups and create a new one 2020-04-04 10:59:25 -07:00