Skip to main content
Sign in
Snippets Groups Projects
Commit 8412e823 authored by Ansel Neunzert's avatar Ansel Neunzert
Browse files

Added spacing between magnetometers, locations in summary page

parent afe8726f
No related branches found
No related tags found
No related merge requests found
...@@ -6,10 +6,7 @@ ...@@ -6,10 +6,7 @@
<body> <body>
<h2> Daily comb summary </h2> <h2> Daily comb summary </h2>
<p>See the bottom of this page for help and navigation.</p> <p>Please see the bottom of this page for help and navigation.</p>
<div id="notes">
{{includetxt}}
</div>
<section class=""> <section class="">
<div class="container"> <div class="container">
...@@ -22,10 +19,52 @@ ...@@ -22,10 +19,52 @@
{% endfor %} {% endfor %}
</tr> </tr>
<tbody> <tbody>
{% set chlevels_old="" -%}
{% set var1={'maxlen':0} -%}
{% set bigsplit=5 -%}
{% set smallsplit=1 -%}
{% for index,row in content.iterrows() %}
{% set channel=index.split("1:")[1].split(".html")[0] -%}
{% set channel=channel.replace("-","_") -%}
{% set chlevels=channel.split("_") -%}
{% if chlevels|length > var1['maxlen'] %}
{% if var1.update({'maxlen':chlevels|length}) %} {% endif %}
{% endif %}
{% endfor %}
</tr> </tr>
{% for index,row in content.iterrows() %} {% for index,row in content.iterrows() %}
<tr> {% set channel=index.split("1:")[1].split(".html")[0] -%}
{% set channel=channel.replace("-","_") -%}
{% set chlevels=channel.split("_") -%}
{% set vars={'splitlevel':0} -%}
{% if chlevels_old=="" %}
{% if vars.update({'splitlevel':bigsplit}) %} {% endif %}
{% endif %}
{% if chlevels_old!="" %}
{% for i in range(var1['maxlen']) %}
{% set ind=-1*i -%}
{% if chlevels[ind]!=chlevels_old[ind] and i > vars['splitlevel'] and i>2%}
{% if vars.update({'splitlevel':i-2}) %} {% endif %}
{% if i < var1['maxlen']-1 %}
{% if vars.update({'splitlevel':smallsplit}) %} {% endif %}
{% endif %}
{% if i >= var1['maxlen']-1 %}
{% if vars.update({'splitlevel':bigsplit}) %} {% endif %}
{% endif %}
{% endif %}
{% endfor %}
{% endif %}
{% set chlevels_old=chlevels -%}
{% for i in range(vars['splitlevel']) %}
<tr class="rowspacer"><td colspan="100"></td></tr>
{% endfor %}
<tr>
<td> {{index}} </td> <td> {{index}} </td>
{% for col in content.columns %} {% for col in content.columns %}
...@@ -40,6 +79,11 @@ ...@@ -40,6 +79,11 @@
</table> </table>
</div> </div>
</section> </section>
<div id="notes">
{{includetxt}}
</div>
<h2>Navigation</h2> <h2>Navigation</h2>
<div id="notes"> <div id="notes">
... ...
......
table{ table{
border: 1px solid;
border-collapse: collapse; border-collapse: collapse;
background-color:darkgray; background-color:darkgray;
} }
td { td {
padding:2 10 2 10; padding:2 10 2 10;
outline:1px solid black; border:1px solid black;
} border-collapse:collapse;
/*td:hover {
outline: 3px solid white;
} }
*/
hr { hr {
border:1px solid rgba(0, 0, 0, .3)!important; border:1px solid rgba(0, 0, 0, .3)!important;
...@@ -44,7 +39,7 @@ display:block; ...@@ -44,7 +39,7 @@ display:block;
div { div {
width:80%; width:80%;
background-color:lightgray; background-color:white;
padding: 3px 10px 3px 10px; padding: 3px 10px 3px 10px;
margin-bottom: 10px; margin-bottom: 10px;
} }
...@@ -91,6 +86,17 @@ padding: 3 3 3 3; ...@@ -91,6 +86,17 @@ padding: 3 3 3 3;
display: inline-block; display: inline-block;
} }
.rowspacer td{
line-height:5px!important;
border: 0px solid white!important;
background-color:white!important;
}
.rowspacer r{
line-height:5px!important;
border: 0px solid white!important;
}
/* Tooltip text */ /* Tooltip text */
.tooltip .tooltiptext { .tooltip .tooltiptext {
visibility: hidden; visibility: hidden;
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment