-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·87 lines (68 loc) · 2.59 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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Bug-22</title>
<meta name="description" content="Bug-22; Backbone-based bug tracking system">
<meta name="viewport" content="width=device-width">
<link href="css/bugger.css" media="all" rel="stylesheet" type="text/css"/>
</head>
<body>
<header class="title">
<h1>Bug-22</h1>
<h2>Feed me some bugs</h2>
<p>For a bug description by clicking the bug summary.<br>
Feel free to edit a bug by double-clicking on its summary.</p>
</header>
<div id="bugger">
<div class="content">
<span class="create-bug">Create a bug</span>
<div id="bug-form">
<input id="bug-summary" placeholder="Bug summary" type="text" />
<textarea id="bug-description" placeholder="Bug description"></textarea>
</div>
<div id="bugs-open"></div>
<div id="bugs">
<table id="bug-list">
<thead>
<tr>
<th scope="col">Ticket #</th>
<th scope="col">Summary</th>
<th scope="col">Status</th>
<th scope="col">Date Reported</th>
</tr>
</thead>
</table>
</div>
</div>
</div>
<!-- Templates -->
<script type="text/template" id="bugrow-template">
<td class="bug-id"></td>
<td class="bug-summary"><div class="bug-text"></div><input class="bug-update" type="text" value="" /></td>
<td class="status">
<input class="check" type="checkbox" <%= done ? 'checked="checked"' : '' %> />
<span class="bug-delete">delete</span>
</td>
<td class="date-created"></td>
</script>
<script type="text/template" id="stats-template">
<% if (total) { %>
<span class="bug-count">
<span class="number"><%= remaining %></span>
<span class="word"><%= remaining == 1 ? 'bug' : 'bugs' %></span> reported.
<!--<% if (total != remaining) { %><span class="number"><%= total %></span><% } %>-->
<% if (done) { %><span class="number"><%= done %></span>
<span class="word"> completed.</span>
<% } %>
</span>
<% } %>
</script>
<script src="js/libs/json2.js"></script>
<script src="js/libs/jquery.min.js"></script>
<script src="js/libs/underscore.min.js"></script>
<script src="js/libs/backbone.min.js"></script>
<script src="js/libs/backbone-localstorage.js"></script>
<script src="js/app.js"></script>
</body>
</html>