-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
154 lines (135 loc) · 4.6 KB
/
index.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
<!doctype html>
<html>
<head>
<meta charset="utf8">
<title>Лекции Школы Разработки Интерфейсов</title>
<link rel="stylesheet" href="css/style.build.css">
<script data-main="js/app.build.js" src="js/require.min.js"></script>
</head>
<body>
<div id="body" class="container">
<div class="row">
<div class="span12">
<h1>Лекции Школы Разработки Интерфейсов</h1>
</div>
</div>
<ul class="nav nav-tabs">
<li><a href="#view">Обзор</a></li>
<li><a href="#add">Добавить</a></li>
<li><a href="#import">Импорт</a></li>
<li><a href="#export">Экспорт</a></li>
</ul>
<section id="view" class="section">
</section>
<section id="add" class="section">
</section>
<section id="import" class="section">
<div class="control-group">
<div class="controls">
<button class="btn import-start">Импортировать</button>
</div>
</div>
<div class="control-group">
<div class="controls">
<textarea class="import-area" cols="30" rows="10"></textarea>
</div>
</div>
</section>
<section id="export" class="section">
<div class="control-group">
<div class="controls">
<button class="btn export-start">Экспортировать</button>
</div>
</div>
<div class="control-group">
<div class="controls">
<textarea class="export-area" cols="30" rows="10"></textarea>
</div>
</div>
</section>
</div>
<!-- ####### Templates ####### -->
<!-- TODO: Move templates to separate files -->
<script id="lecture-template" type="text/template">
<div class="lecture-info-date">
<span class="lecture-date">
<span class="icon-calendar"></span>
<%= date %>
</span>
<span class="lecture-time">
<span class="icon-time"></span>
<%= time %>
</span>
</div>
<div class="lecture-info-about">
<span class="lecture-title">
<%= title %>
</span>
<span class="lecture-description">
<%= description %>
</span>
<span class="lecture-lecturer">
<%= lecturer %>
</span>
<span class="lecture-actions">
<a class="lecture-edit" href="#">
редактировать
</a>
<a class="lecture-delete" href="#">
удалить
</a>
</span>
</div>
</script>
<script id="schedule-template" type="text/template">
<div class="schedule-title">
<span class="icon-bookmark"></span>
<span class="schedule-title-text"><%= title %></span>
</div>
<div class="schedule-lectures">
</div>
</script>
<!-- TODO: Use datetime input -->
<script id="lecture-template-edit" type="text/template">
<form>
<div class="control-group control-group-datetime">
<label class="control-label">Дата</label>
<div class="controls">
<input type="text" name="date" placeholder="дд.мм.гг" value="<%= date %>">
</div>
<label class="control-label">Время</label>
<div class="controls">
<input type="text" name="time" placeholder="чч:мм" value="<%= time %>">
</div>
</div>
<div class="control-group">
<label class="control-label">Название</label>
<div class="controls">
<input class="input-xlarge" type="text" name="title" placeholder="Внеземной разум" value="<%= title %>">
</div>
</div>
<div class="control-group">
<label class="control-label">Лектор</label>
<div class="controls">
<input class="input-xlarge" type="text" name="lecturer" placeholder="Василий Дудко" value="<%= lecturer %>">
</div>
</div>
<div class="control-group">
<label class="control-label">Описание</label>
<div class="controls">
<textarea name="description"
placeholder="Одни ли мы во вселенной? Василий задавался этим вопросом с детства..."
rows="5"
><%= description %></textarea>
</div>
</div>
<div class="control-group">
<div class="controls">
<button type="submit" class="btn lecture-edit-save">Сохранить</button>
<button type="button" class="btn lecture-edit-cancel">Отмена</button>
</div>
</div>
</form>
</script>
</body>
</html>