-
Notifications
You must be signed in to change notification settings - Fork 0
/
accueilEnseignant.html
246 lines (163 loc) · 11.2 KB
/
accueilEnseignant.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
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
<!DOCTYPE html>
<html>
<head>
<title>e-learning enseignant</title>
<link rel="stylesheet" href="style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap" rel="stylesheet">
</head>
<body>
<header class="header">
<img src="ntic-logo.png" style="width: 110px; margin: 0;" alt="ntic">
<h1 id="home">E-learning NTIC.</h1>
<span id="accountinfo">
<h4> BOUANAKA CHAFIA</h4>
<svg xmlns="http://www.w3.org/2000/svg" style="padding:5px;" width="25" fill="currentColor" class="bi bi-person-circle" viewBox="0 0 16 16">
<path d="M11 6a3 3 0 1 1-6 0 3 3 0 0 1 6 0z"/>
<path fill-rule="evenodd" d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm8-7a7 7 0 0 0-5.468 11.37C3.242 11.226 4.805 10 8 10s4.757 1.225 5.468 2.37A7 7 0 0 0 8 1z"/>
</svg></span>
</header>
<section class="container">
<svg id="sidebar" class="shadow" style=" cursor: pointer; " xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="currentColor" class="bi bi-list" viewBox="0 0 16 16">
<path fill-rule="evenodd" d="M2.5 12a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5z"/>
</svg>
<nav class="sidebar shadow">
<span style=" display: inline-flex;margin-left: 10px;" >
<h3 >STUDENTS: </h3>
<span style="margin-left: 50px; ">
<svg onclick="deleteuser()" style="cursor: pointer; margin-right:0; " xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-person-dash" viewBox="0 0 16 16">
<path fill-rule="evenodd" d="M11 7.5a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 0 1h-4a.5.5 0 0 1-.5-.5z"/>
<path d="M1 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H1zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/>
</svg>
</span>
</span>
<span id="filter">
<button class="btn filterbtn" onclick="filter(1)">section 1</button>
<button class="btn filterbtn" onclick="filter(2)">section 2</button>
<button class="btn filterbtn" onclick="filter(3)">group 1</button>
<button class="btn filterbtn" onclick="filter(4)">group 2</button>
<button class="btn filterbtn" onclick="filter(5)">group 3</button>
<button class="btn filterbtn" onclick="filter(6)">group 4</button>
</span>
</span>
</span>
<div id="filtered"></div>
</ul>
</nav>
<section class="main">
<div class="cover">
<h1>welcome back!</h1>
<h1 style="font-size:xx-large ;">M. Bouanaka Chafia</h1>
<span style="display: inline-flex;">
<h6 style="color: rgb(122, 122, 122);" >From :</h6> <h5 style="color: rgb(110, 238, 25);">University of constantine 2</h5>
</span>
</div>
<div id="dashboard" class="dashboard shadow">
<h2 >Dashboard</h2>
<div id="dashboardhead">
<input style="width: 65%; margin: 20px; align-self: flex-start;" type="text" class="input" name="rechercher" id="" placeholder="search..">
<div id="announce"><h4>Announcements/</h4><h4>Announcements/</h4><h4>Announcements/</h4><h4>Announcements/</h4><h4>Announcements/</h4><h4>Announcements/</h4><h4>Announcements/</h4><h4>Announcements/</h4></div>
</div>
<div class="module shadow">
<h2 style="padding: 15px;">Your modules:</h2>
<button class="a" id="gl2"><div>
<h3>Genie Logiciel 2</h3><h6>L3</h6> </div>
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-arrow-right-circle-fill" viewBox="0 0 16 16">
<path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zM4.5 7.5a.5.5 0 0 0 0 1h5.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3a.5.5 0 0 0 0-.708l-3-3a.5.5 0 1 0-.708.708L10.293 7.5H4.5z"/>
</svg></button>
<button class="a" id="ao" ><div>
<h3>Architecture des ordinateurs </h3><h6>L2</h6></div>
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-arrow-right-circle-fill" viewBox="0 0 16 16">
<path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zM4.5 7.5a.5.5 0 0 0 0 1h5.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3a.5.5 0 0 0 0-.708l-3-3a.5.5 0 1 0-.708.708L10.293 7.5H4.5z"/>
</svg></button>
<button class="a" id="psd" ><div>
<h3>Programmation et Structures des données</h3><h6>L1</h6></div><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-arrow-right-circle-fill" viewBox="0 0 16 16">
<path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zM4.5 7.5a.5.5 0 0 0 0 1h5.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3a.5.5 0 0 0 0-.708l-3-3a.5.5 0 1 0-.708.708L10.293 7.5H4.5z"/>
</svg></button>
<button class="a" class="a" id="se" ><div>
<h3>Systemes d'exploitation</h3><h6>L2</h6></div><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-arrow-right-circle-fill" viewBox="0 0 16 16">
<path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zM4.5 7.5a.5.5 0 0 0 0 1h5.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3a.5.5 0 0 0 0-.708l-3-3a.5.5 0 1 0-.708.708L10.293 7.5H4.5z"/>
</svg></button>
<button class="a" id="dac" ><div>
<h3>Developpment d'app concurrants</h3><h6>L3</h6></div><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-arrow-right-circle-fill" viewBox="0 0 16 16">
<path d="M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zM4.5 7.5a.5.5 0 0 0 0 1h5.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3a.5.5 0 0 0 0-.708l-3-3a.5.5 0 1 0-.708.708L10.293 7.5H4.5z"/>
</svg></button>
</div>
<div class=" moduleconf shadow" >
<div >
<a href="accueilEnseignant.html">
<svg style="cursor: pointer;" id="closetab" xmlns="http://www.w3.org/2000/svg" width="25" fill="currentColor" class="bi bi-arrow-left-circle" viewBox="0 0 16 16">
<path fill-rule="evenodd" d="M1 8a7 7 0 1 0 14 0A7 7 0 0 0 1 8zm15 0A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-4.5-.5a.5.5 0 0 1 0 1H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5H11.5z"/>
</svg></a>
<h1 style="font-size: x-large; padding: 15px;" >Update module schedule:</h1>
</div>
<table id="moduletable" >
<th>weeks</th><th >content</th>
<tr class="week">
<td>week 1</td> <td class="cnt" onclick="selectedweek(this)">Syllabus </td></tr>
<tr class="week" ><td>week 2</td> <td class="cnt" onclick="selectedweek(this)">Chapter 01</td></tr>
<tr class="week"><td>week 3</td> <td class="cnt"onclick="selectedweek(this)" >Chapter 02</td></tr>
<tr class="week"> <td>week 4</td> <td class="cnt"onclick="selectedweek(this)" >Chapter 03</td></tr>
</table>
<div id="modulebtns">
<button class="btn weekbtn shadow" onclick="addweek()">ADD<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-calendar-plus" viewBox="0 0 16 16">
<path d="M8 7a.5.5 0 0 1 .5.5V9H10a.5.5 0 0 1 0 1H8.5v1.5a.5.5 0 0 1-1 0V10H6a.5.5 0 0 1 0-1h1.5V7.5A.5.5 0 0 1 8 7z"/>
<path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"/>
</svg></button>
<button class="btn weekbtn shadow" onclick="updateweek()"> UPDATE
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-calendar-check" viewBox="0 0 16 16">
<path d="M10.854 7.146a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 1 1 .708-.708L7.5 9.793l2.646-2.647a.5.5 0 0 1 .708 0z"/>
<path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"/>
</svg>
</button>
<button class="btn weekbtn shadow" onclick="deleteweek()">DELETE<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-calendar-x" viewBox="0 0 16 16">
<path d="M6.146 7.146a.5.5 0 0 1 .708 0L8 8.293l1.146-1.147a.5.5 0 1 1 .708.708L8.707 9l1.147 1.146a.5.5 0 0 1-.708.708L8 9.707l-1.146 1.147a.5.5 0 0 1-.708-.708L7.293 9 6.146 7.854a.5.5 0 0 1 0-.708z"/>
<path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"/>
</svg></button>
</div>
</span>
<input class="input" id="inpw" type="password" name="password" placeholder="password">
<h6 style="color: rgba(0, 0, 0, 0.324);">enter your password to save informations. </h6>
<a href="accueilEnseignant.html">
<button class="btn shadow" id="save"> Save </button>
</a>
</div>
</div>
</section>
</section>
<div class="shadow tab-overlay insert">
<button id="closetab" onclick="closetab()">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" class="bi bi-x-circle" viewBox="0 0 16 16">
<path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/>
<path d="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z"/>
</svg>
</button>
<h1 style="font-size: x-slarger;" >Add weeks:</h1>
<label for="fname"> Week number:</label>
<input class="input" id="weeknumber" type="number" name="nb" >
<label for="lname"> Content: </label>
<input class="input" id="content" type="text" name="cnt" placeholder="enter content name..">
<span> <label for="uplaod">Upload file:</label></span> <input type="file" name="upload" placeholder="choose file" accept=".pdf">
<button class="btn shadow" id="submitA" onclick="addweek()" style="width: 10vh; align-self: center;"> Add </button>
</div>
<div class="shadow tab-overlay update">
<button id="closetab" onclick="closetab()">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" class="bi bi-x-circle" viewBox="0 0 16 16">
<path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/>
<path d="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z"/>
</svg>
</button>
<h1 style="font-size: x-larger; text-align: center;" >Update week's content:</h1>
<input class="input" id="content2" type="text" name="cnt" placeholder="enter new content name..">
<span> <label for="uplaod">Upload file:</label></span> <input type="file" name="upload" placeholder="choose file" accept=".pdf">
<button class="btn shadow" id="submitB" onclick="updateweek()" style="width: 10vh; align-self: center;"> save </button>
</div>
<footer style="position: absolute; bottom:0px;" >
Copyright © Université Abdelhamid Mehri - Constantine 2. <br>
Ce site repose sur la plateforme Moodle, sous licence libre. Il est maintenu par Dr. Ali Sahnoun<br>
Contact : elearning@univ-constantine2.dz<br>
</footer>
<script type="text/javascript" src="scriptenseignant.js"></script>
</body>
</html>