-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathindex.html
108 lines (103 loc) · 4.62 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
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Discord Flags</title>
<meta name="og:title" content="Discord Flags" />
<meta name="og:description" content="Document the undocumented." />
<meta name="og:site_name" content="Discord Flags" />
<link rel="stylesheet" href="css/bulma-material.min.css" />
<link rel="stylesheet" href="css/bulma-tooltip.min.css" />
<link rel="stylesheet" href="css/fontawesome.min.css" />
<link rel="stylesheet" href="css/solid.min.css" />
<style>
/* fixes bug where icon is just inside text */
.button .icon:first-child:last-child {
margin-right: 0;
}
/* removes the ugly stuff that comes from using tooltips */
.fa-stack[data-tooltip] {
border-bottom: none !important;
cursor: default !important;
}
</style>
<link rel="icon" href="img/favicon.svg" />
</head>
<body>
<section class="section">
<div class="container">
<h1 class="title"><i class="fas fa-flag"></i> Discord Flags</h1>
<h2 class="subtitle">Document the undocumented.</h2>
<div class="columns">
<div class="column is-two-thirds">
<div class="row">
<h2 class="subtitle">
User Flags
<i class="fas fa-spinner fa-spin" id="userLoading"></i>
</h2>
<table id="userFlags" class="table">
<thead>
<tr>
<th>Name</th>
<th>Number</th>
<th>Description</th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
<div class="row" style="margin-top: 1em">
<h2 class="subtitle">
Application Flags
<i class="fas fa-spinner fa-spin" id="applicationLoading"></i>
</h2>
<table id="applicationFlags" class="table">
<thead>
<tr>
<th>Name</th>
<th>Number</th>
<th>Description</th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</div>
<div class="column">
<h2 class="subtitle">Check Flags</h2>
<form id="flagForm">
<div class="field">
<label class="label">Flag Number</label>
<div class="control">
<input class="input" type="number" id="flags" />
</div>
</div>
<div class="field">
<input
id="flagFormSubmit"
class="button"
type="submit"
value="Get Flags"
disabled />
</div>
</form>
<div class="field">
<label class="label">Result</label>
<div class="control">
<span id="result">N/A</span>
</div>
</div>
</div>
</div>
<i>
<span data-tooltip="Found">Captured</span> a flag?
<a
href="https://github.com/lewisakura/discord-flags/issues/new?labels=flag&template=flag-submission.md&title=Flag+Caught%3A+%5BNAME%5D">
Submit it!
</a>
</i>
</div>
</section>
<script src="js/flags.js"></script>
</body>
</html>