1
0
mirror of https://github.com/matt-fidd/stratos.git synced 2026-01-01 22:59:28 +00:00
Commit Graph

358 Commits

Author SHA1 Message Date
df1c572e14 Added title to class test tables 2022-03-04 10:36:37 +00:00
c9e826d016 Lint cleanup with new rules 2022-03-03 09:21:43 +00:00
80291efc6d NPM updates 2022-03-03 02:25:56 +00:00
805d870755 Added validation for individual class page 2022-03-03 02:19:10 +00:00
959576585d Added class route, contains mostly real data but some test data too 2022-03-03 02:17:53 +00:00
2eafa45b9d Added styling for individual class page 2022-03-03 02:08:44 +00:00
246363a128 Added individual class page view 2022-03-03 02:08:23 +00:00
6fcb275aaf Add components for class page 2022-03-03 02:08:04 +00:00
e98f8c5026 Generalise test onclick handler 2022-03-03 02:06:16 +00:00
b3942491d2 Make dashboard use new testTable component 2022-03-03 02:05:00 +00:00
f8982af977 Turn a table of tests into a component 2022-03-03 02:04:41 +00:00
9c66a50973 Add User.shortName 2022-03-03 01:58:47 +00:00
dd5778e872 Class should fetch class members too 2022-03-03 01:58:26 +00:00
63e6fde021 Generalise getTeacher to getUser 2022-03-03 01:57:49 +00:00
6879622bea Add adminItem__title component 2022-03-03 01:52:26 +00:00
fbb4b7bccd Add space-contents mixin 2022-03-03 01:51:47 +00:00
74bc82e5a3 Made admin header on desktop sticky 2022-03-03 01:51:30 +00:00
e641ff0796 Admin section headers should be more prominent 2022-02-28 11:51:26 +00:00
b214c7858a Added Class.getTests() 2022-02-28 11:49:02 +00:00
7474d3d9b7 NPM updates 2022-02-28 09:26:55 +00:00
6ed7f09ce8 Lint cleanup 2022-02-28 09:16:06 +00:00
cca155aa4a Added my own npm package for eslint config 2022-02-28 09:16:06 +00:00
59467b8bde Split db utility modules down into individual parts 2022-02-27 01:12:55 +00:00
e1b5b3261e Added gulp tasks for cleaning config dir, cloning sample ones and allowing user edits 2022-02-26 23:25:37 +00:00
c90d9168f4 Added gulp tasks for initialising db and inserting test data 2022-02-26 23:24:37 +00:00
98170277a9 Add gulp-rename and prompt-sync packages 2022-02-26 23:18:34 +00:00
ae9339e80d Move db utility modules from self-contained to importable 2022-02-26 23:17:56 +00:00
cc353694b6 Updated gulpfile to use modern syntax 2022-02-26 22:30:40 +00:00
f299ecd727 Close database connection when finished with it 2022-02-25 19:52:46 +00:00
0ac1b1bb73 Fixed bug where handlebars can't access getters 2022-02-25 19:52:46 +00:00
3b5b9f7d88 Populate tests and classes pages 2022-02-25 19:52:46 +00:00
28f8b8dae8 Add ability to extract TestTemplate from Test 2022-02-25 19:52:46 +00:00
85d25439fd Add ability to extract Class from Test 2022-02-25 19:52:46 +00:00
7f6b1cfb97 Add ability to extract creator Account from TestTemplate 2022-02-25 19:52:45 +00:00
67e34e2c93 Add ability to extract teachers Accounts from Class 2022-02-25 19:52:45 +00:00
d5bc5a9619 Add ability to extract Subject from Class 2022-02-25 19:52:45 +00:00
6ee3e90f9b Added Subject constructor 2022-02-25 19:52:45 +00:00
28e95b8cc3 Prepare views for data injection 2022-02-25 19:52:45 +00:00
c6433f4594 Fix bug where tests on the current day weren't selected in recent or upcoming filters 2022-02-25 16:48:11 +00:00
0ad2741884 Changed a test date to fall on today and fixed bug caused by sql styling 2022-02-25 16:48:01 +00:00
32c83cd308 Populate dashboard screen with real data 2022-02-25 16:30:21 +00:00
8063cad2f4 Don't fetch unneccasary records from db 2022-02-25 15:52:56 +00:00
73bf0f699c Added User.getClasses 2022-02-25 15:52:33 +00:00
f6efa74a89 Added Class constructor 2022-02-25 15:52:07 +00:00
57af81cc98 Consistent SQL query formatting 2022-02-25 14:44:35 +00:00
2fac6e7aba Add sessions table to cleanDb in test data 2022-02-25 14:24:43 +00:00
440587b57e Removed unneccasary Student method 2022-02-25 13:18:06 +00:00
98e7b125c4 Added User.getTests 2022-02-25 13:17:07 +00:00
f16cab9f8b Added Test constructor 2022-02-25 13:16:34 +00:00
48176a28fe Added TestDate class to help format dates correctly 2022-02-25 13:15:36 +00:00