-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoptions.html
86 lines (71 loc) · 2.25 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
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
<!DOCTYPE html>
<html>
<head>
<title>Settings - Oh That Issue</title>
<style type="text/css">
.container {
margin: 50px 150px;
}
h1 {
text-align: center;
}
form {
margin: 10px 50px;
}
form fieldset {
margin-bottom: 25px;
padding: 10px;
}
form fieldset div {
margin-bottom: 5px;
}
form fieldset div label {
display: inline-block;
width: 150px;
}
form fieldset div input[type="text"] {
width: 300px;
}
form input:disabled {
border: none;
}
</style>
</head>
<body>
<div class="container">
<h1>Oh That Issue</h1>
<h2>Settings</h2>
<form id="oh-that-issue-settings-form" action="">
<fieldset>
<legend>Issue Tracker Type</legend>
<div>
<label for="issue-tracker-jira">
<input id="issue-tracker-jira" class="issue-tracker-radio" type="radio" name="issue_tracker_type" value="jira" checked="checked"/>
Jira
</label>
</div>
<div>
<label for="issue-tracker-other">
<input id="issue-tracker-other" class="issue-tracker-radio" type="radio" name="issue_tracker_type" value="other"/>
Other
</label>
</div>
</fieldset>
<fieldset>
<legend>Details</legend>
<div>
<label for="issue-tracker-url">URL to Issue:</label>
<input type="text" id="issue-tracker-url" name="issue_tracker_url"/>
</div>
<div>
<label for="issue-key-pattern">Issue RegExp Pattern: </label>
<input type="text" id="issue-key-pattern" name="issue_key_pattern"/>
</div>
</fieldset>
<span id="messages"></span>
<input type="button" id="save" value="Save" />
</form>
<script src="options.js" type="application/javascript"></script>
</div>
</body>
</html>