Merge "Adding Capif provider"
[nonrtric/plt/sme.git] / provider / view / base.html
diff --git a/provider/view/base.html b/provider/view/base.html
new file mode 100644 (file)
index 0000000..7d6d2b2
--- /dev/null
@@ -0,0 +1,53 @@
+<!--
+   ========================LICENSE_START=================================
+   O-RAN-SC
+   %%
+   Copyright (C) 2023: Nordix Foundation
+   %%
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+        http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+   ========================LICENSE_END===================================
+-->
+{{define "base"}}
+  <!DOCTYPE html>
+  <html lang="en">
+    <head>
+        <!-- Required meta tags -->
+        <meta charset="utf-8">
+        <meta name="viewport" content="width=device-width, initial-scale=1">
+
+        <!-- CSS -->
+        <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
+        <link rel="stylesheet"  type="text/css" href="./css/style.css">
+        <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.4/jquery.min.js"></script>
+        <script language="JavaScript" type="text/javascript" src="./js/script.js"></script>
+
+        <title>{{template "title" .}}</title>
+    </head>
+    <body>
+        <main>
+        <div class="container py-4">
+            <header class="d-flex flex-wrap justify-content-center py-3 mb-4 border-bottom text-dark">
+                <div class="col-4 text-center">
+                    <a class="text-body-emphasis mb-3 mb-md-0 me-md-auto link-body-emphasis text-decoration-none" href="/">
+                        <span class="fs-2">CAPIF API Provider Domain</span>
+                    </a>
+                  </div>
+            </header>
+            {{template "body" .}}
+        </div>
+        </main>
+        <!-- JS -->
+        <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4" crossorigin="anonymous"></script>
+    </body>
+  </html>
+{{end}}
\ No newline at end of file