-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
113 lines (104 loc) · 5.53 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Календарь задач</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script language="javascript" src="public/js/jquery-3.3.1.min.js" type="text/javascript"></script>
<script language="javascript" src="public/js/jquery-ui.min.js" type="text/javascript"></script>
<script language="javascript" src="./node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
<script language="javascript" src="./node_modules/js-cookie/src/js.cookie.js"></script>
<link rel="stylesheet" href="./node_modules/bootstrap/dist/css/bootstrap.min.css" />
<link rel="stylesheet" href="public/style.css" />
</head>
<header>
<h1>Календарь задач</h1>
</header>
<body>
<div id="main-div">
<div id="leftmenu">
<h2 id="left-title"></h2>
<div id="year-slider">
<div><button class="btn-arrow" id="btn-previous-year"><<</button></div>
<div id="current-year-title"></div>
<div><button class="btn-arrow" id="btn-next-year">>></button></div>
</div>
<div id="calendar">
</div>
</div>
<div id="rightmenu">
<h2 id="right-title"></h2>
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#createTaskModal">Создать
задачу</button>
<button type="button" class="btn btn-primary" id="btn-load-all">Все задачи</button>
<ul id="task-list">
</ul>
</div>
</div>
<div id="updateTaskModal" class="modal fade" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">Редактировать задачу</h4>
<button type="button" class="close" data-dismiss="modal">×</button>
</div>
<div class="modal-body">
<form class="form-horizontal" id="update-task-form">
<div class="form-group">
<label class="control-label col-sm-10" for="title">Название задачи: </label>
<input type="text" class="form-control" name="title" id="title" placeholder="Новая задача">
</div>
<div class="form-group">
<label class="control-label col-sm-10" for="description">Описание задачи: </label>
<textarea class="form-control" name="description" id="description" placeholder="Описание задачи"></textarea>
</div>
<div class="form-group">
<label class="control-label col-sm-10" for="end_date">Дата завершения: </label>
<input type="datetime-local" class="form-control" name="end_date" id="end_date">
</div>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-success" data-dismiss="modal" id="btn-update-send">Готово</button>
<button type="button" class="btn btn-default" data-dismiss="modal">Отмена</button>
</div>
</div>
</div>
</div>
<div id="createTaskModal" class="modal fade" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">Создать задачу</h4>
<button type="button" class="close" data-dismiss="modal">×</button>
</div>
<div class="modal-body">
<form class="form-horizontal" id="create-task-form">
<div class="form-group">
<label class="control-label col-sm-10" for="title">Название задачи: </label>
<input type="text" class="form-control" name="title" id="title" placeholder="Новая задача">
</div>
<div class="form-group">
<label class="control-label col-sm-10" for="description">Описание задачи: </label>
<textarea class="form-control" name="description" id="description" placeholder="Описание задачи"></textarea>
</div>
<div class="form-group">
<label class="control-label col-sm-10" for="end_date">Дата завершения: </label>
<input type="datetime-local" class="form-control" name="end_date" id="end_date">
</div>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-success" data-dismiss="modal" id="send-button">Готово</button>
<button type="button" class="btn btn-default" data-dismiss="modal">Отмена</button>
</div>
</div>
</div>
</div>
</body>
<script src="public/js/utils.js"></script>
<script src="public/js/main.js"></script>
</html>