Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
gstlal-visualisation
ligo-scald
Commits
97207e89
Commit
97207e89
authored
Sep 09, 2019
by
Patrick Godwin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update report templates to new formatting, CDN urls
parent
1e3837a1
Pipeline
#78976
passed with stages
in 4 minutes and 12 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
15 deletions
+16
-15
templates/report.html
templates/report.html
+11
-8
templates/report_navbar.html
templates/report_navbar.html
+5
-7
No files found.
templates/report.html
View file @
97207e89
...
...
@@ -9,8 +9,12 @@
<!-- Dependencies -->
<!-- CSS -->
<link
type=
"text/css"
rel=
"stylesheet"
href=
"https://unpkg.com/bootstrap/dist/css/bootstrap.min.css"
/>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"https://unpkg.com/bootstrap-vue@latest/dist/bootstrap-vue.min.css"
/>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"https://cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/css/bootstrap.min.css"
/>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"https://cdn.jsdelivr.net/npm/bootstrap-vue@2.0.0-rc.27/dist/bootstrap-vue.min.css"
/>
<link
href=
"static/scald.css"
rel=
"stylesheet"
type=
"text/css"
/>
% if 'css' in config:
<link
href=
"{{ config['css'] }}"
rel=
"stylesheet"
type=
"text/css"
/>
% end
<!-- Fonts -->
<link
href=
"https://fonts.googleapis.com/css?family=Noto+Serif+TC"
rel=
"stylesheet"
>
...
...
@@ -21,18 +25,17 @@
<!-- Scripts -->
<!-- Required for graphing and table prodution -->
<script
src=
"https://cdn.plot.ly/plotly-latest.min.js"
></script>
<script
src=
"https://cdnjs
.cloudflare.com/ajax/libs
/jquery
/
3.
3
.1/jquery.min.js"
></script>
<script
src=
"https://cdn
.
js
delivr.net/npm
/jquery
@
3.
4
.1/
dist/
jquery.min.js"
></script>
<script
src=
"https://
unpkg.com/vue@latest
/dist/vue.min.js"
></script>
<script
src=
"https://
unpkg.co
m/bootstrap-vue@
latest
/dist/bootstrap-vue.min.js"
></script>
<script
src=
"https://
unpkg.com/axios
/dist/axios.min.js"
></script>
<script
src=
"https://
cdn.jsdelivr.net/npm/vue@2.6.10
/dist/vue.min.js"
></script>
<script
src=
"https://
cdn.jsdelivr.net/np
m/bootstrap-vue@
2.0.0-rc.27
/dist/bootstrap-vue.min.js"
></script>
<script
src=
"https://
cdn.jsdelivr.net/npm/axios@0.19.0
/dist/axios.min.js"
></script>
<script
src=
"static/scald.js"
></script>
<link
href=
"static/scald.css"
rel=
"stylesheet"
type=
"text/css"
/>
</head>
<body
class=
"
keen-
dashboard"
style=
"padding-top:
100px;
"
>
<body
class=
"dashboard"
style=
"padding-top:
55px; background-image:url({{ static_dir }}static/bns-light.jpg)
"
>
<div
id=
'report'
>
% include('report_navbar.html', **config)
% include('content.html')
...
...
templates/report_navbar.html
View file @
97207e89
<nav
class=
"navbar fixed-top navbar-expand-lg
navbar-dark bg-dark
py-0"
>
<nav
class=
"navbar fixed-top navbar-expand-lg py-0"
>
<!-- add logo/title -->
% if 'image' in config:
<a
class=
"navbar-brand mt-3 mt-
md-1
"
href=
"#"
><img
style=
"
width:8
0px"
src=
"{{config['image']}}"
></a>
<a
class=
"navbar-brand mt-3 mt-
lg-0
"
href=
"#"
><img
style=
"
height:4
0px"
src=
"{{config['image']}}"
></a>
% else:
<a
class=
"navbar-brand
mt-3 mt-md-1
"
href=
""
>
{{config['title']}}
</a>
<a
class=
"navbar-brand
title mt-2
"
href=
""
>
{{config['title']}}
</a>
% end
<b-navbar-toggle
target=
"nav_collapse"
>
...
...
@@ -16,14 +16,12 @@
<!-- add tabs -->
% for tab in config['tabs']:
<li
class=
"mr-1 ml-1"
><a
class=
"nav-link mt-
2
"
href=
"{{tab['url']}}"
>
{{tab['name']}}
</a></li>
<li><a
class=
"nav-link mt-
0
"
href=
"{{
tab['url']
}}"
>
{{
tab['name']
}}
</a></li>
% end
</ul>
<!-- add clock to right edge -->
<div>
<a
href=
"#"
><div
id=
"clock"
style=
"color: grey"
></div></a>
</div>
<a
class=
"nav-clock"
href=
"#"
><div
id=
"clock"
></div></a>
</b-collapse>
</nav>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment