Commit graph

31 commits

Author SHA1 Message Date
mwalbeck
0b1e01a848 Small css changes 2016-11-15 00:02:34 +01:00
mwalbeck
4fc0d5c793 Added session flashes and validation errors to views and add session flashes in controllers 2016-11-01 13:03:39 +01:00
mwalbeck
74eedfdba4 Changed delete view to a popup instead of seperate page, and a few layout changes 2016-10-28 14:44:31 +02:00
mwalbeck
c386f84434 added custom css file, added Add question button to show test view again and cleaned the view up a bit 2016-10-27 17:46:06 +02:00
mwalbeck
d2aaf8addc made the question titles on test show view expandable to show question and options 2016-10-27 17:24:41 +02:00
mwalbeck
12f6d58099 fixed bug password wouldn't get hashed when changed through admin/mod view, added so group 1 test can be seen by every mod 2016-10-27 12:59:17 +02:00
mwalbeck
6b8526971b fixed bug where tests page in moderator view wouldn't load 2016-10-25 16:10:54 +02:00
mwalbeck
d2060660d4 Added missed validation, few style changes and added dynamic field adding of option fields in question creation and edit 2016-10-24 19:12:23 +02:00
mwalbeck
98be182fb2 Added last bit of validation 2016-10-24 15:24:45 +02:00
mwalbeck
aa6e5653e1 Added validation for options, change a bit of layout and added some html5 validation 2016-10-24 13:38:02 +02:00
mwalbeck
71c79d3b2a Added validation to site with barebones error reporting to users 2016-10-22 17:22:26 +02:00
mwalbeck
7af12d0f5b Added validation to tests creation and fixed a bug related to amount of wrong questions allowed in tests 2016-10-22 13:57:56 +02:00
mwalbeck
b9ae12aa60 small code changes 2016-10-03 11:34:59 +02:00
mwalbeck
5eb1e899b6 checkmarks and X's are know aligned with text on answer page 2016-10-03 11:15:19 +02:00
mwalbeck
c8ebd1756f added better feedback page on test after each question 2016-09-29 20:53:57 +02:00
mwalbeck
7d160134b8 added full time limit functionality for tests 2016-09-28 11:28:12 +02:00
mwalbeck
40aa77386b small layout changes and added time stamp in session to set time limit on test 2016-09-26 17:34:05 +02:00
mwalbeck
bde382c1ff fixed bug where refreshing on question page during test taking would advance the question 2016-09-24 22:20:17 +02:00
mwalbeck
8afccdc7f5 added seed for questions and options and passed test now show up under completed tests 2016-09-23 16:02:13 +02:00
mwalbeck
f010bbf128 fixed test taking logic to accommodate multi answer questions 2016-09-22 15:57:39 +02:00
mwalbeck
d4d634363d added functionality for multi answer questions and 2 different question types 2016-09-22 14:28:27 +02:00
mwalbeck
40992d676a added routing for mod section and put admin/mod uri selection into a function to one view can be used for both 2016-09-21 15:53:54 +02:00
mwalbeck
3569d1909b admin and mod view for test and users now have group show, and creating tests and users have dropdown for groups 2016-09-21 12:39:29 +02:00
mwalbeck
fd715bda05 refactored a bit of code and edit the views to be more DRY 2016-09-18 15:00:44 +02:00
mwalbeck
fc2cbef237 refactored some admin function to prepar for the addition of the moderator section 2016-09-16 17:37:31 +02:00
mwalbeck
8fb7e8576f users are now only showns general tests and tests from their groups and test info is now stored in testdetails or failure or completion 2016-09-12 14:51:03 +02:00
mwalbeck
75253b0b64 finished basic test taking functionality 2016-09-10 18:08:33 +02:00
mwalbeck
7987e74a6e did some more refactoring and add more test taking functionality 2016-09-10 15:17:31 +02:00
mwalbeck
bc6183991d more logic for test taking and started moving logic from controllers to models 2016-09-09 12:19:49 +02:00
mwalbeck
3a8ec97891 started on logic for taking tests 2016-09-07 18:26:58 +02:00
mwalbeck
6dd296a664 added files 2016-09-01 11:37:49 +02:00