-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
146 lines (141 loc) · 4.41 KB
/
index.html
File metadata and controls
146 lines (141 loc) · 4.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/index.css"> <!-- Include your CSS file -->
<title>Home Page</title>
<style>
.home-button {
text-decoration: none;
color: white;
}
.content-container {
display: flex;
justify-content: space-between;
padding: 50px;
}
.left-container {
left: -50px;
right:0px;
width: 60%; /* Adjust as needed */
background-color: white;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
padding: 60px;
position: relative; /* Added for positioning the new container */
}
.left-container:first-child {
margin-right: 5%; /* Create a small gap between containers */
}
@keyframes headingAnimation {
0% {
transform: translateY(40px);
}
100% {
transform: translateY(-40px);
}
}
.upward-heading {
animation: headingAnimation 2s ease infinite alternate;
}
h1 {
margin-top: 0;
}
p {
margin: 10px 0;
}
.form-group {
margin: 10px 0;
}
button {
background-color: #333;
color: white;
border: none;
padding: 10px 20px;
cursor: pointer;
}
h2 {
text-align: center;
margin: 20px 0;
}
.contact-us-container {
color: #333;
text-align: center;
padding: 20px 0;
}
/* New container styles */
.about-container {
position: absolute;
bottom: 90px; /* Adjust as needed */
left: 40px;
right:20px;
width: 35%;
background-color:white;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
color: #333;
padding: 10px;
text-align: center;
}
</style>
</head>
<body>
<!-- Navigation Strip -->
<div class="navigation-strip">
<!-- Home Button (You are already on the home page) -->
<a href="/" class="home-button">About us</a>
</div>
<!-- Home Page Content -->
<div class="content-container">
<!-- Left Container - Latest News -->
<div class="left-container">
<h2 class="upward-heading">Latest News</h2>
<!-- Content for the Latest News goes here -->
</div>
<!-- Left Container - Latest Circulars -->
<div class="left-container">
<h2 class="upward-heading">Latest Circulars</h2>
<!-- Content for the Latest Circulars goes here -->
</div>
<!-- New Container for About Options -->
<div class="about-container">
<p>About Admin</p>
<p>About Teacher</p>
<p>About Coordinator</p>
</div>
</div>
<!-- Right Container -->
<div class="right-container">
<!-- Original content for the right container here -->
<h1>OBE Accreditation Platform</h1>
<form action="/login" method="POST">
<div class="form-group ">
<a>Choose your role to continue:</a>
</div>
<div class="form-group">
<input type="radio" id="coordinator" name="role" value="coordinator" required>
<label for="coordinator">Coordinator</label>
</div>
<div class="form-group">
<input type="radio" id="admin" name="role" value="admin" required>
<label for="admin">Admin</label>
</div>
<div class="form-group">
<input type="radio" id="teacher" name="role" value="teacher" required>
<label for="teacher">Teacher</label>
</div>
<div class="form-group text-center">
<button type="submit">Continue</button>
</div>
</form>
</div>
<div class="contact-us-container">
<div id="contact-us-line">Contact Us</div>
</div>
</body>
<script>
window.history.pushState(null, '', window.location.href);
window.onpopstate = function () {
window.history.pushState(null, '', window.location.href);
};
</script>
</html>