Skip to main content
Homepage
Explore
Search or go to…
/
Sign in
Explore
Primary navigation
Project
F
FineTooth
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Collapse sidebar
Snippets
Groups
Projects
Show more breadcrumbs
Ansel Neunzert
FineTooth
Commits
8412e823
Commit
8412e823
authored
Oct 6, 2016
by
Ansel Neunzert
Browse files
Options
Downloads
Patches
Plain Diff
Added spacing between magnetometers, locations in summary page
parent
afe8726f
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
combtrack_summary_template.html
+49
-5
49 additions, 5 deletions
combtrack_summary_template.html
summary_style.css
+14
-8
14 additions, 8 deletions
summary_style.css
with
63 additions
and
13 deletions
combtrack_summary_template.html
+
49
−
5
View file @
8412e823
...
@@ -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"
>
...
...
...
...
This diff is collapsed.
Click to expand it.
summary_style.css
+
14
−
8
View file @
8412e823
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
;
...
...
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment