forked from unisse-courses/s14-mp6
-
Notifications
You must be signed in to change notification settings - Fork 0
/
classrooms.html
188 lines (171 loc) · 6.97 KB
/
classrooms.html
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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" type="text/css" href="styles/articlestyle.css">
<link rel="stylesheet" type="text/css" href="styles/navstyle.css">
<title>DLSU Guide</title>
<script>
/* Search Overlay */
function openSearch() {
document.getElementById("searchOverlay").style.display = "block";
}
function closeSearch() {
document.getElementById("searchOverlay").style.display = "none";
}
/* Login & Register Overlay */
function openLogin() {
document.getElementById("loginOverlay").style.display = "block";
}
function closeLogin() {
document.getElementById("loginOverlay").style.display = "none";
}
/* Login & Register Toggle */
function toggleLogin() {
var x = document.getElementById("login");
if (x.style.display == "none") {
x.style.display = "block";
document.getElementById("register").style.display = "none";
} else {
x.style.display = "none";
document.getElementById("register").style.display = "block";
}
}
</script>
</head>
<header>
<!-- Spacer Fix -->
<div class="top-spacer-fix"></div>
<!-- Navigation Bar -->
<div id="fixed-navbar">
<div id="header-bottom-wrapper" class="dark">
<div class="nav-wrapper">
<a href="index.html">
<img src="img/logo_s.png">
</a>
<ul>
<li><a href="index.html" class="nav-dark nav-text">Home</a></li>
<li><a href="classrooms.html" class="nav-dark nav-text">Classrooms</a></li>
<li><a href="offices.html" class="nav-dark nav-text">Offices</a></li>
<li><a href="food.html" class="nav-dark nav-text">Food</a></li>
<li><a href="about.html" class="nav-dark nav-text">About</a></li>
<li style="float:right"><a href="#" class="nav-dark nav-text" onclick="openSearch()">Search</a></li>
<li style="float:right"><a href="#" class="nav-dark nav-text" onclick="openLogin()">Login</a></li>
</ul>
</div>
</div>
<div class="line"></div>
</div>
</header>
<body>
<!-- Search Overlay -->
<div id="searchOverlay" class="overlay">
<span class="closebtn" onclick="closeSearch()" title="Close Overlay">×</span>
<div class="overlay-content">
<form action="/action_page.php">
<input type="text" placeholder="Search.." name="search">
<button type="submit">O</button>
</form>
</div>
</div>
<!-- Login Overlay -->
<div id="loginOverlay" class="login-overlay">
<span class="closebtn" onclick="closeLogin()" title="Close Overlay">×</span>
<div class="login-page">
<div class="login-form">
<form class="register" id="register">
<input type="text" placeholder="User Name">
<input type="text" placeholder="Password">
<input type="text" placeholder="User Email">
<button type="button">Register</button>
<p class="msg"> Already Registered? <a href="#" onclick="toggleLogin()">Login</a></p>
</form>
<form class="login" id="login">
<input type="text" placeholder="User Name">
<input type="text" placeholder="Password">
<button type="button">Login</button>
<p class="msg"> Not Yet Registered? <a href="#" onclick="toggleLogin()">Register</a></p>
</form>
</div>
</div>
</div>
<!-- Divider -->
<div class="divider centered"><p>Classrooms</p></div>
<!-- Three-Column Article Cards-->
<div id="card-wrapper" class="card-wrapper">
<!--CARD 1-->
<div class="card card-has-margin">
<a href="articles/classrooms1.html">
<!-- Article Image -->
<div class="card-img">
<!-- Dimmer + Vignette -->
<div class="image-dimmer"></div>
<img src="img\articles\classrooms1.jpg">
<!-- Tag -->
<div class="tag-wrapper">
<a href="classrooms.html" class="tag-block"><p>Classrooms</p></a>
</div>
</div>
<!-- Article Description -->
<div class="card-container">
<div class="text-block text-dark">
<h4>Classrooms and Where to find Them</h4>
<p>March 11, 2020 • Hans Lao</p>
<p>
Like we all know, all the classrooms in DLSU are air
conditioned for the majority of the day. They don’t
use inverters, so the energy consumption is
staggering. Maybe...
</p>
</div>
</div>
</a>
</div>
<!--CARD 2-->
<div class="card card-has-margin">
<a href="articles/classrooms2.html">
<!-- Article Image -->
<div class="card-img">
<!-- Dimmer + Vignette -->
<div class="image-dimmer"></div>
<img src="img\articles\classrooms2.png">
<!-- Tag -->
<div class="tag-wrapper">
<a href="classrooms.html" class="tag-block"><p>Classrooms</p></a>
</div>
</div>
<!-- Article Description -->
<div class="card-container">
<div class="text-block text-dark">
<h4>WiFi in Your Classroom</h4>
<p>March 11, 2020 • Hans Lao</p>
<p>Nowadays you need WiFi to survive. As students we
know this because we need to submit our assignments
and what not over the internet through various
platforms. Unfortunately...</p>
</div>
</div>
</a>
</div>
</div>
</body>
<footer>
<div id="footer-wrapper" class="footer-wrapper centered">
<a href="index.html">
<img src="img/logo_s.png">
</a>
<div class="footer-top">
<p class="footer-text-left">
DLSU Guide is a website made to help students learn more about their university campus. It also serves as a partial requirement for CCAPDEV.
</p>
<p class="footer-text-right">
Anton Sta. Ana • Miguel Leyesa • Hans Lao<br>
Version 0.5
</p>
</div>
<div class="footer-bottom">
</div>
</div>
</footer>
</html>