-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
98 lines (76 loc) · 2.8 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
<form class="form-horizontal" method="post" action="push.php">
<fieldset>
<!-- Form Name -->
<legend></legend>
<meta charset="utf-8">
<title>Отправить уведомление</title>
<link href="css/bootstrap.css" rel="stylesheet">
<div class="header">
<h1>Лачи</h1>
<p>Отправка уведомлений всем пользователям приложения</p>
</div>
<!-- Text input-->
<div class="form-group">
<label class="col-md-4 control-label" for="textinput">Заголовок</label>
<div class="col-md-4">
<input id="title" name="title" type="text" placeholder="Обязательно" class="form-control input-md" required="required">
</div>
</div>
<!-- Textarea -->
<div class="form-group">
<label class="col-md-4 control-label" for="textarea">Текст уведомления</label>
<div class="col-md-4">
<textarea class="form-control" id="body" name="body"></textarea>
</div>
</div>
<div class="form-group">
<label class="col-md-4 control-label" for="textinput">Изображение (URL)</label>
<div class="col-md-4">
<input id="img" name="img" type="text" placeholder="Прямая ссылка на изображение (опицонально)" class="form-control input-md">
</div>
</div>
<div class="form-group">
<label class="col-md-4 control-label" for="textinput">Ссылка на мероприятие (URL)</label>
<div class="col-md-4">
<input id="urlEvent" name="urlEvent" type="text" placeholder="Опционально" class="form-control input-md">
</div>
</div>
<!-- Multiple Checkboxes -->
<div class="form-group">
<label class="col-md-4 control-label" for="checkboxes">Звук</label>
<div class="col-md-4">
<div class="checkbox">
<label for="checkboxes-0">
<input type="hidden" name="sound" value="0" />
<input type="checkbox" name="sound" id="sound" value="1">
да
</label>
</div>
</div>
</div>
<div class="form-group">
<label class="col-md-4 control-label" for="checkboxes">Вибрация</label>
<div class="col-md-4">
<div class="checkbox">
<label for="checkboxes-0">
<input type="hidden" name="vibrate" value="0" />
<input type="checkbox" name="vibrate" id="vibrate" value="1">
да
</label>
</div>
</div>
</div>
<!-- File Button -->
<div class="form-group">
<label class="col-md-4 control-label" for="filebutton">Загрузите картинку (пока недоступно)</label>
<div class="col-md-4">
<input id="filebutton" name="filebutton" class="input-file" type="file">
</div>
</div>
<div class="form-group">
<div style="text-align:center">
<input id="submit" name="submit" type="submit">
</div>
</div>
</fieldset>
</form>