This repository has been archived by the owner on Jul 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
edit.html
261 lines (229 loc) · 11.4 KB
/
edit.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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta property="og:title" content="TesterQTS Report syntax" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://teambulbbot.github.io/bug-report-tool/edit.html" />
<meta property="og:image" content="https://teambulbbot.github.io/bug-report-tool/images/website/EditReport.png" />
<meta property="og:description" content=" A way for Discord Bug hunters to edit reports more efficiently " />
<meta name="theme-color" content="#7289DA">
<!-- Include this to make the og:image larger -->
<meta name="twitter:card" content="summary_large_image">
<title>Discord Bug Syntax Tool</title>
<!-- CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-beta/css/materialize.min.css" />
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" />
<link rel="stylesheet" href="css/edit.css" />
<link rel="shortcut icon" href="images/icon.ico" />
</head>
<body onload="checkTheme(); setTimeout(checkTheme, 5);">
<nav class="navColor" style="padding: 0px 5px; position: fixed; z-index: 2;">
<div class="nav-bar">
<a href="#" class="brand-logo" id="titleText"><i class="material-icons left" style="padding-top: 3px; padding-left: 7px;">bug_report</i> DTesters Bug Tool</a>
<a href="#" class="sidenav-trigger" data-target="mobile-nav">
<i class="material-icons">menu</i>
</a>
<ul class="right hide-on-med-and-down">
<li>
<a href="index.html"><i class="material-icons left" style="padding-top: 4px;">add_box</i>Create</a>
</li>
<li>
<a href="edit.html"><i class="material-icons left" style="padding-top: 4px;">update</i>Edit</a>
</li>
<li>
<a href="cnr-cr.html"><i class="material-icons left" style="padding-top: 4px;">done_all</i>CR / CNR</a>
</li>
<li>
<a href="beautify.html"><i class="material-icons left">brush</i>Beautify Report</a>
</li>
<li>
<a href="javascript:switchTheme()"><i class="material-icons left">wb_sunny</i>Change Theme</a>
</li>
<li>
<a class="modal-trigger " href="#modalConfig"><i class="material-icons left modal-trigger " href="#modalConfig">build</i>Configuration</a>
</li>
</ul>
</div>
</nav>
<ul class="sidenav" id="mobile-nav">
<li>
<a href="index.html"><i class="material-icons left">add_box</i>Create</a>
</li>
<li>
<a href="edit.html"><i class="material-icons left">update</i>Edit</a>
</li>
<li>
<a href="cnr-cr.html"><i class="material-icons left">done_all</i>CR / CNR</a>
</li>
<li>
<a href="beautify.html"><i class="material-icons left">brush</i>Beautify Report</a>
</li>
<li>
<a href="javascript:switchTheme()"><i class="material-icons left">wb_sunny</i>Change Theme</a>
</li>
<li>
<a class="modal-trigger " href="#modalConfig"><i class="material-icons left modal-trigger " href="#modalConfig">build</i>Configuration</a>
</li>
</ul>
<br />
<div class="column row" id="content">
::before
<br />
<h5 style="padding-top: 20px; padding-left: 5px;">Edit a Bug Report</h5>
<br />
<div class="callout mbox" style="offset-start: 1cm;">
<strong id="strongThemed1">Before we start</strong>
<ul>
<li style="list-style-type: initial; margin-left: 25px;">Please prepare your report ID</li>
<li style="list-style-type: initial; margin-left: 25px;">
You can find your report ID in <strong class="channel">#bug-approval-queue</strong> at the end of your report
<!-- Modal Trigger -->
<a class="waves-effect waves-light btn modal-trigger btn-small" style="background-color: #7289da; z-index: 1;" href="#modal1">Example</a>
</li>
</ul>
</div>
<br />
<!-- Modal Structure Config-->
<div id="modalConfig" class="modal">
<div class="modal-content" class="modalColor">
<div class="row">
<div class="input-field col s6">
<i class="material-icons prefix" style="size: 5px" id="iconThemedWindows">desktop_windows</i>
<textarea id="desktopConfig" class="materialize-textarea" ></textarea>
<label for="desktopConfig" id="resize">Desktop Config</label>
</div>
</div>
<div class="row">
<div class="input-field col s6">
<i class="material-icons prefix" style="size: 5px" id="iconThemedAndroid">android</i>
<textarea id="androidConfig" class="materialize-textarea" ></textarea>
<label for=androidConfig" id="resize">Android Config</label>
</div>
</div>
<div class="row">
<div class="input-field col s6">
<i class="material-icons prefix" style="size: 5px" id="iconThemediOS">phone_iphone</i>
<textarea id="iOSConfig" class="materialize-textarea" ></textarea>
<label for="iOSConfig" id="resize">iOS Config</label>
</div>
</div>
<div class="row">
<div class="input-field col s6">
<i class="material-icons prefix" style="size: 5px" id="iconThemedBrowswer">wifi</i>
<textarea id="browserConfig" class="materialize-textarea" ></textarea>
<label for="browserConfig" id="resize">Browser Config</label>
</div>
</div>
<a class="waves-effect waves-light btn modal-close btn-small" style="background-color: #7289da;" href="#!" onclick="updateConfig()">Save</a></a>
<br />
</div>
</div>
<!-- Modal Structure -->
<div id="modal1" class="modal">
<div class="modal-content" id="modalColor">
<div style="display: flex; align-items: center;">
<img src="images/assets/DBug.png" alt="DBug Logo" style="border-radius: 50%; height: 50px; width: 50px;" />
<span style="color: black; color: #ffde17; font-size: 20px; margin-left: 10px;">DBug</span>
<span style="color: white; background-color: #7289da; font-size: 12.5px; padding: 2px 10px 2px 10px; margin-left: 10px; border-radius: 10px;"> BOT</span>
</div>
<p class="text">From: <strong class="channel" style="font-weight: 900;">#desktop-bug-reports</strong></p>
<div class="callout mbox" style="border-left: solid #5fa1e1 5px;">
<p class="text"><strong class="boldText">Wumpus#0000 (123456789123456789)</strong></p>
<p class="text"><strong class="boldText">They canceled Firefly</strong></p>
<p class="text">- sit down on the couch</p>
<p class="text">- pull out an ice cold beer/soda</p>
<p class="text">- watch 'objects in space'</p>
<p class="text">- realize they took the sky from you</p>
<p class="text"><strong class="fieldTitle">Expected result</strong></p>
<p class="text"><strong class="fieldItem">A second season</strong></p>
<p class="text"><strong class="fieldTitle">Actual result</strong></p>
<p class="text"><strong class="fieldItem">I'm still salty about this</strong></p>
<p class="text"><strong class="fieldTitle">Client settings</strong></p>
<p class="text"><strong class="fieldItem">Discord Canary Build 1337</strong></p>
<p class="text"><strong class="fieldTitle">System settings</strong></p>
<p class="text"><strong class="fieldItem">Windows 8, x64 Developer build</strong></p>
<br />
<div style="border: 3px solid red; padding: 5px;">
<p style="color: #9e9e9e;">#123: • Today at 01:37 PM</p>
</div>
<br />
</div>
</div>
<div class="modal-footer" id="modelFooter">
<a href="#!" id="footerText" class="modal-close waves-effect waves-green btn-flat">Got it</a>
</div>
</div>
<div class="row" style="z-index: 1;">
<form class="col s12">
<div class="row">
<div class="input-field col s12">
<i class="material-icons prefix" id="iconThemed0">description</i>
<select id="section">
<option value="1">Short Description</option>
<option value="2">Steps to Reproduce</option>
<option value="3">Expected Result</option>
<option value="4">Actual Result</option>
<option value="5">Client Version</option>
<option value="6">System Settings</option>
</select>
<label>Section to Edit</label>
</div>
</div>
</form>
</div>
<div class="row" style="z-index: 2;">
<form class="col s12">
<div class="row">
<div class="input-field col s6">
<i class="material-icons prefix" id="iconThemed1">polymer</i>
<textarea id="reportID" class="materialize-textarea" data-length="6" maxlength="6"></textarea>
<label for="reportID" id="txtLabel">Report ID</label>
</div>
</div>
</form>
</div>
<div class="row" id="other" style="z-index: 2;" hidden>
<form class="col s12">
<div class="row">
<div class="input-field col s6">
<i class="material-icons prefix" id="iconThemed2">edit</i>
<textarea id="newContent" class="materialize-textarea" data-length="175" maxlength="175"></textarea>
<label for="newContent">New content</label>
</div>
</div>
</form>
</div>
<div class="row" id="strField" tyle="z-index: 2">
<form class="col s12">
<div class="row">
<div class="input-field col s6">
<i class="material-icons prefix" style="size: 5px;" id="iconThemed3">create</i>
<textarea id="str" class="materialize-textarea" data-length="175" maxlength="175"></textarea>
<label for="str">Steps to Reproduce</label>
<a onclick="newElement()" class="waves-effect waves-light btn" style="z-index: 0; background-color: #7289da;">Add</a>
<ul id="myUL" class="collection" style="border: none;"></ul>
</div>
</div>
</form>
</div>
<div class="column row" id="content">
<button id="copy" class="waves-effect waves-light btn" style="background-color: #7289da;">Copy</button>
<div class="callout mbox" style="offset-start: 1cm; font-size: 20px;" id="command"></div>
<br />
</div>
<footer style="text-align: center;">
Created by <a href="https://github.com/y3ll0wlife" target="_blank"> y3ll0w</a> and <a href="https://github.com/KlukCZ" target="_blank">KlukCZ</a>
<br />
Have a feature request or a bug? Post it on our <a href="https://github.com/TeamBulbbot/bug-report-tool/issues" target="_blank">issue tracker</a>!
</footer>
<!-- Javascript -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-beta/js/materialize.min.js"></script>
<script src="js/theme.js"></script>
<script src="js/edit.js"></script>
<script src="js/copy.js"></script>
</div>
</body>
</html>