summaryrefslogtreecommitdiff
path: root/htroot/yacysearchtrailer.html
diff options
context:
space:
mode:
authorluccioman <luccioman@users.noreply.github.com>2016-09-29 14:24:15 +0200
committerluccioman <luccioman@users.noreply.github.com>2016-09-29 14:24:15 +0200
commit5027912f306b5700c6c89ff47ff76c1788da717d (patch)
tree696439439a542a18da2e28b22a63277b9eaf50d2 /htroot/yacysearchtrailer.html
parentabe489a0b52b179e04853f9b7da4d5efacfee6c0 (diff)
Fixed <p> spacers : blocks elements such as <div> are not allowed inside
Diffstat (limited to 'htroot/yacysearchtrailer.html')
-rw-r--r--htroot/yacysearchtrailer.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/htroot/yacysearchtrailer.html b/htroot/yacysearchtrailer.html
index adae22151..a2ae2eb34 100644
--- a/htroot/yacysearchtrailer.html
+++ b/htroot/yacysearchtrailer.html
@@ -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>