|
11 | 11 | <style type="text/css">
|
12 | 12 | .sub-report-title {}
|
13 | 13 | .run-title {}
|
14 |
| -.elem-title { |
15 |
| - padding-top: 25px; |
16 |
| -} |
| 14 | +
|
| 15 | +h1 { padding-top: 35px; } |
| 16 | +h2 { padding-top: 20px; } |
| 17 | +h3 { padding-top: 15px; } |
| 18 | +
|
17 | 19 | .elem-desc {}
|
18 | 20 | .elem-filename {}
|
19 | 21 |
|
20 | 22 | div.elem-image {
|
21 | 23 | width: 100%;
|
22 | 24 | page-break-before:always;
|
23 |
| - padding: 5px 0; |
24 | 25 | }
|
25 | 26 |
|
26 | 27 | .elem-image object.svg-reportlet {
|
27 | 28 | width: 100%;
|
| 29 | + padding-bottom: 5px; |
28 | 30 | }
|
29 | 31 | body {
|
30 |
| - padding-top: 65px; |
| 32 | + padding: 65px 10px 10px; |
31 | 33 | }
|
32 | 34 | </style>
|
33 | 35 | </head>
|
|
36 | 38 | <nav class="navbar navbar-default navbar-fixed-top">
|
37 | 39 | <div class="container collapse navbar-collapse">
|
38 | 40 | <ul class="nav navbar-nav">
|
39 |
| - {% for sub_report in sub_reports %} |
| 41 | + {% for sub_report in sections %} |
40 | 42 | {% if sub_report.isnested %}
|
41 | 43 | <li class="dropdown">
|
42 | 44 | <a class="nav-item nav-link dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" href="">
|
|
70 | 72 | <h1 class="text-danger"> The navigation menu uses Javascript. Without it this report might not work as expected </h1>
|
71 | 73 | </noscript>
|
72 | 74 |
|
73 |
| -{% for sub_report in sub_reports %} |
| 75 | +{% for sub_report in sections %} |
74 | 76 | <div id="{{ sub_report.name }}">
|
75 | 77 | <h1 class="sub-report-title">{{ sub_report.name }}</h1>
|
76 | 78 | {% if sub_report.isnested %}
|
|
84 | 86 | {% for content in elem.contents %}
|
85 | 87 | {% if elem.raw %}{{ content }}{% else %}
|
86 | 88 | <div class="elem-image">
|
87 |
| - <object class="svg-reportlet" type="image/svg+xml" data="./{{ content }}">filename:{{ content }}</object> |
| 89 | + <object class="svg-reportlet" type="image/svg+xml" data="./{{ content }}"> |
| 90 | + Problem loading figure {{ content }}. If the link below works, please try reloading the report in your browser.</object> |
88 | 91 | </div>
|
89 | 92 | <div class="elem-filename">
|
90 | 93 | Get figure file: <a href="./{{ content }}" target="_blank">{{ content }}</a>
|
|
0 commit comments