-
Notifications
You must be signed in to change notification settings - Fork 51
/
Copy pathindex.html
127 lines (114 loc) · 4.33 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Scrum Board - Manage your tasks with ease</title>
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/themes/smoothness/jquery-ui.css">
<link rel="stylesheet" href="app/assets/stylesheets/app.css">
</head>
<body>
<div class="wrapper">
<header class="clear">
<ul>
</ul>
</header>
<section id="dashboard" class="dashboard clear">
</section>
<footer>
<ul>
<li class="branding">Scrum <span>Board</span> <sup>Beta</sup></li>
</ul>
<ul class="controls">
<li data-tooltip="Drag A Task Here To Delete">
<a href="#" class="remove" id="remove">
<img src="app/assets/images/bin.svg" alt="">
</a>
</li>
<li data-tooltip="Add Task">
<a href="#" id="add-task" class="add-task">
<img src="app/assets/images/plus.svg" alt="">
</a>
</li>
<li data-tooltip="Github" class="github-ref">
<a href="https://github.com/i-break-codes/scrum-board" target="_blank">
<img src="app/assets/images/github.svg" alt="">
</a>
</li>
</ul>
</footer>
</div>
<div id="removed-task-notification" class="removed-task-notification hide"></div>
<div class="modal hide" id="change-status-modal">
<div class="modal-wrapper">
<form action="index.html" method="post" class="change-status-form" name="change_status">
<span class="close-modal">X</span>
<h3>Change column name</h3>
<ul>
<li>
<input type="text" id="new_status" placeholder="Column name" autofocus>
</li>
<li>
<input type="submit" name="change_status" value="Change column name">
</li>
</ul>
</form>
</div>
</div>
<div class="modal hide" id="add-task-modal">
<div class="modal-wrapper">
<form action="index.html" method="post" class="add-task-form" name="add_task">
<span class="close-modal">X</span>
<h3>Add a new Task</h3>
<ul>
<li>
<input type="text" name="title" placeholder="Title" autofocus>
</li>
<li>
<textarea name="description" placeholder="Description"></textarea>
</li>
<li>
<input type="text" name="remote_url" placeholder="Remote Task URL">
</li>
<li>
<input type="text" name="assigned_to" placeholder="Assigned To">
</li>
<li>
<input type="submit" name="create_task" value="Create Task">
</li>
</ul>
</form>
</div>
<div class="create-task-branding">
Scrum <span>Board</span> <sup>Beta</sup>
</div>
</div>
<div class="hide" id="tips">
Double click on the task text to edit it <br> <span>(Task titles are <b>editable</b> for now)</span>
</div>
<script id="task-card-template" type="text/x-handlebars-template">
{{#each this}}
<div class="card" data-task-id="{{id}}">
<a href="#" class="expand-card"></a>
<h5>{{title}}</h5>
<div class="card-details">
<p data-field="description">{{description}}</p>
<p data-field="remote_url">
{{#checkIfEmptyRemoteURL remote_url}}{{/checkIfEmptyRemoteURL}}
</p>
<p data-field="assigned_to">
{{#checkIfEmptyAssigned assigned_to}}{{/checkIfEmptyAssigned}}
</p>
</div>
</div>
{{/each}}
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"></script>
<script src="app/assets/scripts/lib/handlebars-v4.0.5.js"></script>
<script src="app/assets/scripts/helper.js"></script>
<script src="app/assets/scripts/localstorage.js"></script>
<script src="app/assets/scripts/app.js"></script>
</body>
</html>