-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
66 lines (61 loc) · 3.25 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
<!DOCTYPE html>
<html id="html" lang="en">
<head>
<link rel="manifest" href="manifest.json"/>
<meta charset="utf-8"/>
<meta name="author" content="Jonas Grümpel"/>
<meta name="application-name" content="Kanban-Board"/>
<meta name="theme-color" content="#4286f4">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Free, Online Kanban board"/>
<meta name="lang" content="EN"/>
<title>Kanban-Board</title>
<script src="jquery-3.3.1.min.js"></script>
<script src="https://apis.google.com/js/platform.js" async defer></script>
<script src="controller.js"></script>
<script type="text/javascript">
function allowDrop(t){t.preventDefault()}function drag(t){t.dataTransfer.setData("text",t.target.id),$("#kontext_menu").css({opacity:"0","margin-left":"-500px","margin-top":"-500px"})}function drop(t){t.preventDefault();var e=t.dataTransfer.getData("text");t.target.appendChild(document.getElementById(e)),$("#kontext_menu").css({opacity:"0","margin-left":"-500px","margin-top":"-500px"})};
</script>
<link rel="stylesheet" type="text/css" href="style.css" media="screen"/>
</head>
<body>
<div id="controls">
<input type="file" id="input-file" accept=".json"/>
<input type="text" id="phantom-input"/>
<!--
<div id="save_to_google_drive" class="g-savetodrive"
data-src="http://localhost/KanbanBoard/test.json"
data-filename="file.json"
data-sitename="Kanban-Board">
</div>
-->
<button id="load_kanban" class="button" title="save kanban file">load</button>
<button id="save_kanban" class="button" title="save kanban file">save</button>
<button id="refresh_kanban" class="button" title="load file again" style="width: 60px !important; font-family: Consolas;"><strong>↺</strong></button>
<button id="clear_kanban" class="button" title="clear cards">clear</button>
<button id="remove_kanban" class="button" title="remove card" ondrop="drop(event)" ondragover="allowDrop(event)" style="overflow: hidden; height:56px; width:88px;">trash</button>
<button id="add_kanban" class="button" title="add card">add</button>
</div>
<div id="board">
<div id="backlog" title="project backlog" class="status" ondrop="drop(event)" ondragover="allowDrop(event)">
backlog
</div>
<div id="inprogress" title="work in progress" class="status" ondrop="drop(event)" ondragover="allowDrop(event)">
in progress
</div>
<div id="review" title="review in progress" class="status" ondrop="drop(event)" ondragover="allowDrop(event)">
review
</div>
<div id="ready" title="ready" class="status" ondrop="drop(event)" ondragover="allowDrop(event)">
ready
</div>
</div>
</body>
<div id="kontext_menu">
<button id="kontext_delete" class="kontext_button" onclick="console.log('delete')">delete</button>
<button id="kontext_copy_text" class="kontext_button">copy text</button>
<button id="kontext_read" class="kontext_button">read aloud</button>
<button id="kontext_print" class="kontext_button">print</button>
</div>
<span id="credits">founded on <a id="href_" href="https://github.com/VG-DevMo">GitHub</a></span>
</html>