Skip to content

Commit

Permalink
Some enhancements
Browse files Browse the repository at this point in the history
  • Loading branch information
gubi committed Sep 30, 2014
1 parent f586541 commit 9435fe5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions common/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -1327,6 +1327,7 @@ $(document).ready(function() {
$.manage_url(document.location.hash.replace("#", ""));
};
$.manage_url();
$.left_panel("open");

$("#search_tips").click(function(){
apprise(i18n[lang].interface.search_tips, {
Expand Down
1 change: 1 addition & 0 deletions common/tpl/pages/Search.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ if(!isset($_GET["q"]) || trim($_GET["q"]) == "") {
<a href="javascript:void(0);" id="search_tips" class="text-muted pull-right"><span class="fa fa-keyboard-o"></span><?php print $i18n[$lang]["interface"]["btns"]["search_tips"]; ?></a>
<br />
<br />
<span class="help-block">The figures below will be changing, since we are currently loading data.</p>
<small id="statistics_loader"></small>
</div>
</div>
Expand Down
6 changes: 5 additions & 1 deletion common/tpl/pages/search_main.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,16 @@
<iframe class="embed-responsive-item" src="//player.vimeo.com/video/100975770" width="100%" height="340" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe> <p><!--a href="http://vimeo.com/100975770">PGRDG search demo</a> from <a href="http://vimeo.com/user30205374">PGR Diversity Gateway</a> on <a href="https://vimeo.com">Vimeo</a>.</p-->
</div-->
<!--p>This is a demo on how to search, with an example covering the visualization areas of the outputs search showing results for accession, checklist, national inventory data and the mapping features.</p-->
<!--br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<h2 class="text-center text-warning" style="opacity: 0.3;" unselectable="on"><span class="fa fa-times"></span> No contents for this page.</h2-->
<br />
<h2 class="text-center text-warning" style="opacity: 0.3;" unselectable="on"><span class="fa fa-times"></span> No contents for this page.</h2>
<p class="lead">This page can be used to select the metadata or 'fields' that can ve used to search data.<br />
The input field in the top of the left panel can be used to search for fields by name, type a word to have a selection of all fields containing that word; only fields which contain data will be selected.<br />
The lower section of the left panel contains search fields organized by domain, you will find generic field sections, such as Taxon or Location, which are common to most objects in the database, while secions, as Accession or Forest, contain fields for specific domains; fields which have no associated data will be disabled.</p>

0 comments on commit 9435fe5

Please sign in to comment.