apply default css styles (class btn) to blacklist* submit buttons

pull/37/head
reger 9 years ago
parent 0fa6340936
commit 8a8e53b1a1

@ -21,7 +21,7 @@
<input type="checkbox" name="allowRegex" #(checked)#:: checked="checked"#(/checked)# /> <input type="checkbox" name="allowRegex" #(checked)#:: checked="checked"#(/checked)# />
Allow regular expressions in host part of blacklist entries. Allow regular expressions in host part of blacklist entries.
<br /><br /> <br /><br />
<input type="submit" name="list" value="Check" /> <input type="submit" name="list" class="btn btn-primary" value="Check" />
</div>:: </div>::
<p class="error">The blacklist-cleaner only works for the following blacklist-engines up to now:</p> <p class="error">The blacklist-cleaner only works for the following blacklist-engines up to now:</p>
<ul>#{engines}# <ul>#{engines}#
@ -58,7 +58,7 @@
<dd><input type="text" name="entry#[entry]#" value="#[entry]#" size="50" /></dd>#{/entries}# <dd><input type="text" name="entry#[entry]#" value="#[entry]#" size="50" /></dd>#{/entries}#
<dt>&nbsp;</dt> <dt>&nbsp;</dt>
<dd> <dd>
<input type="submit" name="alter" value="Change Selected" /> <input type="submit" name="delete" value="Delete Selected" /> <input type="submit" name="alter" class="btn btn-primary" value="Change Selected" /> <input type="submit" name="delete" class="btn btn-danger" value="Delete Selected" />
</dd> </dd>
</dl>::#(/disabled)# </dl>::#(/disabled)#
</fieldset> </fieldset>

@ -23,7 +23,7 @@
<option value="#[hash]#">#[name]#</option> <option value="#[hash]#">#[name]#</option>
#{/otherHosts}# #{/otherHosts}#
</select> </select>
<input type="submit" value="Load new blacklist items" /> <input type="submit" class="btn btn-primary" value="Load new blacklist items" />
</fieldset> </fieldset>
</form> </form>
@ -33,7 +33,7 @@
<legend>URL:</legend> <legend>URL:</legend>
<input type="hidden" name="currentBlacklist" value="#[currentBlacklist]#" /> <input type="hidden" name="currentBlacklist" value="#[currentBlacklist]#" />
<input type="text" name="url" /> <input type="text" name="url" />
<input type="submit" value="Load new blacklist items" /> <input type="submit" class="btn btn-primary" value="Load new blacklist items" />
</fieldset> </fieldset>
</form> </form>
@ -45,7 +45,7 @@
<input type="hidden" name="currentBlacklist" value="#[currentBlacklist]#" /> <input type="hidden" name="currentBlacklist" value="#[currentBlacklist]#" />
<input type="hidden" name="type" value="plaintext" /> <input type="hidden" name="type" value="plaintext" />
<input type="file" name="file" /> <input type="file" name="file" />
<input type="submit" value="Load new blacklist items" /> <input type="submit" class="btn btn-primary" value="Load new blacklist items" />
</fieldset> </fieldset>
</form> </form>
@ -57,7 +57,7 @@
<input type="hidden" name="currentBlacklist" value="#[currentBlacklist]#" /> <input type="hidden" name="currentBlacklist" value="#[currentBlacklist]#" />
<input type="hidden" name="type" value="xml" /> <input type="hidden" name="type" value="xml" />
<input type="file" name="file" /> <input type="file" name="file" />
<input type="submit" value="Load new blacklist items" /> <input type="submit" class="btn btn-primary" value="Load new blacklist items" />
</fieldset> </fieldset>
</form> </form>
</fieldset>::#(/disabled)# </fieldset>::#(/disabled)#
@ -76,7 +76,7 @@
#{/blackListNames}# #{/blackListNames}#
<option value="">all</option> <option value="">all</option>
</select> </select>
<input type="submit" value="Export list as XML" /> <input type="submit" class="btn btn-primary" value="Export list as XML" />
</fieldset> </fieldset>
</form> </form>
@ -92,7 +92,7 @@
<option value="">all</option> <option value="">all</option>
</select> </select>
<input type="hidden" name="col" value="black" /> <input type="hidden" name="col" value="black" />
<input type="submit" value="Export list as text" /> <input type="submit" class="btn btn-primary" value="Export list as text" />
</fieldset> </fieldset>
</form> </form>

@ -15,7 +15,7 @@
<fieldset> <fieldset>
<legend>Test list:</legend> <legend>Test list:</legend>
<input type="text" name="testurl" size="50" value="#[url]#" /> <input type="text" name="testurl" size="50" value="#[url]#" />
<input type="submit" name="testList" value="Test" /> <input type="submit" name="testList" class="btn btn-primary" value="Test" />
#(testlist)#:: #(testlist)#::
<br /><br /> <br /><br />

@ -42,7 +42,7 @@
#{/blackLists}# #{/blackLists}#
</select> </select>
<input type="hidden" name="selectList" value="select" /> <input type="hidden" name="selectList" value="select" />
<input type="submit" /> <input type="submit" class="btn btn-primary" />
</fieldset></form> </fieldset></form>
:: ::
#(/disabled)# #(/disabled)#
@ -60,7 +60,7 @@
#(/error)# #(/error)#
<form action="Blacklist_p.html" method="post" enctype="multipart/form-data" accept-charset="UTF-8"><fieldset> <form action="Blacklist_p.html" method="post" enctype="multipart/form-data" accept-charset="UTF-8"><fieldset>
<input type="text" id="newListName" size ="50" name="newListName" /> <input type="text" id="newListName" size ="50" name="newListName" />
<input type="submit" name="createNewList" value="create" /> <input type="submit" name="createNewList" class="btn btn-primary" value="create" />
</fieldset></form> </fieldset></form>
</fieldset> </fieldset>
<br /><br /> <br /><br />
@ -75,7 +75,7 @@
<div> <div>
<input type="hidden" name="currentBlacklist" value="#[currentBlacklist]#" /> <input type="hidden" name="currentBlacklist" value="#[currentBlacklist]#" />
<input type="text" name="newEntry" size="50" /> <input type="text" name="newEntry" size="50" />
<input type="submit" name="addBlacklistEntry" value="Add URL pattern" /> <input type="submit" name="addBlacklistEntry" class="btn btn-primary" value="Add URL pattern" />
</div> </div>
<p>The right '*', after the '/', can be replaced by a <a href="http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html" target="_blank">regular expression</a>.</p> <p>The right '*', after the '/', can be replaced by a <a href="http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html" target="_blank">regular expression</a>.</p>
<ul> <ul>
@ -119,7 +119,7 @@
#{/blackListsMove}# #{/blackListsMove}#
</select> </select>
&nbsp; &nbsp;
<input type="submit" /> <input type="submit" class="btn btn-primary" />
</div> </div>
</form> </form>
@ -129,18 +129,18 @@
<p>Show entries: <p>Show entries:
<table><tr> <table><tr>
#{subListOffset}# #{subListOffset}#
<td style="padding: 5px;"><button type="submit" name="offset" style="padding:3px" value="#[fvalue]#" #(selected)#:: disabled="true"#(/selected)# />#[fvalue]# - #[tvalue]#</button></td> <td style="padding: 5px;"><button type="submit" name="offset" class="btn btn-sm btn-default" style="padding:3px" value="#[fvalue]#" #(selected)#:: disabled="true"#(/selected)# />#[fvalue]# - #[tvalue]#</button></td>
#{/subListOffset}# #{/subListOffset}#
</tr></table> </tr></table>
&nbsp; &nbsp;
Entries per page: Entries per page:
<select name="size" size="1" onchange="document.selectRange.submit();"> <select name="size" size="1" onchange="submit();">
#{subListSize}# #{subListSize}#
<option value="#[value]#" #(selected)#::selected="selected"#(/selected)#>#[text]#</option> <option value="#[value]#" #(selected)#::selected="selected"#(/selected)#>#[text]#</option>
#{/subListSize}# #{/subListSize}#
</select> </select>
&nbsp; &nbsp;
<input type="submit" value="set" /> <input type="submit" class="btn btn-sm btn-default" value="set" />
</p> </p>
</fieldset></form> </fieldset></form>
@ -155,7 +155,7 @@
<input type="hidden" name="selectedBlacklistEntry.#[count]#" value="#[item]#"/> <input type="hidden" name="selectedBlacklistEntry.#[count]#" value="#[item]#"/>
#{/editList}# #{/editList}#
<br /><br /> <br /><br />
<input type="submit" value="Save URL pattern(s)" /> <input type="submit" class="btn btn-primary" value="Save URL pattern(s)" />
</div> </div>
</form> </form>
#(/edit)# #(/edit)#
@ -167,8 +167,8 @@
<form action="Blacklist_p.html" method="post" enctype="multipart/form-data" accept-charset="UTF-8"> <form action="Blacklist_p.html" method="post" enctype="multipart/form-data" accept-charset="UTF-8">
<div> <div>
<input type="hidden" name="selectedListName" value="#[currentBlacklist]#" /> <input type="hidden" name="selectedListName" value="#[currentBlacklist]#" />
<input type="submit" name="shareList" value="Share/don't share this list" /> <input type="submit" name="shareList" class="btn btn-default" value="Share/don't share this list" />
<input type="submit" name="deleteList" value="Delete this list" /> <input type="submit" name="deleteList" class="btn btn-danger" value="Delete this list" />
</div> </div>
</form> </form>
<form action="Blacklist_p.html" method="post" enctype="multipart/form-data" accept-charset="UTF-8"> <form action="Blacklist_p.html" method="post" enctype="multipart/form-data" accept-charset="UTF-8">
@ -183,23 +183,11 @@
#{/currentActiveFor}# #{/currentActiveFor}#
</dl> </dl>
<input type="hidden" name="selectedListName" value="#[currentBlacklist]#" /> <input type="hidden" name="selectedListName" value="#[currentBlacklist]#" />
<input type="submit" name="activateList" value="Save" /> <dl><dt></dt><dd><input type="submit" name="activateList" class="btn btn-primary" value="Save" /></dd></dl>
</fieldset> </fieldset>
</form> </form>
</fieldset> </fieldset>
::#(/disabled)# ::#(/disabled)#
<!--
<div>
<p>
#(status)#
::
<strong>#[item]#</strong> was removed from blacklist
::
<strong>#[item]#</strong> was added to the blacklist
#(/status)#
</p>
</div>
-->
#%env/templates/footer.template%# #%env/templates/footer.template%#
</body> </body>
</html> </html>

Loading…
Cancel
Save