Skip to content

Instantly share code, notes, and snippets.

@kinggoesgaming
Created November 29, 2018 21:41
Show Gist options
  • Save kinggoesgaming/5aff56fe941c8f7864d28625776f0eba to your computer and use it in GitHub Desktop.
Save kinggoesgaming/5aff56fe941c8f7864d28625776f0eba to your computer and use it in GitHub Desktop.
  • UserLogin: String username, String password

  • IncidentReport: String faculty, String location, long dateTime, String type, String details

  • Report: String username, IncidentReport report

  • Controllers for each page of GET / controllers.HomeController.index():Result

GET /logged controllers.HomeController.indexUser(): Result

GET /nothing controllers.LoginController.loginValidate():Result

GET /login controllers.LoginController.index():Result

GET /incident/report controllers.ReportController.index(): Result report incident

GET /incident/list controllers.ReportsListController.index(): Result list your own reported incidents

GET /reports controllers.ReportHandler.index(): Result admin listings

GET /confirmation controllers.ReportController.confirm(boolean serious): Result confirmation of report submission

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment