|
|
@ -40,12 +40,11 @@
|
|
|
|
<script>$("#resource-switch-form").popover(); $("[name='resource-switch']").bootstrapSwitch();</script>
|
|
|
|
<script>$("#resource-switch-form").popover(); $("[name='resource-switch']").bootstrapSwitch();</script>
|
|
|
|
#(/resource-select)#
|
|
|
|
#(/resource-select)#
|
|
|
|
|
|
|
|
|
|
|
|
<p class="navbutton">
|
|
|
|
<p class="navbutton"></p>
|
|
|
|
<div class="btn-group btn-group-justified">
|
|
|
|
<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_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 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>
|
|
|
|
</div>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
if (document.getElementById('search').value.indexOf(" /date") == -1) {
|
|
|
|
if (document.getElementById('search').value.indexOf(" /date") == -1) {
|
|
|
|
document.getElementById("sort_button_context").setAttribute("class","btn btn-default active");
|
|
|
|
document.getElementById("sort_button_context").setAttribute("class","btn btn-default active");
|
|
|
@ -56,7 +55,7 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
#(searchdomswitches)#::<p class="navbutton">
|
|
|
|
#(searchdomswitches)#::<p class="navbutton"></p>
|
|
|
|
<div class="btn-group btn-group-justified">
|
|
|
|
<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)#
|
|
|
|
#(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)#
|
|
|
|
#(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)#
|
|
|
|
#(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)#
|
|
|
|
#(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>
|
|
|
|
</div>
|
|
|
|
</p>#(/searchdomswitches)#
|
|
|
|
#(/searchdomswitches)#
|
|
|
|
|
|
|
|
|
|
|
|
#(nav-protocols)#::
|
|
|
|
#(nav-protocols)#::
|
|
|
|
|
|
|
|
<p class="navbutton"></p>
|
|
|
|
<div class="btn-group btn-group-justified">
|
|
|
|
<div class="btn-group btn-group-justified">
|
|
|
|
#{element}#
|
|
|
|
#{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>
|
|
|
|
<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>
|
|
|
|