-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoptions.html
48 lines (41 loc) · 2.07 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
<!DOCTYPE html>
<html>
<head>
<title>Natlex GitLab extensions options</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link href="styles.css" rel="stylesheet">
</head>
<body class="nx-gitlab-ex-options">
<form>
<div class="form-group">
<label for="urlPattern">GitLab URL pattern</label>
<input type="url" class="form-control" id="urlPattern" aria-describedby="urlPatternHelp">
<small id="urlPatternHelp" class="form-text text-muted">Plugin will run on pages matched this pattern</small>
<div class="invalid-feedback">
Field is required
</div>
</div>
<div class="form-group">
<label for="urlPattern">Comments panel direction</label>
<div class="nx-direction-selector">
<div class="btn-group">
<div class="btn btn-secondary" id="comments-vert-top">Top</div>
<div class="btn btn-secondary" id="comments-vert-bottom">Bottom</div>
</div>
<div class="btn-group">
<div class="btn btn-secondary" id="comments-horiz-left">Left</div>
<div class="btn btn-secondary" id="comments-horiz-right">Right</div>
</div>
</div>
<div>
<input type="checkbox" class="form-check-input" id="comments-expanded-by-default">
<label class="form-check-label" for="comments-expanded-by-default">Comments panel expanded by default</label>
</div>
<small id="urlPatternHelp" class="form-text text-muted">Panel will be expanded in this direction</small>
</div>
<div class="btn btn-primary" id="save">Save</div>
<div class="btn btn-light" style="float: right;" id="reset-comments-position">Reset comments position</div>
</form>
<script src="options.js"></script>
</body>
</html>