-
Notifications
You must be signed in to change notification settings - Fork 0
/
options.html
61 lines (57 loc) · 1.83 KB
/
options.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
<!DOCTYPE html>
<html>
<head>
<title>Pull Request Label counter</title>
<meta charset="utf-8" />
<link href='css/fonts.css' rel='stylesheet' type='text/css' />
<link href='css/options.css' rel='stylesheet' type='text/css' />
</head>
<body>
<p class="usage">
<label for="labels">Write here the labels you want to survey (comma separated):</label>
<input id="labels" type="text" style="width: 100%" placeholder="need tech review, need PO validation, ..." />
</p>
<fieldset style="margin-bottom: 10px">
<legend>Github configuration</legend>
<cite>
To be able to access to your repository, you need to create a personal access token in your github account (help available
here:
<a href="https://github.com/jbcrestot/PullRequestLabel/ACCESS_TOKEN.md">
access token tutorial
</a>)
</cite>
<p>
<label for="owner">Owner:</label>
<input id="owner" type="text" placeholder="CanalTP" />
</p>
<p>
<label for="repository">Repository:</label>
<input id="repository" type="text" placeholder="RNNavitiaSDK" />
</p>
<p>
<label for="oauthToken">OAuth token:</label>
<input id="oauthToken" type="text" placeholder="" />
</p>
</fieldset>
<fieldset id="dev">
<legend>developer options
<span class="prc-font icon-caret"></span>
</legend>
<p id="debug_mode">
<label for="debug">if debug mode is activated, app will log to help you</label>
<input type="checkbox" id="debug" name="debug" />
</p>
</fieldset>
<div id="status"></div>
<div id="testConfig"></div>
<div>
<button id="save">Save</button>
<div style="float:right;">
<button id="testKey">Test Key</button>
</div>
</div>
<script src="lib.js"></script>
<script src="eventPage.js"></script>
<script src="options.js"></script>
</body>
</html>