-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathiets.html
219 lines (207 loc) · 7.76 KB
/
iets.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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
<!DOCTYPE html>
<html lang="nl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=yes">
<title>WebLeertaak</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="styling.css">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
</head>
<style>
.alignleft {float: left;}
.alignright {float: right;}
.overlay {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: rgba(0, 0, 0, 0.7);
transition: opacity 500ms;
visibility: hidden;
opacity: 0;
}
.overlay:target {
visibility: visible;
opacity: 1;
}
.popup {
margin: 70px auto;
padding: 20px;
background: #00FF00;
border-radius: 5px;
width: 30%;
position: relative;
transition: all 2s ease-in-out;
}
.popup .close {
position: absolute;
top: 20px;
right: 30px;
transition: all 200ms;
font-size: 30px;
font-weight: bold;
color: #333;
}
.popup .content {
max-height: 30%;
overflow: auto;
}
p {text-align: center;}
div.a {text-ident: 50px;}
table, th, td {border: 1px solid black; border-collapse: collapse;}
th, td {padding: 5px; background-color: greenyellow;}
td {background-color: greenyellow;}
th {text-align: left;}
table#t01 {background-color: greenyellow; border: transparent}
input{background-color: greenyellow; border: transparent}
</style>
<body>
<!--Name and avatar-->
<div class="a w3-container w3-yellow">
<h1 class="alignright" style="font-size:110%"><b>Kevin</b><img src="https://cdn4.iconfinder.com/data/icons/flat-pro-business-set-1/32/people-customer-unknown-512.png" style="width:50px;height:50px;"></h1>
</div>
<!--Buttons-->
<div class="w3-container w3-cell-middle w3-grey">
<button onclick="location.href='homepagina.html'" class="w3-btn w3-round-xlarge w3-hover-blue fill">Home</button>
<button onclick="location.href='profielpagina.html'" class="w3-btn w3-round-xlarge w3-hover-blue fill">Profiel</button>
<button class="w3-btn w3-blue w3-round-xlarge w3-hover-blue w3-background-grey fill">Voortgang</button>
</div>
<div style="height:10px" class="w3-container w3-blue"></div>
<!--Body text-->
<div class="w3-container">
<br><h style="font-size:200%"><b>Voortgang</b><br></h>
<p class="alignright">
Student: Kevin          
<br>
Telefoon: 06-23126104     
<br>
E-mail: kevin.goes@student.hu.nl
<br>
<img src="Google%20Maps%20Hilversum.PNG" style="width:250px;height:150px;">
<br><br>
<img src="burddown_chart.png" style="width:250px;height:150px;">
</p>
<table id="t01" bgcolor="#00FF00">
<tr>
<th>Vakcode</th>
<th>ECTS</th>
<th>Datum behaald</th>
</tr>
<tr>
<td><input style="font-size:20px;" type="text"></td>
<td><input style="font-size:20px; width: 40px;" type="number" id="ECTS1">
</td>
<td><input style="font-size:20px; width: 175px;" type="date"></td>
</tr>
<tr>
<td><input style="font-size:20px;" type="text"></td>
<td><input style="font-size:20px; width: 40px;" type="number" id="ECTS2">
</td>
<td><input style="font-size:20px; width: 175px;" type="date"></td>
</tr>
<tr>
<td><input style="font-size:20px;" type="text"></td>
<td><input style="font-size:20px; width: 40px;" type="number" id="ECTS3">
</td>
<td><input style="font-size:20px; width: 175px;" type="date"></td>
</tr>
<tr>
<td><input style="font-size:20px;" type="text"></td>
<td><input style="font-size:20px; width: 40px;" type="number" id="ECTS4">
</td>
<td><input style="font-size:20px; width: 175px;" type="date"></td>
</tr>
<tr>
<td><input style="font-size:20px;" type="text"></td>
<td><input style="font-size:20px; width: 40px;" type="number" id="ECTS5">
</td>
<td><input style="font-size:20px; width: 175px;" type="date"></td>
</tr>
<tr>
<td><input style="font-size:20px;" type="text"></td>
<td><input style="font-size:20px; width: 40px;" type="number" id="ECTS6">
</td>
<td><input style="font-size:20px; width: 175px;" type="date"></td>
</tr>
<tr>
<td><input style="font-size:20px;" type="text"></td>
<td><input style="font-size:20px; width: 40px;" type="number" id="ECTS7">
</td>
<td><input style="font-size:20px; width: 175px;" type="date"></td>
</tr>
<tr>
<td><input style="font-size:20px;" type="text"></td>
<td><input style="font-size:20px; width: 40px;" type="number" id="ECTS8">
</td>
<td><input style="font-size:20px; width: 175px;" type="date"></td>
</tr>
<tr>
<td><input style="font-size:20px;" type="text"></td>
<td><input style="font-size:20px; width: 40px;" type="number" id="ECTS9">
</td>
<td><input style="font-size:20px; width: 175px;" type="date"></td>
</tr>
<tr>
<td><input style="font-size:20px;" type="text"></td>
<td><input style="font-size:20px; width: 40px;" type="number" id="ECTS10">
</td>
<td><input style="font-size:20px; width: 175px;" type="date"></td>
</tr>
<tr>
<td><input style="font-size:20px;" type="text"></td>
<td><input style="font-size:20px; width: 40px;" type="number" id="ECTS11">
</td>
<td><input style="font-size:20px; width: 175px;" type="date"></td>
<tr>
<td><input style="font-size:20px;" type="text"></td>
<td><input style="font-size:20px; width: 40px;" type="number" id="ECTS12">
</td>
<td><input style="font-size:20px; width: 175px;" type="date"></td>
</table>
</div>
<!--Popup-->
<br>
<a class="button" href="#popup" onclick="Calculate()">Aantal studiepunten berekenen</a>
<br><br>
<button>Bereken studietempo</button>
<div id="popup" class="overlay">
<div class="popup">
<h1>Aantal Studiepunten:</h1>
<a class="close" href="#" onclick="Calculate()">×</a>
<div class="content">
<input type="text" id="sum" name="sum" style="background-color: #00FF00; border: none;" value=""/>
</div>
</div>
</div>
<script>
function Calculate() {
var ects1 = parseInt(document.getElementById("ECTS1").value);
var ects2 = parseInt(document.getElementById("ECTS2").value);
var ects3 = parseInt(document.getElementById("ECTS3").value);
var ects4 = parseInt(document.getElementById("ECTS4").value);
var ects5 = parseInt(document.getElementById("ECTS5").value);
var ects6 = parseInt(document.getElementById("ECTS6").value);
var ects7 = parseInt(document.getElementById("ECTS7").value);
var ects8 = parseInt(document.getElementById("ECTS8").value);
var ects9 = parseInt(document.getElementById("ECTS9").value);
var ects10 = parseInt(document.getElementById("ECTS10").value);
var ects11 = parseInt(document.getElementById("ECTS11").value);
var sum = document.getElementById("sum");
sum.value = ects1 + ects2 + ects3 + ects4 + ects5 + ects6 + ects7 + ects8 + ects9 + ects10 + ects11;
}
</script>
<!--Black line-->
<div>
<br><br>
<hr style="height:3px;border:none;color:#333;background-color:#333;"/>
</div>
<!--Bottom-->
<footer>
<p><i>Deze opdracht is gemaakt in het kader van het vak Analyse & User Interface<br></i></p>
<p class="alignleft"><i> Auteur: Kevin Goes</i></p>
<p class="alignright"><i>Datum: Februari 2019 </i></p>
</footer>
</body>
</html>