diff options
| author | luccioman <luccioman@users.noreply.github.com> | 2018-03-27 18:05:20 +0200 |
|---|---|---|
| committer | luccioman <luccioman@users.noreply.github.com> | 2018-03-27 18:05:20 +0200 |
| commit | 311e91ff7756a3dc91c09e7ea0ac43e6a6042dc5 (patch) | |
| tree | 170d0f987c7db021407ea12c0c0a24cbaf12aa25 /htroot/yacysearchtrailer.html | |
| parent | 90dc580158ddb286b1f81d7ed3b6c974b24a8e6b (diff) | |
Added hint to clarify results rendered dates and 'Sort by date' switch
Diffstat (limited to 'htroot/yacysearchtrailer.html')
| -rw-r--r-- | htroot/yacysearchtrailer.html | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/htroot/yacysearchtrailer.html b/htroot/yacysearchtrailer.html index 2c191fc87..e49ebb9e5 100644 --- a/htroot/yacysearchtrailer.html +++ b/htroot/yacysearchtrailer.html @@ -45,8 +45,14 @@ <p class="navbutton"></p> <div id="rankingButtons" class="btn-group btn-group-justified" data-nav-generation="#[nav-generation]#"> <!-- data-nav-generation attribute helps the browser know whether the search navigators have to be refreshed --> - <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_context" class="btn btn-default" title="Use the default ranking profile (customizable), ordering results by score." + 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" title="Use the 'Date' ranking profile, ordering results by default on each document last modification date." + onclick="document.getElementById('search').value=document.getElementById('search').value + ' /date';document.searchform.submit();">Sort by Date</button> + </div> </div> <script> if (document.getElementById('search').value.indexOf(" /date") == -1) { |
