Commit Graph

14 Commits

Author SHA1 Message Date
Daniel Thee Roperto
9344b57eff Issue #9 - Improving frontend. 2016-09-06 19:53:18 +10:00
Brendan Heywood
034383f4f2 Removed br tag 2016-09-06 19:53:18 +10:00
Daniel Thee Roperto
583516a3c7 Issue #9 - Checking if outage is ongoing or just a warning. Improved hooks, tests and HTML output. 2016-09-06 17:17:26 +10:00
Daniel Thee Roperto
aca6a0122e WIP Issue #9 - Fixed message on all pages, need to work on UI and DB. 2016-09-05 19:50:26 +10:00
Daniel Thee Roperto
98de8a6c69 Basic form validation for create/edit outage. Checks if starttime is in past, stoptime is after starttime, warningduration is not zero and title size. Issue #7. 2016-09-05 16:33:06 +10:00
Daniel Thee Roperto
18e0583ba5 Issue #12 - fixed code standard problems preventing Travis to build. 2016-09-02 15:38:19 +10:00
Daniel Thee Roperto
06b3e4f918 Issue #12: English references removed, using language pack, except on code related to Issue #11 later. 2016-09-02 14:42:01 +10:00
Daniel Thee Roperto
2cf9afb5c5 Namespace changes, outagedb changed to used static methods instead on singleton, utils renamed to outagelib (better name when using the 'use' directive). Issue #1 2016-09-02 11:55:17 +10:00
Daniel Thee Roperto
1dafbc8672 Basic delete outage entry implemented. Still missing rules on which ones can be deleted. 2016-08-31 16:48:21 +10:00
Daniel Thee Roperto
9e1b5e8315 Editing outage entry implemented. 2016-08-31 16:19:50 +10:00
Daniel Thee Roperto
1d7a042e65 Several changes to easily integrate with moodle db api. Create outage page working. 2016-08-31 15:03:36 +10:00
Daniel Thee Roperto
d9b852792e Improved outage class encapsulation. Added outagedb as DB Context. Other minor changes. 2016-08-31 11:26:27 +10:00
Daniel Thee Roperto
0dea3d39a9 Code compliance. 2016-08-30 17:49:56 +10:00
Daniel Thee Roperto
f6cbd0f828 Building basic structure. 2016-08-30 14:35:00 +10:00