Commit e9a29e18 authored by Romain Loth's avatar Romain Loth

minor layout: selection box to the left and logos on top

parent b976bd2e
......@@ -59,6 +59,11 @@
padding: 0;
}
/* selection box aka 'div#names' */
div#names{
height: 20em;
}
/* ------------- crowdsourcing proprement dit ----------------------- */
......
......@@ -205,7 +205,7 @@ function save_suggestions(term) {
console.log( "SUCCESS" )
console.log( data )
//$("#sendcrowds").html(D["#sendcrowds"]["thanks"][LA]) //showing message
$("#crowdsourcing_answer").html("<p><b>Thank you !</b><br/>(<i>\"" + term + "\"</i> was saved in database)</p>") ;
$("#crowdsourcing_answer").html("<p><b>Thank you !</b><br/>(<i>\"" + term + "\"</i> was saved as a suggestion)</p>") ;
// show "saved" icon
$("#saveicon").removeClass("glyphicon-save");
......
......@@ -63,8 +63,8 @@
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="http://www.cnrs.fr" target="_blank">CNRS</a></li>
<li><a href="http://iscpif.fr" target="_blank">ISC-PIF</a></li>
<li><a href="http://www.cnrs.fr" target="_blank" title="CNRS"><img src="libs/img2/logo_cnrs_transparent.gif" height="45"></a></li>
<li><a href="http://iscpif.fr" target="_blank" title="ISC-PIF" height="22"><img src="libs/img2/logo_ISCPIF_small.svg"></a></li>
</ul>
</div><!--navbar-main-->
......@@ -221,7 +221,7 @@
<!-- ideally should be appended by jquery for autocomplete -->
<input id="proposed_terms" type="text" class="form-control" placeholder="Recherche" />
</div><!-- /search_input_group -->
</div><!-- /form -->
......@@ -231,6 +231,10 @@
<!-- say thanks for the suggestion -->
<div id="crowdsourcing_answer" class="col-md-12"></div>
</div><!-- /row -->
<div class="row" class="TODOselectionbox">
<div id="names"></div>
</div><!-- /row -->
<div class="row" class="TODOhistogramModule">
<!-- filled by query (user search value) to wos api -->
......@@ -312,17 +316,13 @@
</div>
<!-- Sidebar right, old css -->
<div id="rightcolumn">
<div style="text-align: center;">
<a href="http://www.cnrs.fr" target="_blank"><img width="40%" src="https://www.ipmc.cnrs.fr/~duprat/comm/images/logo_cnrs_transparent.gif"></a>
</div>
<div id="rightcolumn">
<button
style="color: #900;font-weight: bold;font-size: 70%;text-transform: uppercase;float:right;"
onClick='cancelSelection(false);'
>X</button>
<div id="tips"></div>
<div id="names"></div>
<br>
<div id="tab-container" class='tab-container' style="display: none;">
......
......@@ -360,7 +360,7 @@ function updateLeftPanel_fix( sels , oppos ) {
// and im commenting now because github is not
// pushing my commit
// because i need more lines, idk
$("#names").html(namesDIV).readmore({maxHeight:100});
$("#names").html(namesDIV).readmore({maxHeight:150});
$("#tab-container").show();
$("#opossiteNodes").html(alterNodesDIV).readmore({maxHeight:200});
$("#sameNodes").html(sameNodesDIV).readmore({maxHeight:200});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment