feat(uti): Dash demo
[csit.git] / resources / tools / dash / app / pal / trending / 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 = """
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>Continuous Performance Trending</h1>
30                   </a>
31                 <nav>
32                 </nav>
33             </div>
34             </header>
35             {%app_entry%}
36             <footer>
37                 {%config%}
38                 {%scripts%}
39                 {%renderer%}
40             </footer>
41         </body>
42     </html>
43 """