better buttons

pull/1/head
Michael Peter Christen 11 years ago
parent a9963d5c95
commit bbadccbd8d

@ -95,7 +95,7 @@
<input type="hidden" name="process" value="#[tabletype]#" /> <input type="hidden" name="process" value="#[tabletype]#" />
<input type="hidden" name="domain" value="#[domain]#" /> <input type="hidden" name="domain" value="#[domain]#" />
<input type="hidden" name="blacklistname" value="#[blacklistname]#" /> <input type="hidden" name="blacklistname" value="#[blacklistname]#" />
<input type="submit" name="deletedomain" value="delete all" /> <input type="submit" name="deletedomain" value="delete all" class="btn btn-danger btn-xs"/>
</div> </div>
</form> </form>
</td> </td>
@ -107,7 +107,7 @@
<input type="hidden" name="process" value="#[tabletype]#" /> <input type="hidden" name="process" value="#[tabletype]#" />
<input type="hidden" name="domain" value="#[domain]#" /> <input type="hidden" name="domain" value="#[domain]#" />
<input type="hidden" name="blacklistname" value="#[blacklistname]#" /> <input type="hidden" name="blacklistname" value="#[blacklistname]#" />
<input type="submit" name="delandaddtoblacklist" value="del & blacklist" /> <input type="submit" name="delandaddtoblacklist" value="del & blacklist" class="btn btn-danger btn-xs"/>
</div> </div>
</form> </form>
</td> </td>
@ -149,7 +149,7 @@
<div> <div>
<input type="hidden" name="process" value="#[tabletype]#" /> <input type="hidden" name="process" value="#[tabletype]#" />
<input type="hidden" name="hash" value="#[urlhash]#" /> <input type="hidden" name="hash" value="#[urlhash]#" />
<input type="submit" name="deleteentry" value="delete" /> <input type="submit" name="deleteentry" value="delete" class="btn btn-danger btn-xs"/>
</div> </div>
</form> </form>
</td> </td>

@ -81,7 +81,7 @@
#(terminate-button)#:: #(terminate-button)#::
<form action="/Crawler_p.html" method="get" role="form"> <form action="/Crawler_p.html" method="get" role="form">
<input type="hidden" name="queues_terminate_all" value="" /> <input type="hidden" name="queues_terminate_all" value="" />
<button type="submit" class="btn btn-inverse navbar-btn label-danger" onclick="return confirm('Confirm Termination of All Crawls')"><span class="glyphicon glyphicon-remove-circle"></span> Terminate All</button> <button type="submit" class="btn btn-danger" onclick="return confirm('Confirm Termination of All Crawls')"><span class="glyphicon glyphicon-remove-circle"></span> Terminate All</button>
</form> </form>
#(/terminate-button)# #(/terminate-button)#
</fieldset> </fieldset>
@ -231,7 +231,7 @@ document.getElementById("queues").style.height = maxh + "px";
<div style="text-decoration:blink;float:left;">Running</div> <div style="text-decoration:blink;float:left;">Running</div>
<form style="float:left;" action="Crawler_p.html" method="get" enctype="multipart/form-data" accept-charset="UTF-8"><div> <form style="float:left;" action="Crawler_p.html" method="get" enctype="multipart/form-data" accept-charset="UTF-8"><div>
<input type="hidden" name="handle" value="#[handle]#" /> <input type="hidden" name="handle" value="#[handle]#" />
<input type="submit" name="terminate" value="Terminate" /> <input type="submit" name="terminate" value="Terminate" class="btn btn-danger btn-xs"/>
</div></form> </div></form>
#(/terminateButton)# #(/terminateButton)#
</td> </td>

@ -167,20 +167,28 @@ To see a list of all APIs, please visit the <a href="http://www.yacy-websuche.de
</table> </table>
</div> </div>
</fieldset> </fieldset>
<p>
<input type="hidden" name="scheduleeventaction" id="scheduleeventaction" value="false" /> <input type="hidden" name="scheduleeventaction" id="scheduleeventaction" value="false" />
<input type="hidden" name="current_pk" id="current_pk" value="" /> <input type="hidden" name="current_pk" id="current_pk" value="" />
<input type="hidden" name="num" value="#[num]#" /> <input type="hidden" name="num" value="#[num]#" />
&nbsp;<input type="submit" name="execrows" value="Execute Selected Actions" />&nbsp;&nbsp;&nbsp; <p>
<input type="submit" name="deleterows" value="Delete Selected Actions" />&nbsp;&nbsp;&nbsp; <div class="form-horizontal">
<table><tr><td><input type="submit" name="deleteold" value="Delete all Actions which had been created before " /></td><td><select name="deleteoldtime"> <input type="submit" name="execrows" value="Execute Selected Actions" class="btn btn-success"/>&nbsp;&nbsp;&nbsp;
<input type="submit" name="deleterows" value="Delete Selected Actions" class="btn btn-danger"/>&nbsp;&nbsp;&nbsp;
</div>
</p>
<p>
<div class="form-group">
<input type="submit" name="deleteold" value="Delete all Actions which had been created before " class="btn btn-warning" style="float:left;"/>
<select name="deleteoldtime" class="form-control selectWidth input-sm" style="width:auto;">
<option value="1">1 day</option><option value="2">2 days</option><option value="3">3 days</option> <option value="1">1 day</option><option value="2">2 days</option><option value="3">3 days</option>
<option value="4">4 days</option><option value="5">5 days</option><option value="6">6 days</option> <option value="4">4 days</option><option value="5">5 days</option><option value="6">6 days</option>
<option value="7">1 week</option><option value="14">2 weeks</option><option value="21">3 weeks</option> <option value="7">1 week</option><option value="14">2 weeks</option><option value="21">3 weeks</option>
<option value="30">1 month</option><option value="60" selected="selected">2 months</option><option value="90">3 months</option> <option value="30">1 month</option><option value="60" selected="selected">2 months</option><option value="90">3 months</option>
<option value="180">6 months</option><option value="270">9 months</option> <option value="180">6 months</option><option value="270">9 months</option>
<option value="365">1 year</option><option value="730">2 years</option> <option value="365">1 year</option><option value="730">2 years</option>
</select></td></tr></table> </select>
</div>
</p> </p>
</form> </form>

Loading…
Cancel
Save