Commit 97207e89 authored by Patrick Godwin's avatar Patrick Godwin

update report templates to new formatting, CDN urls

parent 1e3837a1
Pipeline #78976 passed with stages
in 4 minutes and 12 seconds
......@@ -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.jsdelivr.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.com/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/npm/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')
......
<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:80px" src="{{config['image']}}"></a>
<a class="navbar-brand mt-3 mt-lg-0" href="#"><img style="height:40px" 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>
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