UTI: PoC - Dash application for Trending
[csit.git] / resources / tools / dash / app / pal / report / layout.py
1 # Copyright (c) 2022 Cisco and/or its affiliates.
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at:
5 #
6 #     http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13
14 """Plotly Dash HTML layout override."""
15
16 html_layout = u"""
17 <!DOCTYPE html>
18     <html>
19         <head>
20             {%metas%}
21             <title>{%title%}</title>
22             {%favicon%}
23             {%css%}
24         </head>
25         <body class="dash-template">
26             <header>
27               <div class="nav-wrapper">
28                 <a href="/">
29                     <h1>FD.io CSIT</h1>
30                 </a>
31                 <a href="">
32                   <h1>Report</h1>
33                 </a>
34                 <nav>
35                 </nav>
36               </div>
37             </header>
38             {%app_entry%}
39             <footer>
40                 {%config%}
41                 {%scripts%}
42                 {%renderer%}
43             </footer>
44         </body>
45     </html>
46 """