-
Notifications
You must be signed in to change notification settings - Fork 0
/
bacheca.html
106 lines (106 loc) · 3.61 KB
/
bacheca.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
<!DOCTYPE html>
<html lang="it">
<head>
<!--parte universale (o quasi) per tutte le schermate-->
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="css/style-bacheca.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 - Bacheca</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/bacheca.js"></script>
</head>
<body>
<!--header con l'account e il bottone logout (universale per tutte le pagine)-->
<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-->
<main>
<!--bottoni universali che devono essere presenti in tutte le schermate-->
<div id="bottoni">
<button id="indietro">Torna<br />a Home</button>
<button id="aggiungi">Aggiungi Comm.</button>
</div>
<!--box con le comunicazioni salvate-->
<div id="box-comm">
<div id="errore">Non ci sono comunicazioni registrate</div>
</div>
<!--box per la lettura delle comunicazioni, di base nascosto-->
<div id="box-lett" style="display: none">
<button id="modifica">
<img src="css/image/modifica.png" class="penna" />
</button>
<button class="chiudi">X</button>
<h1 id="titolo-comm"></h1>
<br /><br />
<div id="corpo-comm"></div>
<br /><br /><br />
<button id="elimina">Elimina Comm.</button>
</div>
<!--box per la creazione della comunicazione, di base nascosto-->
<div id="lett-comm" style="display: none">
<div id="inserimento">
<button class="chiudi">X</button><br />
<b>
<label for="titolo">Titolo:</label> <br />
<textarea name="Titolo" id="titolo" cols="30" rows="1"></textarea>
<br /><br />
<label for="corpoC">Corpo:</label> <br />
<textarea name="Corpo" id="corpoC" cols="30" rows="10"></textarea>
<br />
<button id="pubblica">Pubblica</button>
</b>
</div>
</div>
<!--box per la modifica di una comunicazione-->
<div id="modifica-box" style="display: none">
<div id="inserimentoMod">
<button class="chiudi">X</button><br />
<b>
<label for="titoloMod">Titolo:</label> <br />
<textarea
name="TitoloMod"
id="titoloMod"
cols="100%"
rows="1"
></textarea>
<br /><br />
<label for="corpoMod">Corpo:</label> <br />
<textarea
name="CorpoMod"
id="corpoMod"
cols="100%"
rows="10"
></textarea>
<br />
<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 la comunicazione? <br />
Questa azione non può essere annullata.
</p>
<button id="si">Si</button>
<button id="no">No</button>
</b>
</div>
</body>
</html>