-
Notifications
You must be signed in to change notification settings - Fork 4
/
options.html
executable file
·160 lines (152 loc) · 6.13 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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<!--
* Diaspora* Publisher extension.
* Copyright (C) 2015 Vittorio Cuculo <me@vcuculo.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-->
<html>
<head>
<title>Diaspora Publisher Options</title>
<link href="css/bootstrap.css" rel="stylesheet">
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/options.js"></script>
<style>
</style>
</head>
<body>
<div class="container">
<h1 id="optionsTitle"></h1>
<form class="form-horizontal">
<fieldset>
<legend id="podOptionsTitle"></legend>
<div class="control-group">
<label id="podOpt" for="pod" class="control-label"></label>
<div class="controls">
<input id="pod" name="podurl" data-provide="typeahead" autocomplete="off">
<p id="choosePod" class="help-block"></p>
</div>
</div>
<div class="control-group">
<div class="controls">
<input type="button" class="btn btn-primary" id="savepod"/>
</div>
</div>
</fieldset>
</form>
<form class="form-horizontal">
<fieldset>
<legend id="postOptionsTitle"></legend>
<div class="control-group">
<label id="addMarkup" class="control-label"></label>
<div class="controls">
<label id="addMarkdownOpt" for="markdown" class="optioninput checkbox">
<input id="markdown" type="checkbox"">
</label>
<p id="addMarkupHelp" class="help-block"></p>
</div>
</div>
<div class="control-group">
<label id="addComment" class="control-label"></label>
<div class="controls">
<label id="addTagsOpt" for="tags" class="optioninput checkbox">
<input id="tags" type="checkbox">
</label>
<label id="addMsgOpt" for="msg" class="optioninput checkbox">
<input id="msg" type="checkbox">
</label>
<p id="addCommentHelp" class="help-block"></p>
</div>
</div>
<div class="control-group">
<label id="addPageLink" class="control-label"></label>
<div class="controls">
<label id="addTitleOpt" for="title" class="optioninput checkbox">
<input id="title" type="checkbox">
</label>
<label id="addUrlOpt" for="url" class="optioninput checkbox">
<input id="url" type="checkbox">
</label>
<p id="addPageLinkHelp" class="help-block"></p>
</div>
</div>
<div class="control-group">
<div class="control-group">
<label id="shortOpt" class="optioninput control-label"></label>
<div class="controls">
<label class="optioninput radio">
<input type="radio" id="short" name="short" value="google">
Goo.gl
</label>
<label class="optioninput radio">
<input type="radio" id="short" name="short" value="tiny">
Tinyurl.com
</label>
<label id="noneOpt" class="optioninput radio">
<input type="radio" id="short" name="short" value="none">
</label>
<p id="shortOptHelp" class="help-block"></p>
</div>
</div>
</div>
<div class="control-group">
<label id="addPreview" class="control-label"></label>
<div class="controls">
<label id="addImageOpt" for="images" class="optioninput checkbox">
<input id="images" type="checkbox">
</label>
<label id="addYTOpt" for="ytimg" class="optioninput checkbox">
<input id="ytimg" type="checkbox">
</label>
<label id="addVMOpt" for="vmimg" class="optioninput checkbox">
<input id="vmimg" type="checkbox">
</label>
<p id="addPreviewHelp" class="help-block"></p>
</div>
</div>
</fieldset>
</form>
<form class="form-horizontal">
<fieldset>
<legend id="notificationOptionsTitle"></legend>
<div class="control-group">
<label id="enableNotify" for="notify" class="optioninput controls">
<input id="notify" type="checkbox">
</label>
</div>
<div class="control-group">
<label id="checkEvery" for="minutes" class="optioninput control-label"></label>
<div class="controls">
<div class="input-append">
<select id="minutes" class="span1">
<option value="60000">1</option>
<option value="300000">5</option>
<option value="600000">10</option>
<option value="1200000">20</option>
<option value="1800000">30</option>
</select>
<span class="add-on" id="minutes" class="optioninput"></span>
</div>
</div>
</div>
</fieldset>
</form>
<hr>
<footer>
<p id="extProjectAbout"> <a id="githubLink" href="https://github.com/vcuculo/diaspora-chrome-publisher"></a> </p>
</footer>
</div>
</body>
</html>