-
Notifications
You must be signed in to change notification settings - Fork 2
/
options.html
128 lines (123 loc) · 5.67 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
<!doctype html>
<html>
<head>
<title>Options for WallabagIt</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
</head>
<body>
<div class="container">
<div class="row">
<div class="page-header col-md-12">
<h2>WallabagIt Options</h2>
</div>
</div>
<div class="row">
<div class="col-md-4">
<!-- Wallabag v2 -->
<div id="wallabag-v2">
<ul class="list-group">
<li class="list-group-item">
<label>API Client ID</label>
<small>( Required )</small>
<div class="input-group">
<span class="input-group-addon"><span class="glyphicon glyphicon-cloud"></span></span>
<input type="text" class="form-control" placeholder="Client ID" id="api-client-id">
</div>
</li>
<li class="list-group-item">
<label>API Client Secret</label>
<small>( Required )</small>
<div class="input-group">
<span class="input-group-addon"><span class="glyphicon glyphicon-lock"></span></span>
<input type="text" class="form-control" placeholder="Client Secret" id="api-client-secret">
</div>
</li>
<li class="list-group-item">
<label>Username</label>
<small>( Required )</small>
<div class="input-group">
<span class="input-group-addon"><span class="glyphicon glyphicon-user"></span></span>
<input type="text" class="form-control" placeholder="Your Wallabag username" id="wallabag-username">
</div>
</li>
<li class="list-group-item">
<label>Password</label>
<small>( Required )</small>
<div class="input-group">
<span class="input-group-addon"><span class="glyphicon glyphicon-lock"></span></span>
<input type="password" class="form-control" placeholder="Your Wallabag password" id="wallabag-password">
</div>
</li>
</ul>
</div>
<ul class="list-group">
<li class="list-group-item">
<label>Wallabag URL</label>
<small>( Required )</small>
<div class="input-group">
<span class="input-group-addon"><span class="glyphicon glyphicon-globe"></span></span>
<input type="text" class="form-control" placeholder="Your Wallabag URL" id="api-url">
</div>
<small class="text-danger">Make sure you Wallabag instants is running on a server running SSL and that you are using the SSL URL (https)</small>
</li>
</ul>
</div>
<div class="col-md-3">
<ul class="list-group">
<li class="list-group-item">
<label>Open link using:</label>
<div class="btn-group link-options" data-toggle="buttons">
<label class="btn btn-primary">
<input type="radio" name="opt-linking" id="wallabag-url" value="wallabag"> Wallabag URL
</label>
<label class="btn btn-primary">
<input type="radio" name="opt-linking" id="page-url" value="page"> Page URL
</label>
</div>
</li>
<li class="list-group-item">
<label>Display Options:</label>
<select id="opt-display" class="form-control">
<option value="title">Title</option>
<option value="title_url">Title/URL</option>
<option value="url">URL</option>
</select>
</li>
</ul>
</div>
<div class="col-md-5">
<ul class="list-group">
<li class="list-group-item">
Created by <strong><a href="mailto:[email protected]"><strong>Winter Faulk</strong></a>
( <a href="http://faulk.me">faulk.me</a> |
<a href="https://github.com/faulker">github.com/faulker</a> )
</strong>
</li>
<li class="list-group-item" id="version">
Version:
</li>
<li class="list-group-item" id="requirementInfo">
<strong>API Status:</strong>
<span id="apiStatus"></span>
</li>
</ul>
</div>
</div>
<div class="row">
<div class="col-md-4">
<ul class="list-group">
<li class="list-group-item">
<button type="button" class="btn btn-success" id="save-settings">Save</button>
</li>
</ul>
<div class="alert alert-success alert-dismissable">Changes saved!</div>
</div>
</div>
</div>
</body>
<script src="js/jquery.min.js" type="text/javascript"></script>
<script src="js/bootstrap.min.js" type="text/javascript"></script>
<script src="js/components/settings.js" type="text/javascript"></script>
<script src="js/components/auth.js" type="text/javascript"></script>
<script src="js/options.js" type="text/javascript"></script>
</html>