summaryrefslogtreecommitdiff
path: root/template.html
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2021-10-03 18:41:52 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2021-10-03 18:41:52 +0200
commitdd325d2d35eda485bb4dc05797a648774b2498f6 (patch)
treea091b1b4f1c9ac52f669d66022841e43905726c2 /template.html
Create project
Diffstat (limited to 'template.html')
-rw-r--r--template.html59
1 files changed, 59 insertions, 0 deletions
diff --git a/template.html b/template.html
new file mode 100644
index 0000000..882d683
--- /dev/null
+++ b/template.html
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<html lang="en">
+<meta charset="UTF-8">
+<title>Physics Simulation</title>
+<meta name="viewport" content="width=device-width,initial-scale=1">
+<link rel="stylesheet" href="css/bootstrap.min.css">
+
+<script type="text/javascript" src="js/bootstrap.min.js"></script>
+<script type="text/javascript" src="js/p5.min.js"></script>
+<script type="text/javascript" src="${JS}"></script>
+
+<body>
+ <div class="container-fluid">
+ <div class="row">
+ <div class="col">
+ <nav class="navbar navbar-light bg-light">
+ <a class="navbar-brand" href="#">
+ <img src="images/icon.png" width="30" height="30" class="d-inline-block align-top" alt=""> &Phi;Sics
+ </a>
+ </nav>
+ </div>
+ </div>
+ <br />
+ <div class="row">
+ <div class="col">
+ <center>
+ <div class="btn-group">
+ ${LINKS}
+ </div>
+ </center>
+ </div>
+ </div>
+ <br />
+ <div class="row">
+ <div class="col">
+ <center>
+ <div id="canvas"></div>
+ </center>
+ </div>
+ </div>
+ <div class="row">
+ <div class="col">
+ <div class="container">
+ <div class="row">
+ <div class="col">
+ ${CONTENT}
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+
+ <script type="text/javascript">
+ let p=new p5(${project_name},"canvas")
+ </script>
+</body>
+</html>
+