forked from viktorsomogyi/jirafy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoptions.html
137 lines (133 loc) · 5.18 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
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
<!DOCTYPE html>
<html>
<head>
<title>Jirafy Settings</title>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU"
crossorigin="anonymous" />
<link rel="stylesheet" type="text/css" href="css/bulma.min.css" media="all" />
<link rel="stylesheet" type="text/css" href="css/tooltipster.bundle.min.css" />
<link rel="stylesheet" type="text/css" href="css/tooltipster-sideTip-light.min.css" />
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/tooltipster.bundle.min.js"></script>
<script type="text/javascript" src="js/options.js"></script>
</head>
<body>
<header class="hero is-primary is-bold">
<div class="hero-body">
<div class="container">
<h1 class="title">Jirafy Settings</h1>
<h2 class="subtitle">Projects and URLs</h2>
</div>
</div>
</header>
<section class="section">
<div class="container content">
<hr class="hr" />
<div class="field is-horizontal">
<div class="field-label is-normal">
<label class="label">Jira URLs and RegExps</label>
</div>
<div class="field-body">
<div class="field has-addons">
<div class="control is-expanded">
<input class="input" type="text" name="jiraUrl" placeholder="URL" id="defaultJiraUrl" />
</div>
<div class="control">
<a class="button" title="You can specify an URL where you want your links point to.">
<span class="icon has-text-info">
<i class="fas fa-info-circle"></i>
</span>
</a>
</div>
</div>
<div class="field has-addons">
<div class="control is-expanded">
<input class="input" type="text" name="regex" placeholder="Regex" id="defaultRegex" />
</div>
<div class="control">
<a class="button" title="This is a regular expression which decides whether a text should be transformed to a link or not.">
<span class="icon has-text-info">
<i class="fas fa-info-circle"></i>
</span>
</a>
</div>
</div>
</div>
</div>
<p id="projects"></p>
<div class="field is-horizontal">
<div class="field-label"></div>
<div class="field-body">
<div class="field has-addons">
<div class="control">
<button class="button is-light" id="addRowButton">
<span class="icon has-text-info">
<i class="fas fa-plus"></i>
</span>
<span>Add new Jira URL and RegExp</span>
</button>
</div>
<div class="control">
<a class="button is-light"
title="Similarly to the default URL and regex you can add more JIRA URLs and link matcher regexes. This is particularly useful if you regularly use multiple JIRAs. Note that these matchers will be applied from top to down, so in any case a matcher matches then the ones below won't be applied. The default will be matched last as that is the ultimate fallback.">
<span class="icon has-text-info">
<i class="fas fa-info-circle"></i>
</span>
</a>
</div>
</div>
</div>
</div>
<hr class="hr"/>
<div id="exclusions">
<div class="field is-horizontal">
<div class="field-label is-normal">
<label class="label">Site URLs to exclude</label>
</div>
<div class="field-body">
<div class="field">
<div class="control is-expanded">
<input class="input" type="text" name="url" placeholder="URL" id="firstExclusion"/>
</div>
</div>
</div>
</div>
</div>
<p></p>
<div class="field is-horizontal">
<div class="field-label"></div>
<div class="field-body">
<div class="field has-addons">
<div class="control">
<button class="button is-light" id="addExclusionButton">
<span class="icon has-text-info">
<i class="fas fa-plus"></i>
</span>
<span>Add new URL to exclude</span>
</button>
</div>
<div class="control">
<a class="button is-light" title="You can specify an URL or part of an URL where you DON'T want to replace jira links.">
<span class="icon has-text-info">
<i class="fas fa-info-circle"></i>
</span>
</a>
</div>
</div>
</div>
</div>
<hr class="hr" />
<div class="field is-horizontal">
<div class="field-label"></div>
<div class="field-body">
<div class="field">
<div class="control">
<button class="button is-primary" id="saveButton">Save</button>
</div>
</div>
</div>
</div>
</div>
</section>
</body>
</html>