diff --git a/src/faculty_controller.v b/src/faculty_controller.v index 058c8d6..c26efa7 100644 --- a/src/faculty_controller.v +++ b/src/faculty_controller.v @@ -1,3 +1,8 @@ module main -import vweb \ No newline at end of file +import vweb + +// @['/controller/faculty'; post] +// pub fn (mut app App) controller_get_faculty(username string, password string) vweb.Result { +// return $vweb.html() +// } \ No newline at end of file diff --git a/src/faculty_view.v b/src/faculty_view.v index 419297a..0a18464 100644 --- a/src/faculty_view.v +++ b/src/faculty_view.v @@ -23,5 +23,11 @@ pub fn (mut app App) faculty_schedule() vweb.Result { @['/faculty/attendance'; get] pub fn (mut app App) faculty_attendance() vweb.Result { + return $vweb.html() +} + +@['/faculty/signup'; get] +pub fn (mut app App) faculty_signup() vweb.Result { + return $vweb.html() } \ No newline at end of file