-
Notifications
You must be signed in to change notification settings - Fork 0
/
course-editor.html
349 lines (325 loc) · 14.6 KB
/
course-editor.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
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="CSS/stepic.css" type="text/css">
<link rel="stylesheet" href="CSS/vendor.css" type="text/css">
<link rel="stylesheet" href="CSS/custom.css" type="text/css">
<link rel="shortcut icon" href="https://stepik.org/static/classic/ico/favicon.ico" type="image/x-icon">
<title>Stepik</title>
</head>
<body>
<main class="course__editor_page" role="main">
<div class="page-fragment-wrap course-page-header">
<div class="page-fragment">
<div class="flex-row middle-md form-row">
<div class="col-md-2 course-page-header__headline">
<img class="course-avatar" src="img/course-avatar.png" alt="">
</div>
<div class="col-md-7">
<input class="st-input st-input_width_max st-size-normal ember-view ember-text-field"
id="course_name"
type="text"
maxlength="73"
placeholder="Введите название курса">
</div>
</div>
<div class="flex-row">
<div class="col-md-12">
<ul class="st-tabs st-tabs_style_transparent course-page-header__tabs">
<li>
<a class="st-tabs__link ember-view ember-link active" id="#" href="#">Информация</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="page-fragment">
<div class="flex-row form-row">
<div class="col-md-12 margin__top_bottom_medium choice__many_rows_wrapper">
<p>Приватность курса:</p>
<label class="s-radio st-size-normal choice__many_rows" for="privacy_allowed_all">
<input class="s-radio__input ember-view" id="privacy_allowed_all" name="course_privacy" type="radio">
<span class="s-radio__border">
<span class="s-radio__circle"></span>
</span>
<span class="s-radio__label">Доступен для всех</span>
</label>
<br>
<label class="s-radio st-size-normal choice__many_rows" for="privacy_allowed_author_for_creating_time">
<input class="s-radio__input ember-view" id="privacy_allowed_author_for_creating_time" name="course_privacy" type="radio">
<span class="s-radio__border">
<span class="s-radio__circle"></span>
</span>
<span class="s-radio__label">Доступен только автору на время создания</span>
</label>
<br>
<label class="s-radio st-size-normal choice__many_rows" for="privacy_allowed_via_invitation">
<input class="s-radio__input ember-view" id="privacy_allowed_via_invitation" name="course_privacy" type="radio">
<span class="s-radio__border">
<span class="s-radio__circle"></span>
</span>
<span class="s-radio__label">Доступен по приглашениям (приватный курс)</span>
</label>
<p class="p__small note">Приватные курсы - это платная услуга.
<a href="#">Расценки подписок</a>
</p>
</div>
</div>
</div>
<div class="page-fragment-wrap divider default"></div>
<div class="page-fragment">
<div class="flex-row">
<div class="col-md-7 margin__top_bottom_medium">
<div class="flex-row flex-row_paddings_none">
<div class="col-xs-12 col-md-12">
<p class="p__small p__note_bookmark_wrapper">
<img class="p__note_bookmark" src="img/note_bookmark.svg">
Этот курс адаптивный и будет подстраиваться под ваш уровень знаний
</p>
</div>
</div>
<div class="video__upload">
<div class="flex-row center-md actions__area">
<div class="col-md-12">
<div class="flex-row">
<div class="col-md-12">
<button class="button st-size-normal" type="button">Upload video</button>
</div>
</div>
<div class="flex-row">
<div class="col-md-12">
<p class="p__or">or</p>
</div>
</div>
<div class="flex-row flex-row_paddings_none">
<div class="col-xs-12 col-md-12">
<input class="st-input st-input_width_max st-size-small ember-view ember-text-field"
id="editor-course-video-link"
type="text"
placeholder="Paste a link to video file here (most probably should ends with .mp4)...">
</div>
</div>
</div>
</div>
<div class="flex-row flex-row_paddings_none notes__area">
<div class="col-xs-12 col-md-12">
<p class="p__small">You can upload video up to 200 MBytes in size. For larger files, compress them first:</p>
<ol class="p__small">
<li>Using ffmpeg tool and H.264 codec:
<br>
<span class="text__monospace">ffmpeg -i
<span class="uppercase">initial_video</span>
.mp4 -codec:a copy -vcodec libx264 -preset
<br>
slow -crf 25
<span class="uppercase">compressed_video</span>
.mp4
</span>
</li>
<li>Using Avidemux, free tool, also available for any platform.</li>
</ol>
<p class="p__small">See also
<a href="https://vimeo.com/help/compression" target="_blank">Vimeo guidelines</a>
for best practices.
</p>
</div>
</div>
</div>
<div class="course__about">
<div class="flex-row flex-row_paddings_none">
<div class="col-xs-12 col-md-12">
<label class="st-size-large" for="course_description">О курсе</label>
</div>
</div>
<div class="flex-row flex-row_paddings_none course__description">
<div class="col-xs-12 col-md-12">
<textarea class="st-input st-input_width_max st-size-normal ember-view ember-text-area"
id="course_description"
rows="5"
placeholder="Введите описание курса"></textarea>
</div>
</div>
</div>
<div class="course__teacher">
<div class="flex-row flex-row_paddings_none">
<div class="col-xs-12 col-md-12">
<label class="st-size-large" for="course_teacher_id">Преподаватели</label>
</div>
</div>
<div class="flex-row flex-row_paddings_none">
<div class="col-xs-8 col-md-5">
<input class="st-input st-input_width_max st-size-prenormal ember-view ember-text-field border__right_none"
id="course_teacher_id"
type="text"
placeholder="Введите ID преподавателя">
</div>
<div class="col-xs-4 col-md-7">
<button class="button st-size-prenormal btn__border_rad_null white" type="button">Добавить</button>
</div>
</div>
<ol class="flex-row flex-row_paddings_none course-index__authors-list">
<li class="col-xs-12 col-md-12 course-index__author ember-view author-widget" id="">
<div class="author-widget__header">
<img class="author-widget__avatar" src="img/teacher-a_carpov.png" alt="">
<div class="author-widget__right">
<a class="author-widget__link ember-view ember-link" id="" href="#">Анатолий Карпов</a>
<div class="author-widget__short">Институт биоинформатики</div>
</div>
</div>
<div class="author-widget__details">Выпускник факультета психологии СПбГУ, аспирант кафедры общей психологии СПбГУ. Занимается экспериментальными исследованиями в области когнитивной психологии. Преподает курс математической статистики и анализа данных в R для биологов в Институте биоинформатики</div>
<img class="icon__action_delete" src="img/btn-close.svg" alt="">
</li>
</ol>
</div>
</div>
<div class="col-md-offset-1 col-md-4 margin__top_bottom_medium">
<div class="flex-row flex__direction_column_wrapper">
<div class="column__item link__more_wrapper">
<p class="p__small">
<a class="link__more_gray" href="#">Подробнее об адаптивных курсах</a>
</p>
</div>
<div class="column__item course__short_description margin__bottom_medium">
<label class="st-size-large" for="course_short_description">Коротко о курсе</label>
<textarea class="st-input st-input_width_max st-size-prenormal ember-view ember-text-area"
id="course_short_description"
rows="5"
placeholder="Введите краткое описание курса"></textarea>
</div>
<div class="column__item course__short_description parameters">
<div class="flex-row flex-row_paddings_none">
<div class="col-xs-6 col-md-6">
<p class="p__small param">Дата начала:</p>
</div>
<div class="col-xs-6 col-md-6">
<p class="p__small val">30 апреля 2016 г.</p>
</div>
</div>
</div>
<div class="column__item course__short_description parameters">
<div class="flex-row flex-row_paddings_none">
<div class="col-xs-6 col-md-6">
<p class="p__small param">Последний дедлайн:</p>
</div>
<div class="col-xs-6 col-md-6">
<p class="p__small val">4 июня 2016 г.</p>
</div>
</div>
</div>
<div class="column__item course__short_description parameters margin__bottom_small">
<div class="flex-row flex-row_paddings_none middle-xs">
<div class="col-xs-6 col-md-6">
<label class="st-size-prenormal param" for="workload_per_week">Нагрузка в неделю:</label>
</div>
<div class="col-xs-6 col-md-6 position__relative">
<input class="st-input st-input_width_max st-size-prenormal ember-view ember-text-field margin__null"
id="workload_per_week"
type="text">
<span class="st-size-prenormal form_note__after_value">часов</span>
</div>
</div>
</div>
<div class="column__item course__short_description parameters margin__bottom_small">
<div class="flex-row flex-row_paddings_none middle-xs">
<div class="col-xs-6 col-md-6">
<label class="st-size-prenormal param" for="supported_languages">Язык:</label>
</div>
<div class="col-xs-6 col-md-6">
<select id="supported_languages"
class="st-select st-size-prenormal st-select_font_normal ember-view ember-select st-select st-select_font_normal margin__null">
<option id="ember1119" value="en" class="ember-view">English</option>
<option id="ember1121" value="es" class="ember-view">Español</option>
<option id="ember1123" value="ru" class="ember-view">Русский</option>
<option id="ember1125" value="uk" class="ember-view">Українська</option>
<option id="ember1127" value="zh-cn" class="ember-view">简体中文</option>
</select>
</div>
</div>
</div>
<div class="column__item course__short_description parameters margin__bottom_medium">
<div class="flex-row flex-row_paddings_none">
<div class="col-xs-12">
<label class="st-size-prenormal param" for="course_cert">Сертификат от:</label>
</div>
</div>
<div class="flex-row flex-row_paddings_none">
<div class="col-xs-12">
<textarea class="st-input st-input_width_max st-size-prenormal ember-view ember-text-area margin__bottom_medium"
id="course_cert"
rows="3"></textarea>
<div class="divider default"></div>
</div>
</div>
</div>
<div class="column__item margin__bottom_medium">
<label class="st-size-large" for="course_creator_id">Создатели</label>
<br>
<div class="course__creator_item margin__bottom_small">
<span id="" class="course-index__author ember-view user-avatar">
<a class="ember-view ember-link" id="" href="#">
<img class="course__creator_avatar" src="img/logo-bioinform-inst.png" alt="">
<span class="user-avatar__name">Bioinformatics Institute</span>
</a>
<img class="icon__action_delete" src="img/btn-close.svg">
</span>
</div>
<div class="flex-row flex-row_paddings_none">
<div class="col-xs-8">
<input class="st-input st-input_width_max st-size-prenormal ember-view ember-text-field margin__null border__right_none"
id="course_creator_id"
type="text"
placeholder="Введите ID создателя">
</div>
<div class="col-xs-4">
<button class="button st-button_width_max st-size-prenormal btn__border_rad_null white" type="button">Добавить</button>
</div>
</div>
</div>
<div class="column__item margin__bottom_medium">
<div class="flex-row flex-row_paddings_none">
<div class="col-xs-12">
<label class="st-size-large" for="course_requirements">Требования</label>
</div>
</div>
<div class="flex-row flex-row_paddings_none">
<div class="col-xs-12">
<textarea class="st-input st-input_width_max st-size-prenormal ember-view ember-text-area"
id="course_requirements"
rows="4"></textarea>
</div>
</div>
</div>
<div class="column__item margin__bottom_medium">
<div class="flex-row flex-row_paddings_none">
<div class="col-xs-12">
<label class="st-size-large" for="course_target_public">Целевая аудитория</label>
</div>
</div>
<div class="flex-row flex-row_paddings_none">
<div class="col-xs-12">
<textarea class="st-input st-input_width_max st-size-prenormal ember-view ember-text-area"
id="course_target_public"
rows="4"></textarea>
</div>
</div>
</div>
<div class="column__item">
<div class="course-index__selfpaced-note">
<span class="ember-view svg-icon info2_icon" id="">
<svg viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"><g transform="translate(1 1)" fill="none" fill-rule="evenodd"><path d="M15.065 19.186c-.47 1.974 1.459-.43 1.86.48.266.602-1.557 1.855-2.865 2.807 0 0-.673.467-1.134.465-.041.02-.066.03-.066.03l.002-.03a1.44 1.44 0 0 1-.293-.045l-.145-.037c-.804-.208-1.23-1.04-1.03-1.88l1.12-4.709.505-2.127c.47-1.975-1.49.42-1.892-.49-.265-.6 1.525-1.863 2.833-2.814 0 0 .673-.467 1.134-.465l.065-.03v.03c.096.005.194.02.292.044l.145.038c.804.208 1.294 1.057 1.095 1.896l-1.12 4.71-.506 2.127zm-.206-9.77c-1.16 0-2.1-.98-2.1-2.19 0-1.211.94-2.192 2.1-2.192 1.16 0 2.1.981 2.1 2.191s-.94 2.192-2.1 2.192z" fill="currentColor"></path><ellipse stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" cx="14" cy="14" rx="14" ry="14"></ellipse></g></svg>
</span>
<span class="st-size-prenormal">Все курсы на платформе бесплатны.
<br>
Все материалы доступны сейчас для свободного прохождения.
</span>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
</body>
</html>