-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
95 lines (88 loc) · 3.27 KB
/
index.html
File metadata and controls
95 lines (88 loc) · 3.27 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Support Tracker</title>
<script src="https://cdn.jsdelivr.net/npm/appwrite@17.0.0"></script>
<!-- Appwrite Pink Design System -->
<link rel="stylesheet" href="https://unpkg.com/@appwrite.io/pink" />
<link rel="stylesheet" href="https://unpkg.com/@appwrite.io/pink-icons" />
</head>
<body class="u-bg-color-neutral-5">
<div class="container">
<div class="u-max-width-700 u-margin-inline-auto u-padding-32">
<!-- New Ticket Form -->
<section class="u-margin-block-end-32">
<h2 class="heading-level-3 u-margin-block-end-24 u-color-text-accent">
Create New Ticket
</h2>
<div
class="card u-padding-24 u-border-width-1 u-border-color-primary"
>
<form id="ticket-form" class="u-flex u-flex-vertical u-gap-16">
<div class="input-text-wrapper is-with-end-button">
<label class="label u-margin-block-end-8">
<span class="text u-color-text-accent">Ticket Subject</span>
</label>
<input
type="text"
id="title"
class="input-text"
placeholder="Brief description of your issue"
required
/>
</div>
<div class="input-text-wrapper">
<label class="label u-margin-block-end-8">
<span class="text u-color-text-accent"
>Issue Description</span
>
</label>
<textarea
id="body"
class="input-text"
placeholder="Please provide detailed information about your issue..."
rows="4"
required
></textarea>
</div>
<div class="u-flex u-main-end">
<button type="submit" class="button is-primary is-big">
<span class="icon-send" aria-hidden="true"></span>
<span class="text">Submit Ticket</span>
</button>
</div>
</form>
</div>
</section>
<!-- Tickets List -->
<section>
<div
class="u-flex u-cross-center u-main-space-between u-margin-block-end-24"
>
<h2 class="heading-level-3 u-color-text-accent">Tickets</h2>
<div class="tag u-color-text-info">
<span class="icon-list" aria-hidden="true"></span>
<span class="text" id="ticket-count">0 tickets</span>
</div>
</div>
<div id="ticket-list" class="u-flex u-flex-vertical u-gap-16"></div>
<div
id="empty-state"
class="u-text-center u-padding-48 u-color-text-neutral-100"
style="display: none"
>
<span
class="icon-inbox"
style="font-size: 3rem; opacity: 0.5"
></span>
<p class="body-text-1 u-margin-block-start-16">
No tickets yet. Create your first support request above.
</p>
</div>
</section>
</div>
</div>
<script src="script.js"></script>
</body>
</html>