This repository has been archived by the owner on Jun 6, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
212 lines (193 loc) · 11.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
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Simple report creator</title>
<meta name="description" content="Test">
<meta name="author" content="Mesaj">
<!--[if lt IE 9]>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.js"></script>
<![endif]-->
<link href="https://maxcdn.bootstrapcdn.com/bootswatch/3.3.7/superhero/bootstrap.min.css" rel="stylesheet" integrity="sha384-Xqcy5ttufkC3rBa8EdiAyA1VgOGrmel2Y+wxm4K3kI3fcjTWlDWrlnxyD6hOi3PF" crossorigin="anonymous">
<script src="js/to-markdown.js"></script>
</head>
<body>
<div id="forms">
<div id="steps">
<div class="container-fluid">
<div class="col-sm-6">
<form class="form-horizontal">
<div class="form-group">
<label for="language">Language:</label>
<div class="input-group" id="language">
<input type="radio" id="en" value="EN" v-model="language">
<label for="en">EN</label>
<input type="radio" id="pl" value="PL" v-model="language">
<label for="pl">PL</label>
</div>
<label for="category">Category:</label>
<select v-model="category" id="category" class="form-control">
<option>[Quest]</option>
<option>[Item]</option>
<option>[NPC]</option>
<option>[NPC][Drop]</option>
<optgroup label="Hunter">
<option>[Glyph][Hunter]</option>
<option>[Spell][Hunter]</option>
<option>[Talent][Hunter]</option>
</optgroup>
<optgroup label="Mage">
<option>[Glyph][Mage]</option>
<option>[Spell][Mage]</option>
<option>[Talent][Mage]</option>
</optgroup>
<optgroup label="Shaman">
<option>[Glyph][Shaman]</option>
<option>[Spell][Shaman]</option>
<option>[Talent][Shaman]</option>
</optgroup>
<optgroup label="Paladin">
<option>[Glyph][Paladin]</option>
<option>[Spell][Paladin]</option>
<option>[Talent][Paladin]</option>
<optgroup label="Priest">
<option>[Glyph][Priest]</option>
<option>[Spell][Priest]</option>
<option>[Talent][Priest]</option>
</optgroup>
<optgroup label="Druid">
<option>[Glyph][Druid]</option>
<option>[Spell][Druid]</option>
<option>[Talent][Druid]</option>
</optgroup>
<optgroup label="Rogue">
<option>[Glyph][Rogue]</option>
<option>[Spell][Rogue]</option>
<option>[Talent][Rogue]</option>
<optgroup label="Death Knight">
<option>[Glyph][Death Knight]</option>
<option>[Spell][Death Knight]</option>
<option>[Talent][Death Knight]</option>
<optgroup label="Warlock">
<option>[Glyph][Warlock]</option>
<option>[Spell][Warlock]</option>
<option>[Talent][Warlock]</option>
</optgroup>
<optgroup label="Warrior">
<option>[Glyph][Warrior]</option>
<option>[Spell][Warrior]</option>
<option>[Talent][Warrior]</option>
</optgroup>
<option>[Profession]</option>
<option>[Core]</option>
<option>[Exploit]</option>
<option>[Web]</option>
</select>
<label>Title:</label>
<div class="input-group">
<input type="text" class="form-control" v-model="title" id="title" placeholder="What are you reporting?">
<span class="input-group-btn">
<button type="button" class="btn btn-info" v-on:click="listIssues">Find</button>
</span>
</div>
<label for="description">Description</label>
<textarea class="form-control" v-model="description" id="description" placeholder="Describe the problem"></textarea>
<label for="current">Current behaviour:</label>
<textarea class="form-control" v-model="current" id="current" placeholder="What happens"></textarea>
<label for="expected">Expected behaviour:</label>
<textarea class="form-control" v-model="expected" id="expected" placeholder="What should happen instead"></textarea>
<label>Steps to reproduce the problem:</label>
<div class="input-group">
<input type="text" class="form-control" v-model="newStepText" placeholder="What happened, step by step">
<span class="input-group-btn">
<button type="button" class="btn btn-success" v-on:click="add">Add</button>
</span>
</div>
<label for="revision">Revision:</label>
<input type="text" class="form-control" v-model="revision" id="revision" placeholder="Type '.s in' in game chat to see">
</div>
</form>
</div>
<div class="col-sm-6" style="word-wrap: break-word;">
<label>Preview:</label>
<h2>[{{language}}]{{category}} {{title}}</h2>
<hr>
<div id="template">
<p><b>Description:</b></p>
<p>{{ description }}</p>
<br>
<p><b>Current behaviour:</b></p>
<p>{{ current }}</p>
<br>
<p><b>Expected behaviour:</b></p>
<p>{{ expected }}</p>
<br>
<p><b>Steps to reproduce the problem:</b></p>
<p>
<ol>
<li is="step-item" v-for="(step, index) in steps" v-bind:title="step" v-on:remove="steps.splice(index, 1)"></li>
</ol>
</p>
<br>
<p><b>Revision:</b> {{ revision }}</p>
</div>
<br>
<br>
</div>
<br>
</div>
<div class="container-fluid">
<div class="col-sm-6">
<p>
<h5>Similar issues (shown after clicking 'Find'):</h5>
<ul id="example-1">
<li v-for="item in issueList">
<a target="_blank" v-bind:href="item.link">{{item.number}} {{item.issueTitle}}</a>
</li>
</ul>
</p>
<p>How to use:
<ul>
<li>
<strong>Read </strong><a target="_blank" href="https://github.com/Atlantiss/BugTracker#how-to-use" class="label label-danger">Bug Tracker Rules</a></li>
<li>Basically, keep up with the template, add links to
<a target="_blank" href="https://wowhead.com" class="label label-primary">Wowhead</a>
<br> for example:
<a target="_blank" href="http://www.wowhead.com/item=23555/dirge" class="label label-info">Dirge</a>, the ItemID is 23555, you can see it in the address bar.
</li>
</ul>
<ol>
<li>Fill all fields above</li>
<li>Click "Find" button to see if similar issue already exists, check if it's about the same problem or if there's any solution posted in the comments.</li>
<li>Get the server revision from game by typing '.s in' in chat <a target="_blank" href="https://cloud.githubusercontent.com/assets/16057987/20059116/cfc58d10-a4f4-11e6-9240-c42f8582ba52.PNG" class="label label-info">Example rev.5214</a></li>
<li>Look at the preview and check if your information is correct</li>
<li>Click 'Update Markdown Preview' button to generate text formatted for Bug Tracker</li>
<li>Copy the generated text from white background and replace text it in the big field at <a target="_blank" href="https://github.com/Atlantiss/BugTracker/issues/new" class="label label-success">New Issue</a> page</li>
<li>Copy the Title from Preview(at the top right) to Title in the bugtracker page</li>
<li>Done! You can submit the issue.</li>
</ol>
<!--TODO:
<ul><li><a href="https://github.com/login/oauth/authorize?client_id=">GH</a> login</li>
<li>Submit issue via API with logged user details</li>
<li>Cosmetics</li>
<li>Categories</li>
</ul> -->
</p>
<p>
Created by Mesaj, code available at <a target="_blank" href="https://github.com/xmesaj2/SimpleBT">GitHub</a>
</p>
</div>
<div class="col-sm-6" style="word-wrap: break-word;">
<button type="button" class="btn btn-success" v-on:click="markdown">Update Markdown Preview</button>
<div class="panel panel-success" id="markdown">
<div class="panel-body">
</div>
</div>
</div>
</div>
</div>
</div>
<script src="js/vue.min.js"></script>
<script src="js/app.js"></script>
</body>
</html>