Commit Graph

179 Commits

Author SHA1 Message Date
1a72f9243d Update theme to be consistent with 'george' project 2022-04-06 12:03:07 +01:00
776325a5d5 Limit errors shown 2022-03-14 13:18:24 +00:00
6e1dbb2bb4 Create repo.js stub 2021-07-11 10:16:44 +01:00
dd21676b55 Move chart creation code to new file
- Use cdn for chart.js
2021-07-11 10:15:20 +01:00
e216e50d74 Retrieve latest available repo size 2021-06-14 18:14:01 +01:00
0afdab0111 Remove path display from index 2021-06-10 06:28:55 +01:00
2d0aa58c77 Remove path display from index 2021-06-10 06:28:15 +01:00
6cd197556c Move database to central dir 2021-06-04 19:15:29 +01:00
207e52f285 Link to root domain
- Add github and borg status links
2021-06-04 10:11:44 +01:00
039e851b5c Add root urls to allowed hosts 2021-06-03 10:38:54 +01:00
f95b7b1c41 Update allowed hosts and formatting 2021-06-03 09:51:54 +01:00
dd0e981543 Remove leading period from venv dir 2021-06-03 08:58:16 +01:00
8f70d62cc8 Remove unused navbar elements 2021-06-02 09:04:57 +01:00
a3dd01cbe2 Remove extraneous shadow 2021-06-02 09:04:45 +01:00
04d2eba3d9 Cache repo page 2021-06-02 01:49:55 +01:00
10a141819f Add www prefix to allowed hosts 2021-06-01 14:59:53 +01:00
d29ffdc660 Reformat 2021-06-01 14:48:34 +01:00
ba55d7491f Add subdomain to allowed hosts 2021-06-01 14:47:16 +01:00
9ae844d9cb Add george.ooo to allowed hosts 2021-06-01 03:40:07 +01:00
d2ddf086ee Check that day doesn't exceed valid month range 2021-05-30 05:00:14 +01:00
eabbf34fc3 Refactor and remove unneeded comments 2021-05-21 20:35:09 +01:00
7daaa69a62 Implement method to retrieve last day of previous months 2021-05-21 20:30:05 +01:00
35c0b1946f Add monthly backup size graph 2021-05-21 20:19:46 +01:00
76fb5b3763 Allow retrieval of archives based on given dates 2021-05-21 19:40:20 +01:00
a9cd4f1c65 Improve syntax 2021-05-21 19:21:15 +01:00
713559ade2 Remove custom 503 page 2021-05-21 19:20:55 +01:00
89bbe451d5 Add custom 503 error page 2021-05-21 19:16:22 +01:00
b63de14b8b Remove unused chart.js import 2021-05-21 18:23:43 +01:00
e729ec48c8 Remove versions numbers from js libraries 2021-05-21 18:03:51 +01:00
b2e330de7b Include chart.js in static 2021-05-21 17:51:54 +01:00
3d6f8c8ed9 Refactor graph generation 2021-05-21 17:45:14 +01:00
89b3a33745 Update and include jquery in static 2021-05-21 17:43:17 +01:00
1b51eb38e2 Categorise views 2021-05-19 21:51:40 +01:00
026cf1a311 Cache daily repo view for an hour 2021-05-19 21:03:53 +01:00
2705641d0d Load daily repo graph separately 2021-05-19 21:01:32 +01:00
36a3974393 Create repo page stub 2021-05-19 20:04:33 +01:00
5759839415 Cache index for 60 seconds 2021-05-18 22:17:47 +01:00
b7054d5b15 Remove hourly backups string 2021-05-18 22:03:44 +01:00
938379b7ba Cache index for 5 minutes 2021-05-18 21:16:27 +01:00
dc1db5006c Shorten hourly string 2021-05-18 21:14:33 +01:00
ee439c9e0e Disable caching and graph 2021-05-18 21:02:28 +01:00
d0abc616bf Switch from memcached to redis 2021-05-18 20:40:44 +01:00
c3825efe26 Cache all base scripts 2021-05-18 18:04:20 +01:00
0ad734eb72 Cache entire index for 10 seconds 2021-05-18 17:47:46 +01:00
90f27c5850 Cache repos for a minute 2021-05-18 17:11:40 +01:00
00c6e91c63 Cache navbar for an hour 2021-05-18 17:04:23 +01:00
430808d7fa Cache sass for an hour 2021-05-18 17:00:56 +01:00
0dc022b861 Add production config 2021-05-18 16:39:49 +01:00
7736025e99 Cache index 2021-05-18 16:25:58 +01:00
ca5c7af470 Show tick label for 0GB 2021-05-14 12:55:46 +01:00
cb5ab6fdb8 Set repo background colour based on backup status 2021-05-12 12:32:46 +01:00
395e03803f Add axes support with custom error page 2021-05-12 11:36:20 +01:00
9b56787057 Move errors to own directory 2021-05-12 11:35:56 +01:00
972f41fdc0 Colour favicon using project theme 2021-05-12 01:01:42 +01:00
24d930dbc6 Include favicon 2021-05-11 18:34:55 +01:00
06e66b517b Remove comments and reposition imports 2021-05-11 18:10:14 +01:00
19155daaea Remove unnecessary newlines 2021-05-11 18:08:24 +01:00
21d92a074b Create venv and pip setup script 2021-05-11 18:06:09 +01:00
e7cb649cb4 Indicate when no paths have been specified 2021-05-11 16:34:17 +01:00
4e75b89212 Display paths 2021-05-11 16:31:01 +01:00
e7eafee84f Create location table 2021-05-11 16:30:44 +01:00
d901aaa210 Always print short description 2021-05-11 16:30:33 +01:00
1dd2c0726f Create location form 2021-05-11 16:19:31 +01:00
eca02882da Create location model to keep track of filesystem paths 2021-05-11 15:46:52 +01:00
c024300507 Move error templates to root template dir 2021-05-11 15:46:48 +01:00
3c4f3a2694 Change navbar search button colour 2021-05-11 15:12:53 +01:00
bd907f8dc5 Set padding correctly 2021-05-11 11:49:46 +01:00
1b934d8184 Set default background to alice blue 2021-05-11 11:49:29 +01:00
b62fc7b2be Use base.html as template 2021-05-11 11:36:21 +01:00
bd032b8c3b Create error template 2021-05-11 05:52:52 +01:00
89163abbfb Use call block.super 2021-05-11 05:52:39 +01:00
d2d8b9012c Move forms to own directory 2021-05-10 20:17:56 +01:00
eaa9130b47 Center 404 correctly 2021-05-10 19:39:09 +01:00
767c8aff10 Change div to main 2021-05-10 19:02:01 +01:00
08a3169440 Apply style only to container div 2021-05-10 18:57:38 +01:00
a66db44a26 Change login button colour 2021-05-10 18:55:12 +01:00
bb3d0485d4 Create custom 404 page using base template 2021-05-10 18:55:01 +01:00
df3d51e6ec Create base template with navbar 2021-05-10 18:54:47 +01:00
f067aa1a1c Import all bootstrap modules 2021-05-10 18:54:06 +01:00
66c113fb8b Remove unnecessary tags 2021-05-10 16:10:00 +01:00
9270efeadf Add shadows and set overflow correctly 2021-05-10 15:35:18 +01:00
946f24ad41 Set repo div widths explicitly 2021-05-10 15:04:22 +01:00
2181ff9c33 Replace bootstrap source files with scss 2021-05-10 14:10:25 +01:00
62bc41692e Arrange into grid 2021-05-10 13:04:04 +01:00
f2dfd2e89e Add compiled bootstrap files 2021-05-10 11:46:05 +01:00
0897884de4 Use static files instead of CDN 2021-05-10 11:39:48 +01:00
84a58a4afe Add bootstrap scss 2021-05-10 11:39:19 +01:00
b01f326e4b Add y axis label 2021-05-10 08:30:39 +01:00
c047fb77cf Hide 0 on y axis 2021-05-10 08:26:06 +01:00
72d85618a3 Add units to graph tooltip 2021-05-10 07:27:14 +01:00
8e47638108 Add padding to container 2021-05-10 03:58:14 +01:00
e875446c0d Upgrade to bootstrap 5 2021-05-10 03:51:48 +01:00
0d2d7e0c72 Add root login view 2021-05-10 02:46:25 +01:00
428ba16d2b Revert account url 2021-05-10 02:36:09 +01:00
8469620dea Decrease width of login form 2021-05-10 02:28:54 +01:00
ecc94ec174 Move account urls to root 2021-05-10 02:08:57 +01:00
9591840e15 Implement method to subtract n months from datetime object 2021-05-10 01:26:42 +01:00
db270feb06 Hide overflowing text 2021-05-10 00:34:52 +01:00
ef4671e3ef Move login form higher 2021-05-10 00:34:38 +01:00
3f5a074fef Improve login form layout and aesthetic 2021-05-10 00:32:57 +01:00