Commit 490151f6 authored by Caillat Michel's avatar Caillat Michel
Browse files

restructure title bar

center page display
parent 78b3f499
body{
width : 1440px;
margin-left : auto;
margin-right : auto;
font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
}
h1, h2, h3, h4, h5 {color: #272727;text-align: left;}
......@@ -9,6 +12,12 @@ h2 {font-size: 1.75em; margin: 30px 0 15px 0;}
h3 {font-size: 1.25em;margin: 30px 0 15px 0;}
h4 {font-size: 1em; margin: 30px 0 15px 0;}
.navbar-title{
border-bottom: 1px solid #f0e6e6;
background-color: #FFFFFF;
margin-bottom : 1em;
}
.map {
height: 512px;
width: 512px;
......@@ -209,8 +218,10 @@ padding-top : 0.5em;
}
.cube-infos{
font-size:15px;
color: black;
/*font-size:15px;
color: black;*/
text-align : center;
width : 100%;
}
.img-configuration select{
......
......@@ -82,7 +82,8 @@
<%}%>
</div>
</div>
<nav class="navbar navbar-light" style="background-color: #FFFFFF;">
<div><div id="cubeInfos" class="cube-infos"></div></div>
<nav class="navbar navbar-light navbar-title">
<button class="navbar-toggler" type="button"
data-toggle="collapse" data-target="#navbarToggleExternalContent"
aria-controls="navbarToggleExternalContent" aria-expanded="false"
......@@ -92,20 +93,19 @@
<!--<div><a id="jupyter" href="#" target="_blank"><img src="../jupyter.png" style="width:30px; height:30px" title="jupyter"/></a></div>-->
<a href="#" class="btn btn-link btn-sm" onclick="viewIn3D(); return false;"> Show 3D model </a>
<div><a href="http://artemix.obspm.fr/fits/browse" target="_blank" class="btn btn-link btn-sm">Show Fits file browser</a></div>
<div id="cubeInfos" class="cube-infos"></div>
<div><a id='showFITSHEADER' href='#'>Show FITS header</a></div>
<img src="../samphub.png" class="samp-img"
data-toggle="collapse" data-target="#sampRegistry" title="Transfer data to another application with SAMP protocol"
aria-controls="sampRegistry" aria-expanded="false" aria-label="Toggle navigation"/>
</nav>
</div>
<div>
<div class="container chart-container">
<div class="row">
<div class="col">
<div id="external_mouse_position_1" class="external_mouse_position"></div>
</div>
<div class="col">
<div id="spectrum_info_title" class="chart-title"></div>
<div id="spectrum_info_title" class="chart-title"></div>
</div>
</div>
<div class="row">
......@@ -1505,10 +1505,7 @@
if (typeof iDEC === 'undefined') {
iDEC = Math.floor(_naxis2 / 2);
}
/*console.log("### loading signal");
console.log(document.getElementById('loading'));
console.log(document.getElementById('loading'));*/
// recupère le spectre
$.post("", { "method": "getSpectrum", "relFITSFilePath": _relFITSFilePath, "iRA": iRA, "iDEC": iDEC, "iFREQ0": 0, "iFREQ1": _naxis3 - 1 }).done(
/*
......@@ -1629,7 +1626,7 @@
}
<%}%>
plotData.xaxis = "x";
plotData.xaxis = "x";
var maxVal = Math.max.apply(Math, plotData.y);
var minVal = Math.min.apply(Math, plotData.y);
......@@ -1663,7 +1660,7 @@
spectrumChart = Highcharts.chart('spectrum', {
title: {
text: toptitle
text: ''
},
chart: {
type: 'area',
......@@ -2388,7 +2385,6 @@
if (_naxis4) {
FITSSummary += ' - NAXIS4 = <strong>' + _naxis4 + '</strong>';
}
FITSSummary += " <a id='showFITSHEADER' href='#'> etc.</a>";
$("#cubeInfos").html(FITSSummary);
$("cubeInfos").css('font-family: monospace; font-size=x-small');
$('#showFITSHEADER').click(function () { FITSHDR.show() });
......
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