-
Notifications
You must be signed in to change notification settings - Fork 0
/
voti.html
177 lines (177 loc) · 6.95 KB
/
voti.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
<!DOCTYPE html>
<html lang="it">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="css/style-voti.css" />
<link rel="stylesheet" href="css/style-gen.css" />
<link
rel="shortcut icon"
href="css/image/logo cv2.png"
type="image/x-icon"
/>
<title>Classeviva V2 - Voti</title>
<script src="js/jquery.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js.cookie.min.js "></script>
<script src="js/logout.js"></script>
<script src="js/voti.js"></script>
</head>
<body>
<header>
<div id="account"><b>Account selezionato: Giacobazzi Oscavator</b></div>
<div id="box-logout">
<input type="submit" id="logout" value="Logout" />
</div>
</header>
<main>
<!--bottoni per tornare indietro e fare nuovi alunni-->
<div id="bottoni">
<button id="indietro">Torna<br />a Home</button>
<button id="aggiungi">Aggiungi<br />Valutazione</button>
</div>
<!--box lista voti-->
<div id="list-voti">
<div id="errore">Non ci sono valutazioni registrate</div>
</div>
<!--box lettura voti-->
<div id="box-voto" style="display: none">
<button id="modifica">
<img src="css/image/modifica.png" class="penna" />
</button>
<button class="chiudi">X</button><br />
Studente:
<div id="studente-associato"></div>
<br />
Valutazione:
<div id="voto-lett"></div>
<br />
Descrizione:
<div id="descrizione-lett"></div>
<br />
Data di assegnazione:
<div id="data-valutazione"></div>
<br />
<button id="elimina">Elimina Valutazione</button>
</div>
<!--box per la creazione di voto-->
<div id="lett-voto" style="display: none">
<div id="inserimento">
<button class="chiudi">X</button><br />
<b>
<label for="studenti">Studente:</label>
<select name="studente" id="studenti"></select>
<br />
<label for="voto">Voto:</label>
<select name="valutazioni" id="voto">
<option value="2">2</option>
<option value="2+">2+</option>
<option value="2.5">2,5</option>
<option value="3-">3-</option>
<option value="3">3</option>
<option value="3+">3+</option>
<option value="3.5">3,5</option>
<option value="4-">4-</option>
<option value="4">4</option>
<option value="4+">4+</option>
<option value="4.5">4,5</option>
<option value="5-">5-</option>
<option value="5">5</option>
<option value="5+">5+</option>
<option value="5.5">5,5</option>
<option value="6-">6-</option>
<option value="6" selected>6</option>
<option value="6+">6+</option>
<option value="6.5">6,5</option>
<option value="7-">7-</option>
<option value="7">7</option>
<option value="7+">7+</option>
<option value="7.5">7,5</option>
<option value="8-">8-</option>
<option value="8">8</option>
<option value="8+">8+</option>
<option value="8.5">8,5</option>
<option value="9-">9-</option>
<option value="9">9</option>
<option value="9+">9+</option>
<option value="9.5">9,5</option>
<option value="10-">10-</option>
<option value="10">10</option>
</select>
<br />
<label for="descrizione">Descrizione:</label><br />
<textarea cols="30" rows="4" id="descrizione"></textarea><br />
<label for="data">Data:</label>
<input type="date" name="Data" id="data" />
<button id="pubblica">Pubblica</button>
</b>
</div>
</div>
<!--box per la modifica di voto-->
<div id="modifica-box" style="display: none">
<div id="inserimentoMod">
<button class="chiudi">X</button><br />
<b>
<label for="studentiMod">Studente:</label>
<select name="studente" id="studentiMod"></select>
<br />
<label for="votoMod">Voto:</label>
<select name="valutazioni" id="votoMod">
<option value="2" id="2">2</option>
<option value="2+" id="2+">2+</option>
<option value="2.5" id="2.5">2,5</option>
<option value="3-" id="3-">3-</option>
<option value="3" id="3">3</option>
<option value="3+" id="3+">3+</option>
<option value="3.5" id="3.5">3,5</option>
<option value="4-" id="4-">4-</option>
<option value="4" id="4">4</option>
<option value="4+" id="4+">4+</option>
<option value="4.5" id="4.5">4,5</option>
<option value="5-" id="5-">5-</option>
<option value="5" id="5">5</option>
<option value="5+" id="5+">5+</option>
<option value="5.5" id="5.5">5,5</option>
<option value="6-" id="6-">6-</option>
<option value="6" id="6">6</option>
<option value="6+" id="6+">6+</option>
<option value="6.5" id="6.5">6,5</option>
<option value="7-" id="7-">7-</option>
<option value="7" id="7">7</option>
<option value="7+" id="7+">7+</option>
<option value="7.5" id="7.5">7,5</option>
<option value="8-" id="8-">8-</option>
<option value="8" id="8">8</option>
<option value="8+" id="8+">8+</option>
<option value="8.5" id="8.5">8,5</option>
<option value="9-" id="9-">9-</option>
<option value="9" id="9">9</option>
<option value="9+" id="9+">9+</option>
<option value="9.5" id="9.5">9,5</option>
<option value="10-" id="10-">10-</option>
<option value="10" id="10">10</option>
</select>
<br />
<label for="descrizioneMod">Descrizione:</label><br />
<textarea cols="30" rows="4" id="descrizioneMod"></textarea><br />
<label for="dataMod">Data:</label>
<input type="date" name="Data" id="dataMod" />
<button id="pubblicaMod">Pubblica</button>
</b>
</div>
</div>
</main>
<!--avvertimento-->
<div id="avvertimento" style="display: none;">
<div id="corpo">
<b>
<div id="attenzione">Attenzione!</div>
<p>
Sei sicuro di voler eliminare questa valutazione? <br />
Questa azione è irreversibile.
</p>
<button id="si">Si</button>
<button id="no">No</button>
</b>
</div>
</body>
</html>