-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
88 lines (80 loc) · 3.5 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="ticket.css">
<title>🎫 Ticket</title>
</head>
<body>
<div id="flash">test</div>
<div class="container">
<table id="tickets">
<colgroup>
<col style="width: 5%">
<col style="width: 5%">
<col style="width: 50%">
<col style="width: 30%">
<col style="width: 10%">
</colgroup>
<thead>
<tr>
<th id="sort-reset" title="Reset sorting" class="sortable">ID</th>
<th><!-- Priority--></th>
<th id="sort-subject" class="sortable">Subject<span id="sort-subject-indicator" class=""></span></th>
<th id="sort-modified" class="sortable">Last modified<span id="sort-modified-indicator" class=""></span></th>
<th id="sort-state" class="sortable">State<span id="sort-state-indicator" class=""></span></th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
<div id="bottom">
<div id="toggler">Toggle</div>
<a href="about.html" id="about">About</a>
<div class="container" id="bottom-container">
<div class="col-left">
<form id="new-form">
<input type="text" id="new-subject" placeholder="Subject" autocomplete="off">
<textarea id="new-text" placeholder="Text"></textarea>
<button type="submit" id="new-create">Create</button>
</form>
</div>
<div class="col-right">
<button id="import">↪ Import</button>
<button id="export">↩ Export</button>
<button id="clear" class="clear">🗑 Clear</button>
</div>
</div>
</div>
<template id="ticketTemplate">
<tr class="ticket-row">
<td><span class="badge uid"></span></td>
<td><span class="priority">🔥</span></td>
<td><span class="subject"></span></td>
<td><span class="modified"></span></td>
<td><span class="state badge"></span></td>
</tr>
<tr class="detail-row">
<td colspan="3">
<input type="text" class="subject" placeholder="Subject">
<textarea class="text" placeholder="Text"></textarea>
</td>
<td>
<label class="priority-label"><input type="checkbox" class="priority">🔥 Priority</label>
<div class="state-radio-wrapper">
<label><input type="radio" class="state" value="n"><span class="badge n">new</span></label>
<label><input type="radio" class="state" value="p"><span class="badge p">in progress</span></label>
<label><input type="radio" class="state" value="d"><span class="badge d">done</span></label>
<label><input type="radio" class="state" value="c"><span class="badge c">canceled</span></label>
</div>
</td>
<td>
<button class="save">Save</button>
<button class="clear delete">🗑 Delete</button>
</td>
</tr>
</template>
<script src="ticket.js"></script>
</body>
</html>