]> nmode's Git Repositories - Rnaught/blobdiff - inst/app/index.html
Revamp Shiny app
[Rnaught] / inst / app / index.html
diff --git a/inst/app/index.html b/inst/app/index.html
new file mode 100644 (file)
index 0000000..83029c5
--- /dev/null
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    {{ bootstrapLib(theme = bslib::bs_theme(primary = "red")) }}
+    {{ headContent() }}
+    <title>Rnaught Web</title>
+    <link rel="stylesheet" type="text/css" href="styles.css">
+    <!-- Enable tooltips. -->
+    <script>
+      $(document).ready(function(){
+        $('[data-bs-toggle="tooltip"]').tooltip();
+      });
+    </script>
+  </head>
+  <body class="d-flex flex-column h-100">
+    <noscript>
+      <strong>This application requires JavaScript.</strong>
+    </noscript>
+    {{ htmlTemplate("templates/navbar.html") }}
+    {{ htmlTemplate("templates/tabs.html") }}
+    {{ htmlTemplate("templates/content.html") }}
+    {{ htmlTemplate("templates/footer.html") }}
+  </body>
+</html>