From a76f625f6069c0074c5e9dfe161456c514d04877 Mon Sep 17 00:00:00 2001 From: Aritra Banik Date: Sun, 26 May 2024 15:54:30 +0530 Subject: [PATCH] first commit --- .gitignore | 1 + a4.nimble | 13 ++++++ src/a4.nim | 0 src/static/styles.css | 59 +++++++++++++++++++++++++++ src/view/faculty_admin.html | 68 ++++++++++++++++++++++++++++++++ src/view/faculty_login.html | 26 ++++++++++++ src/view/student_attendance.html | 34 ++++++++++++++++ 7 files changed, 201 insertions(+) create mode 100644 .gitignore create mode 100644 a4.nimble create mode 100644 src/a4.nim create mode 100644 src/static/styles.css create mode 100644 src/view/faculty_admin.html create mode 100644 src/view/faculty_login.html create mode 100644 src/view/student_attendance.html diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..496ee2c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.DS_Store \ No newline at end of file diff --git a/a4.nimble b/a4.nimble new file mode 100644 index 0000000..958127e --- /dev/null +++ b/a4.nimble @@ -0,0 +1,13 @@ +# Package + +version = "0.1.0" +author = "cereci5049" +description = "School Management System" +license = "GPL-2.0-or-later" +srcDir = "src" +bin = @["a4"] + + +# Dependencies + +requires "nim >= 2.0.2" diff --git a/src/a4.nim b/src/a4.nim new file mode 100644 index 0000000..e69de29 diff --git a/src/static/styles.css b/src/static/styles.css new file mode 100644 index 0000000..2591001 --- /dev/null +++ b/src/static/styles.css @@ -0,0 +1,59 @@ +body { + font-family: Arial, sans-serif; + margin: 0; + padding: 0; + background-color: #f4f4f4; +} + +header { + background-color: #333; + color: white; + padding: 10px; + text-align: center; +} + +main { + max-width: 800px; + margin: 0 auto; + padding: 20px; + background-color: white; + box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); +} + +table { + width: 100%; + border-collapse: collapse; +} + +th, td { + padding: 10px; + text-align: left; + border-bottom: 1px solid #ddd; +} + +th { + background-color: #f4f4f4; +} + +label { + display: block; + margin-bottom: 5px; +} + +input[type="text"], +input[type="password"] { + width: 100%; + padding: 10px; + margin-bottom: 15px; + border: 1px solid #ccc; + border-radius: 5px; +} + +button { + background-color: #007bff; + color: white; + border: none; + padding: 10px 20px; + cursor: pointer; + border-radius: 5px; +} \ No newline at end of file diff --git a/src/view/faculty_admin.html b/src/view/faculty_admin.html new file mode 100644 index 0000000..5c34a02 --- /dev/null +++ b/src/view/faculty_admin.html @@ -0,0 +1,68 @@ + + + + + + + Faculty Admin + + +
+

Faculty Admin

+ +
+ +
+

Welcome, Teacher

+ + + +
+

Edit Profile

+
+ + + + + + + + + + +
+
+ +
+

Manage Student Attendance

+ + + + + + + + + + + + + + + + + + +
Student NameDateStatusAction
John Doe2023-08-25PresentMark Absent
+
+
+ + \ No newline at end of file diff --git a/src/view/faculty_login.html b/src/view/faculty_login.html new file mode 100644 index 0000000..a6590e6 --- /dev/null +++ b/src/view/faculty_login.html @@ -0,0 +1,26 @@ + + + + + + + Faculty Login + + +
+

Faculty Login

+
+ +
+
+ + + + + + + +
+
+ + \ No newline at end of file diff --git a/src/view/student_attendance.html b/src/view/student_attendance.html new file mode 100644 index 0000000..91b8043 --- /dev/null +++ b/src/view/student_attendance.html @@ -0,0 +1,34 @@ + + + + + + + Student Attendance + + +
+

Student Attendance

+
+ +
+ + + + + + + + + + + + + + + + +
Student NameDateStatus
John Doe2023-08-25Present
+
+ + \ No newline at end of file