-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
executable file
·166 lines (165 loc) · 6.86 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
155
156
157
158
159
160
161
162
163
164
165
166
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Kanban</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap-theme.min.css">
<link rel="stylesheet" href="style/index.css">
</head>
<body>
<nav id="navbar">
<div id="menu" class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
<span class="glyphicon glyphicon-folder-open"></span> Boards
</a>
<ul id="ulBoards" class="dropdown-menu">
<li>
<a href="#" id="linkNewBoard">
<span class="glyphicon glyphicon-plus"></span> New board...
</a>
<a href="#" id="linkRenameBoard">
<span class="glyphicon glyphicon-pencil"></span> Rename this board
</a>
<a href="#" id="linkRemoveBoard">
<span class="glyphicon glyphicon-remove"></span> Remove this board
</a>
<a href="#" id="linkTasksHistory">
<span class="glyphicon glyphicon-book"></span> Tasks History
</a>
<a id="export" href="#export">
<span class="glyphicon glyphicon-export"></span> Export
</a>
<a id="import" href="#import">
<span class="glyphicon glyphicon-import"></span> Import
</a>
</li>
<li style="border-bottom: 1px solid black"></li>
</ul>
</div>
<div id="title"></div>
<div id="icon"><img src="img/kanban.png" /> Personal Kanban</div>
</nav>
<div id="kanban">
<div class="column">
<div class="header">
<h2>To Do</h2>
<button id="btnAddTask" type="button" class="btn btn-default" aria-label="Add">
<span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
</button>
</div>
<div id="todo" kanban-column-id="todo" class="tasksarea red"></div>
</div>
<div class="column">
<div class="header">
<h2>Work in Progress</h2>
</div>
<div kanban-column-id="wip" class="tasksarea yellow"></div>
</div>
<div class="column">
<div class="header">
<h2>Done</h2>
</div>
<div kanban-column-id="done" class="tasksarea green"></div>
</div>
</div>
<div id="modalContainer">
<div id="modalBackground"></div>
<div id="modalTask" class="modal">
<div style="padding: 24px; background: white">
<h2>Add Task</h2>
<label id="labelTaskTitle">Title:</label>
<input type="text" name="title" id="inputTaskTitle" style="width: 100%"/><br/>
<br/>
<label>Description:</label>
<textarea name="description" id="inputTaskDescription" style="width: 100%; height: 60px"></textarea>
<br/>
<div style="text-align: right; margin-top: 12px">
<button id="btnTaskCancel" type="button" class="btn btn-default" aria-label="Cancel">
<span class="glyphicon glyphicon-remove" aria-hidden="true"></span> Cancel
</button>
<button id="btnTaskOk" type="button" class="btn btn-default" aria-label="Ok">
<span class="glyphicon glyphicon-ok" aria-hidden="true"></span> Ok
</button>
</div>
</div>
</div>
<div id="modalPreview" class="modal">
<div style="padding: 24px; background: white">
<h2 id="taskPreviewTitle">Add Task</h2>
<br/>
<p id="taskPreviewDescription"></p>
<div style="text-align: right; margin-top: 12px">
<button id="btnTaskPreviewOk" type="button" class="btn btn-default" aria-label="Ok">
<span class="glyphicon glyphicon-ok" aria-hidden="true"></span> Ok
</button>
</div>
</div>
</div>
<div id="modalExport" class="modal">
<div style="padding: 24px; background: white">
<h2>Export Board Tasks</h2>
<label>Tasks JSON:</label>
<textarea name="exportJson" id="inputExportJson" style="width: 100%; height: 120px" readonly="true"></textarea>
<br/>
<div style="text-align: center; margin-top: 12px">
<button id="btnExportClose" type="button" class="btn btn-default" aria-label="Cancel">
<span class="glyphicon glyphicon-remove" aria-hidden="true"></span> Close
</button>
</div>
</div>
</div>
<div id="modalImport" class="modal">
<div style="padding: 24px; background: white">
<h2>Import Tasks as New Board</h2>
<label id="labelBoardName">New board name:</label>
<input type="text" name="boardName" id="inputImportBoardName" style="width: 100%"/>
<br/>
<br/>
<label id="labelImportJson">Tasks JSON:</label>
<textarea name="importJson" id="inputImportJson" style="width: 100%; height: 120px"></textarea>
<br/>
<div style="text-align: right; margin-top: 12px">
<button id="btnImportCancel" type="button" class="btn btn-default" aria-label="Cancel">
<span class="glyphicon glyphicon-remove" aria-hidden="true"></span> Cancel
</button>
<button id="btnImportOk" type="button" class="btn btn-default" aria-label="Ok">
<span class="glyphicon glyphicon-ok" aria-hidden="true"></span> Ok
</button>
</div>
</div>
</div>
<div id="modalHistory" class="modal">
<div style="padding: 24px; background: white;">
<h2>Tasks History</h2>
<div id="historyTableContainer" style="display: block; overflow-y: scroll; width: 100%;">
<table id="historyTable">
<thead>
<tr>
<th style="width: 70%">Title</th>
<th style="width: 10%">State</th>
<th style="width: 10%">Date</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
<div style="text-align: right; margin-top: 12px">
<button id="btnHistoryOk" type="button" class="btn btn-default" aria-label="Ok">
<span class="glyphicon glyphicon-ok" aria-hidden="true"></span> Ok
</button>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
<script src="https://code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jQuery.dotdotdot/1.7.4/jquery.dotdotdot.min.js"></script>
<script type="text/javascript" src="js/messages.js"></script>
<script type="text/javascript" src="js/board.js"></script>
<script type="text/javascript" src="js/storage.js"></script>
<script type="text/javascript" src="js/index.js"></script>
</body>
</html>