mirror of
https://github.com/yacy/yacy_search_server.git
synced 2025-07-20 08:54:37 -04:00
Fixed <p> spacers : blocks elements such as <div> are not allowed inside
This commit is contained in:
@ -40,12 +40,11 @@
|
||||
<script>$("#resource-switch-form").popover(); $("[name='resource-switch']").bootstrapSwitch();</script>
|
||||
#(/resource-select)#
|
||||
|
||||
<p class="navbutton">
|
||||
<p class="navbutton"></p>
|
||||
<div class="btn-group btn-group-justified">
|
||||
<div class="btn-group btn-group-xs"><button type="button" id="sort_button_context" class="btn btn-default" onclick="document.getElementById('search').value=document.getElementById('search').value.replace(' /date','');document.searchform.submit();">Context Ranking</button></div>
|
||||
<div class="btn-group btn-group-xs"><button type="button" id="sort_button_date" class="btn btn-default" onclick="document.getElementById('search').value=document.getElementById('search').value + ' /date';document.searchform.submit();">Sort by Date</button></div>
|
||||
</div>
|
||||
</p>
|
||||
<script>
|
||||
if (document.getElementById('search').value.indexOf(" /date") == -1) {
|
||||
document.getElementById("sort_button_context").setAttribute("class","btn btn-default active");
|
||||
@ -56,7 +55,7 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
#(searchdomswitches)#::<p class="navbutton">
|
||||
#(searchdomswitches)#::<p class="navbutton"></p>
|
||||
<div class="btn-group btn-group-justified">
|
||||
#(searchtext)#::<div class="btn-group btn-group-xs"><button type="button" class="btn btn-default#(check)#:: active#(/check)#"#(check)# onclick="document.getElementById('contentdom').value='text';document.searchform.submit();"::#(/check)#>Documents</button></div>#(/searchtext)#
|
||||
#(searchimage)#::<div class="btn-group btn-group-xs"><button type="button" class="btn btn-default#(check)#:: active#(/check)#"#(check)# onclick="document.getElementById('contentdom').value='image';document.searchform.submit();"::#(/check)#>Images</button></div>#(/searchimage)#
|
||||
@ -64,9 +63,10 @@
|
||||
#(searchvideo)#::<div class="btn-group btn-group-xs"><button type="button" class="btn btn-default#(check)#:: active#(/check)#"#(check)# onclick="document.getElementById('contentdom').value='video';document.searchform.submit();"::#(/check)#>Video</button></div>#(/searchvideo)#
|
||||
#(searchapp)#::<div class="btn-group btn-group-xs"><button type="button" class="btn btn-default#(check)#:: active#(/check)#"#(check)# onclick="document.getElementById('contentdom').value='app';document.searchform.submit();"::#(/check)#>Apps</button></div>#(/searchapp)#
|
||||
</div>
|
||||
</p>#(/searchdomswitches)#
|
||||
#(/searchdomswitches)#
|
||||
|
||||
#(nav-protocols)#::
|
||||
<p class="navbutton"></p>
|
||||
<div class="btn-group btn-group-justified">
|
||||
#{element}#
|
||||
<div class="btn-group btn-group-xs"><button type="button" class="btn btn-default#(on)#:: active#(/on)#"#(on)# onclick="window.location.href='#[url]#';"::#(/on)#>#[name]# (#[count]#)</button></div>
|
||||
|
Reference in New Issue
Block a user