-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathoptions.html
329 lines (321 loc) · 16.2 KB
/
options.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
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
<html dir="rtl" lang="he">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Options</title>
<script type="text/javascript" src="js/lib/jquery.min.js"></script>
<script type="text/javascript" src="js/options.js"></script>
<script type="text/javascript" src="js/dataAccess.js"></script>
<script type="text/javascript" src="js/lib/bootstrap.min.js"></script>
<script type="text/javascript" src="js/lib/notify.min.js"></script>
<link rel="stylesheet" type="text/css" href="css/lib/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/option.css">
</head>
<body>
<div style="height: 30px;background: #f7ecb5;font-size: 18px;color: #1b6d85;text-align: center;overflow: hidden"
id="my-extension-alert">
<p style="float: left;margin-left: 10px;cursor: pointer" id="close-my-extension-alert">X</p>
<p>לידיעתכם! תוסף זה אינו שייך למרכז האקדמי לב בשום צורה. לכל דיווח אנא שלחו אמייל לכתובת [email protected]</p>
</div>
<div id="menu">
<a class="option" div-id="account">
<img src="image/options_img/student_icon.png" class="image"/>
<p class="text">חשבון</p>
</a>
<a class="option" div-id="courses">
<img src="image/options_img/book_icon.png" class="image"/>
<p class="text">קורסים</p>
</a>
<a class="option" div-id="notifications">
<img src="image/options_img/bell_icon.png" class="image"/>
<p class="text">התראות</p>
</a>
<a class="option" div-id="advanced">
<img src="image/options_img/nut_icon.png" class="image"/>
<p class="text">הגדרות מתקדמות</p>
</a>
<a class="option lastoption" div-id="about">
<img src="image/options_img/about_icon.png" class="image"/>
<p class="text">אודות</p>
</a>
</div>
<div id="contenedor">
<div id="account">
<div id="form">
<h2> פרטי חשבון של אתרים של המרכז האקדמי לב</h2>
<p style="color:#f7ecb5">
בשל העדכון האחרון של Moodle, אנא ודא שאתה מחובר למערכת
</p>
<div class="activeWeb" style="display: none;visibility: hidden">
<input type="checkbox" id="mo"/>
<span class="checkboxtext">מודל</span>
<!--<input type="checkbox" id="re"/>
<span class="checkboxtext">חיבור מרחוק</span>-->
<input type="checkbox" id="mz"/>
<span class="checkboxtext lastcheckboxtext">לב נט (מזק)</span>
</div>
</div>
</div>
<div id="courses" style="display: none;">
<h2>
באזור זה ניתן להציג קורסים מסויימים במודל
</h2>
<button id="Refresh" class="btn btn-default Refresh">רענן</button>
<button id="updateCourses" class="btn btn-default Refresh">עדכן</button>
<div style="float: left;padding: 0 10px;line-height: 30px;font-size: 16px;margin-top: 20px;">
<div style="background-color: #ffb;height: 30px;width: 30px; float: left;margin-right: 3px"></div>
קורס של הסמסטר הנוכחי
</div>
<!--progress doen't work in IE9- -->
<progress class="Refresh" value="0" max="2" style="display: none;"></progress>
<table id="coursesTable">
<tr>
<th style="padding:0 12px">הצג</th>
<th>שם של הקורס</th>
<th style="padding:0 12px"> הצג</th>
<th>שם של הקורס</th>
</tr>
</table>
</div>
<div id="notifications" style="display: none;">
<h2>
באזור זה ניתן להגדיר התראות
</h2>
<div id="HWNotifications" class="inlines">
<span>
<input type="checkbox" id="HWfirstAlarm"/>
<span for="HWfirstAlarm" class="checkboxtext">להודיע על שיעורי בית?</span>
<br/>
<label for="HWfirstAlarmTime" style="display: none;">כמה שעות לפני?</label>
<input type="number" name="HWfirstAlarmTime" id="HWfirstAlarmTime" min="0.5" step="0.5" value="1"
style="display: none;" class="form-control"/>
</span><span>
<input type="checkbox" id="HWSecondAlarm" style="display: none;"/>
<span class="checkboxtext" for="HWSecondAlarm" style="display: none;">להודיע פעמיים?</span>
<br/>
<label for="HWSecondAlarmTime" style="display: none;">כמה שעות לפני?</label>
<input type="number" name="SecondAlarm" id="HWSecondAlarmTime" min="0.5" step="0.5" value="0.5"
style="display: none;" class="form-control"/>
</span>
</div>
<div id="UENotifications" class="inlines">
<span>
<input type="checkbox" id="UEfirstAlarm"/>
<span class="checkboxtext" for="UEfirstAlarm">להודיע על אירועים?</span>
<br/>
<label for="UEfirstAlarmTime" style="display: none;">כמה שעות לפני?</label>
<input type="number" name="firstAlarmTime" id="UEfirstAlarmTime" min="0.5" step="0.5" value="1"
style="display: none;" class="form-control"/>
</span><span>
<input type="checkbox" id="UESecondAlarm" style="display: none;"/>
<span class="checkboxtext" for="UESecondAlarm" disabled="true"
style="display: none;">להודיע פעמיים?</span>
<br/>
<label for="UESecondAlarmTime" style="display: none;">כמה שעות לפני?</label>
<input type="number" name="SecondAlarm" id="UESecondAlarmTime" min="0.5" step="0.5" value="0.5"
style="display: none;" class="form-control"/>
</span>
</div>
<button class="btn btn-default" id="updateNotifications">עדכן</button>
</div>
<div id="advanced" style="display: none;">
<h2>
באזור זה ניתן להגדיר הגדרות מתקדמות
</h2>
<div id="advanced_content" class="panel">
<span class="buttons">
<button class="btn btn-default" data-toggle="collapse" data-parent="#advanced"
data-target="#general">כללי</button>
<button class="btn btn-default" data-toggle="collapse" data-parent="#advanced"
data-target="#moodle">מודל</button>
<button class="btn btn-default" data-toggle="collapse" data-parent="#advanced"
data-target="#levnet">לב נט </button>
<button class="btn btn-default" data-toggle="collapse" data-parent="#advanced" data-target="#popup">חלון ההתראות</button>
<!--<button class="btn btn-default" data-toggle="collapse" data-parent="#advanced" data-target="#colors">צבע</button>-->
<button class="btn btn-default" data-toggle="collapse" data-parent="#advanced" data-target="#theme">סגנונות</button>
</span>
<div id="general" class="collapse in">
<p>
-------------------------------------כללי-------------------------------------
</p>
<p class="helper" style="display:none">הראה את שיעורי הבית:</p>
<input type="radio" name="from" id="portal" style="display:none"/>
<span class="checkboxtext" style="display:none">מהדף הראשי של המודל</span>
<input type="radio" name="from" id="calendar" style="display:none"/>
<span class="checkboxtext" style="display:none">מתצוגת לוח-שנה</span>
<p class="option inline">הצג עד
<input type="number" min="1" max="99" step="1" value="3" id="hwDays" class="form-control"/>
ימים של שיעורי בית
ועדכן כל
<input type="number" min="1" max="24" step="1" value="5" id="hwUpdate" class="form-control"/>
שעות
</p>
<p class="option">
<input type="checkbox" id="hiddeNofication"/>
<span class="checkboxtext">הסתר את ההתראה אחרי פרק זמן</span>
</p>
<p class="option">
<input type="checkbox" id="todaysHW"/>
<span class="checkboxtext"> תזכורת לשיעורי הבית היומיים בהפעלת הדפדפן</span>
</p>
<p class="option">
<input type="checkbox" id="hwChanges"/>
<span class="checkboxtext">הודע על שינויים בהגשות של שיעורי הבית</span>
</p>
<p>
</div>
<div id="moodle" class="collapse">
<p>
-------------------------------------מודל-------------------------------------
</p>
<p class="option">
<input type="checkbox" id="moodleTopic"/>
<span class="checkboxtext">הסתר את "נושא האתר" בדף הראשי</span>
</p>
<p class="option">
<input type="checkbox" id="hiddeModdelHelp"/>
<span class="checkboxtext">הסתר את "ניתן להגדיר הקורסים שלי בהגדרות"</span>
</p>
<!--<p class="option disabled">
<input type="checkbox" id="hiddeNoSelectedCourseInMoodle" disabled/>
<span class="checkboxtext" >הראה רק מטלות מקורסים שלי </span>
</p>-->
<p class="option">
<input type="checkbox" id="showTestDay"/>
<span class="checkboxtext"> הראה תאריכי בחינות בקורסים שלי </span>
</p>
<p class="option">
<input type="checkbox" id="MoodleHiddeUE"/>
<span class="checkboxtext">הסתר אירועים</span>
</p>
</div>
<div id="levnet" class="collapse">
<p>
-------------------------------------לב נט-------------------------------------
</p>
<p class="option">
<input type="checkbox" id="showGrades"/>
<span class="checkboxtext"> הראה ממוצע בדף הציונים </span>
</p>
<p class="option">
<input type="checkbox" id="customGrades"/>
<span class="checkboxtext">הוסף אפשרויות סינון בטבלת הציונים </span>
</p>
<p class="option">
<input type="checkbox" id="customAverage"/>
<span class="checkboxtext">אפשר שינוי ציונים בתצוגה לצורך חישוב ממוצע</span>
</p>
<p class="option">
<input type="checkbox" id="coursesOrder"/>
<span class="checkboxtext"> הצג לוח זמנים בטבלה </span>
</p>
<p class="option">
<input type="checkbox" id="coursesAddToCalendar"/>
<span class="checkboxtext"> הראה אפשרות להוסיף קורסים ליומן </span>
</p>
</div>
<div id="popup" class="collapse">
<p>
-------------------------------חלון ההתראות-------------------------------
</p>
<p class="option">
<input type="checkbox" id="updateOnPopup"/>
<span class="checkboxtext">עדכן נתונים מחדש בלחיצה על סמל ההרחבה </span>
</p>
<p class="option">
<input type="checkbox" id="showBadge"/>
<span class="checkboxtext">הצג סכ"ה של שיעורי הבית בסמל</span>
</p>
<p class="option">
<input type="checkbox" id=hiddeNoSelectedCourseInWindows/>
<span class="checkboxtext">הראה רק מטלות מקורסים שלי </span>
</p>
<p class="option">
<input type="checkbox" id=hiddeTasksDone/>
<span class="checkboxtext">הסתר מטלות שהושלמו</span>
</p>
<p class="option">
<input type="checkbox" id="hiddeUE"/>
<span class="checkboxtext">הסתר אירועים</span>
</p>
<p class="option">
<input type="checkbox" id="hiddeSameDay"/>
<span class="checkboxtext"> הראה רק מטלה אחת מאותו תאריך</span>
</p>
<p class="option">
<input type="checkbox" id="limitedHw"/>
<span class="checkboxtext">
הראה עד
<input type="number" min="1" max="99" step="1" id="limitedHwAmount" class="form-control"/>
מטלות של אותו קורס
</span>
</p>
</div>
<div id="theme" class="collapse">
<p>
-----------------------------------סגנונות-----------------------------------
</p>
<figure>
<img src="image/newSyle.png"/>
<figcaption>
<input type="radio" name="style" id="new"/>
סגנון עם שיעורי הבית
</figcaption>
</figure>
<figure>
<img src="image/classicSyle.png"/>
<figcaption>
<input type="radio" name="style" id="classic"/>
סגנון קלאסי
</figcaption>
</figure>
<br/>
</div>
<div id="colors" class="collapse">
<p>
-----------------------------------צבעים-----------------------------------
</p>
</div>
<p>
<button class="btn btn-default" id="updateSettings" data-loading-text="<div class='loader'></div>טוען">
עדכן
</button>
</p>
</div>
</div>
<div id="about" style="display: none;">
<p>
כלים לסטודנטים של המרכז האקדמי לב
<br/>
גירסה: <var id="version"></var>
</p>
<p>
הרחבה זו פותחה על ידי דוד בן עטר
<br/>
מייל: [email protected]
</p>
<p>
<details>
<summary>קרדיט</summary>
<ul>
<li>ליוסף כשר על פיתוח האפשרות להסתיר קורסים במודל.</li>
<li>למתן פחימה על תמיכת התוסף.</li>
</ul>
</details>
</p>
<p>
<details>
<summary>תנאים</summary>
<ul>
<li>אין לנתונים המאוחסנים בהרחבה זו הצפנה חזקה, ולכן איננו אחראים על המידע (כגון שם משתמש וסיסמא).</li>
<li>איננו מאחסנים נתונים על השרתים שלנו, רק בזיכרון של כרום בו התקנת התוסף מתבצעת.</li>
<li>להרחבה זו יש גישה אך ורק לאתרים הקשורים למוסד (למשל: moodle.jct.ac.il, 10.1.1.1).</li>
<li>איננו אחראים על תקלה כלשהי בהרחבה זו, אבל זה תמיד אפשרי (ומומלץ) לשלוח מייל ולדווח תקלה.</li>
<li>הרחבה זו היא קוד פתוח הנמצא בכתובת: <a href="https://github.com/desdo09/Jct_tools">https://github.com/desdo09/Jct_tools</a>
</li>
</ul>
</details>
</p>
</div>
</div>
</body>
</html>