-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeleteLessonTeacher.html
185 lines (176 loc) · 13 KB
/
deleteLessonTeacher.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
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>NeoLearn</title>
<link rel="icon" href="images/greenBack.png" type="image/png" alt="NeoLearn">
<link rel="stylesheet" href="deleteStyle.css">
<!--προσοχη στα ονοματα css-->
<link rel="stylesheet" href="calendarL.css">
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
</head>
<body>
<!--slide bar αλλαζω αναλογα το παραθυρο που θελω !!!!!!-->
<div class="sidebar">
<img src="images/NL-white.png" class="logo" alt="NeoLearn">
<hr class="new1">
<a class="active" id="options">Βασικές επιλογές</a>
<a href="#news" onclick="newLessonBtn()" title="newLesson"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"
fill="currentColor" class="bi bi-plus-circle-fill" viewBox="0 0 16 16">
<path
d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0M8.5 4.5a.5.5 0 0 0-1 0v3h-3a.5.5 0 0 0 0 1h3v3a.5.5 0 0 0 1 0v-3h3a.5.5 0 0 0 0-1h-3z" />
</svg> Νέο Μάθημα</a>
<a href="teacher.html" title="courses"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor"
class="bi bi-mortarboard-fill" viewBox="0 0 16 16">
<path
d="M8.211 2.047a.5.5 0 0 0-.422 0l-7.5 3.5a.5.5 0 0 0 .025.917l7.5 3a.5.5 0 0 0 .372 0L14 7.14V13a1 1 0 0 0-1 1v2h3v-2a1 1 0 0 0-1-1V6.739l.686-.275a.5.5 0 0 0 .025-.917l-7.5-3.5Z" />
<path
d="M4.176 9.032a.5.5 0 0 0-.656.327l-.5 1.7a.5.5 0 0 0 .294.605l4.5 1.8a.5.5 0 0 0 .372 0l4.5-1.8a.5.5 0 0 0 .294-.605l-.5-1.7a.5.5 0 0 0-.656-.327L8 10.466z" />
</svg> Τα μαθήματα μου</a>
<a href="#about" onclick="editProfileBtn()" title="editProfile"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"
fill="currentColor" class="bi bi-person-fill-gear" viewBox="0 0 16 16">
<path
d="M11 5a3 3 0 1 1-6 0 3 3 0 0 1 6 0m-9 8c0 1 1 1 1 1h5.256A4.493 4.493 0 0 1 8 12.5a4.49 4.49 0 0 1 1.544-3.393C9.077 9.038 8.564 9 8 9c-5 0-6 3-6 4m9.886-3.54c.18-.613 1.048-.613 1.229 0l.043.148a.64.64 0 0 0 .921.382l.136-.074c.561-.306 1.175.308.87.869l-.075.136a.64.64 0 0 0 .382.92l.149.045c.612.18.612 1.048 0 1.229l-.15.043a.64.64 0 0 0-.38.921l-.074-.136c-.306-.561.308-1.175.869-.87l.136.075a.64.64 0 0 0 .92-.382l.045-.148ZM14 12.5a1.5 1.5 0 1 0-3 0 1.5 1.5 0 0 0 3 0" />
</svg> Επεξεργασία προφίλ</a>
</div>
<!--πειραζουμε css για τα χοντρικα ειναι αυτο-->
<!--το κεντρικο γκρι κοντεινερ-->
<div class="container">
<div class=".container text-black">
<div class="row">
<div class="container-fluid" id="header-container">
<ul class="navbar-nav ml-auto">
<li class="nav-item dropdown">
<a class="navbar-brand" href="#">
<div class="profile-container">
<div class="col" id="home-questionmark">
<svg xmlns="http://www.w3.org/2000/svg" width="35" height="35"
fill="currentColor" class="bi bi-houses d-inline-block align-text-top"
viewBox="0 0 16 16" style="color: #263238;" onclick="homeBtn()">
<path
d="M5.793 1a1 1 0 0 1 1.414 0l.647.646a.5.5 0 1 1-.708.708L6.5 1.707 2 6.207V12.5a.5.5 0 0 0 .5.5.5.5 0 0 1 0 1A1.5 1.5 0 0 1 1 12.5V7.207l-.146.147a.5.5 0 0 1-.708-.708zm3 1a1 1 0 0 1 1.414 0L12 3.793V2.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v3.293l1.854 1.853a.5.5 0 0 1-.708.708L15 8.207V13.5a1.5 1.5 0 0 1-1.5 1.5h-8A1.5 1.5 0 0 1 4 13.5V8.207l-.146.147a.5.5 0 1 1-.708-.708zm.707.707L5 7.207V13.5a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5V7.207z" />
</svg>
<div id="popoverContainer" style="display: inline-block;">
<svg xmlns="http://www.w3.org/2000/svg" width="35" height="35"
fill="currentColor"
class="bi bi-question-diamond d-inline-block align-text-top"
viewBox="0 0 16 16" style="color: #263238;">
<path
d="M6.95.435c.58-.58 1.52-.58 2.1 0l6.515 6.516c.58.58.58 1.519 0 2.098L9.05 15.565c-.58.58-1.519.58-2.098 0L.435 9.05a1.482 1.482 0 0 1 0-2.098L6.95.435zm1.4.7a.495.495 0 0 0-.7 0L1.134 7.65a.495.495 0 0 0 0 .7l6.516 6.516a.495.495 0 0 0 .7 0l6.516-6.516a.495.495 0 0 0 0-.7L8.35 1.134z" />
<path
d="M5.255 5.786a.237.237 0 0 0 .241.247h.825c.138 0 .248-.113.266-.25.09-.656.54-1.134 1.342-1.134.686 0 1.314.343 1.314 1.168 0 .635-.374.927-.965 1.371-.673.489-1.206 1.06-1.168 1.987l.003.217a.25.25 0 0 0 .25.246h.811a.25.25 0 0 0 .25-.25v-.105c0-.718.273-.927 1.01-1.486.609-.463 1.244-.977 1.244-2.056 0-1.511-1.276-2.241-2.673-2.241-1.267 0-2.655.59-2.75 2.286zm1.557 5.763c0 .533.425.927 1.01.927.609 0 1.028-.394 1.028-.927 0-.552-.42-.94-1.029-.94-.584 0-1.009.388-1.009.94" />
</svg>
</div>
</div>
<div class="col" id="profile-col">
<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40"
fill="currentColor"
class="bi bi-person-circle d-inline-block align-text-top"
viewBox="0 0 16 16" style="color: #263238;">
<path d="M11 6a3 3 0 1 1-6 0 3 3 0 0 1 6 0" />
<path fill-rule="evenodd"
d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8m8-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 1" />
</svg>
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button"
data-bs-toggle="dropdown" aria-expanded="false">
Samaras
<!--ονομα μαθητη ή καθηγητη αναλογα-->
</a>
<ul class="dropdown-menu" aria-labelledby="navbarDropdown">
<li><a class="dropdown-item" onclick="profileBtn()" id="click">Το προφίλ
μου</a></li>
<li>
<hr class="dropdown-divider">
</li>
<li><a class="dropdown-item" href="teacher.html" id="click" title="courses">Τα μαθήματα
μου</a></li>
<li>
<hr class="dropdown-divider">
</li>
<li><a class="dropdown-item" onclick="calendarBtn()" id="click">Το
ημερολόγιο μου</a></li>
<li>
<hr class="dropdown-divider">
</li>
<li><a class="dropdown-item" onclick="logOutBtn()" id="click">Έξοδος</a>
</li>
</ul>
</div>
</div>
</a>
</li>
</ul>
</div>
</div>
<hr class="new2">
<div class="row">
<div class="container-fluid" id="middle-container">
<h2>Διαγραφή μαθήματος</h2>
<div class="message-class">
Θέλετε σίγουρα να διαγράψετε το μάθημα;<p id="lessonTextElement"></p>
<div id="yes-id">Ναι <button type="button" class="btn btn-danger" id="deleteBtn"
onclick="showAlert(lessonTextElement)">Διαγραφή</button></div>
<div id="no-id">Όχι <button type="button" class="btn btn-primary" id="backBtn"
onclick="history.back()">Ακύρωση</button>
</div>
</div>
</div>
</div>
<div class="row">
<div class="sum-profile">
<svg xmlns="http://www.w3.org/2000/svg" width="60" height="80" fill="currentColor"
class="bi bi-person-circle d-inline-block align-text-top" viewBox="0 0 16 16"
style="color: rgb(0, 96, 100) ;">
<path d="M11 6a3 3 0 1 1-6 0 3 3 0 0 1 6 0" />
<path fill-rule="evenodd"
d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8m8-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 1" />
</svg>
<div class="container-md">
<div class="profile-details">
<p>ΑΛΕΞΑΝΔΡΟΣ ΣΑΜΑΡΑΣ <br>
Κατηγορία: ΚΑΘΗΓΗΤΗΣ, ΔΙΔΑΚΤΙΚΟ ΠΡΟΣΩΠΙΚΟ
<br>Τμήμα Εφαρμοσμένης Πληροφορικής (Department of Applied Informatics)
ΠΑΝΕΠΙΣΤΗΜΙΟ ΜΑΚΕΔΟΝΙΑΣ (UNIVERSITY OF MACEDONIA)
</p>
</div>
</div>
</div>
</div>
<hr class="new2">
<div class="row">
<div class="container-fluid" id="footer-container">
<div class="footer">
2023 NeoLearn All Rights Reserved.<br>
<a href="">Terms of UsePrivacy Policy2G Fair Use Policy</a>
</div>
</div>
</div>
</div>
<script src="calendarL.js"></script>
<script src="deleteTeacher.js"></script>
<script>
// Use unique identifiers for each link
var keyPrefix = 'lessonDescription_'; // Unique prefix
var lessonText = localStorage.getItem(keyPrefix + 'lessonText');
// Display the values in the desired elements on the new page
var lessonTextElement = document.getElementById('lessonTextElement');
if (lessonTextElement) {
lessonTextElement.textContent = lessonText;
}
</script>
<script>
// Enable Bootstrap popover
$(document).ready(function () {
$('#popoverContainer').popover({
content: 'H NeoLearn είναι μια διαδικτυακή εκπαιδευτική πλατφόρμα, η οποία παρέχει καινοτόμες μεθόδους μάθησης και αξιολόγησης των εκπαιδευομένων. Η πλατφόρμα προσφέρει εκπαιδευτικό υλικό και δραστηριότητες εκμάθησης γλωσσών διαδικτυακού προγραμματισμού όπως JavaScript, Java, PHP, κλπ.',
placement: 'bottom',
trigger: 'click', // You can change this to 'hover' if you want the popover to appear on hover
});
});
</script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous">
</script>
</body>