aboutsummaryrefslogtreecommitdiff
path: root/app/templates
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2020-08-04 21:28:56 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2020-08-04 21:28:56 +0530
commitde479dd42130d67fb15f32beb99bec29b356792a (patch)
tree743cd2fdb0b1e35619f105ebca7d1c6b52914b0a /app/templates
parenta309a4607aa2aba63ea15c9aa9d9c7a7f2e99551 (diff)
added animations
Diffstat (limited to 'app/templates')
-rw-r--r--app/templates/404.html9
-rw-r--r--app/templates/about.html10
-rw-r--r--app/templates/base.html1
-rw-r--r--app/templates/dock_upload.html10
-rw-r--r--app/templates/home.html2
-rw-r--r--app/templates/job_status.html10
-rw-r--r--app/templates/job_status_error.html9
-rw-r--r--app/templates/job_status_form.html10
8 files changed, 61 insertions, 0 deletions
diff --git a/app/templates/404.html b/app/templates/404.html
index a4e9644..f8897ea 100644
--- a/app/templates/404.html
+++ b/app/templates/404.html
@@ -4,4 +4,13 @@
<h2>Oh Snap! Error 404</h2>
<p>The Page you are looking for cannot be found</p>
<p>Go Back <a href="{{ url_for('home') }}">home</a></p>
+ <section>
+ <style>
+ #puzzle{
+ height: 40vh;
+ }
+ </style>
+ <div id="puzzle"></div>
+ <script src="{{url_for('static',filename='js/missing_puzzle.js')}}"></script>
+ </section>
{% endblock %} \ No newline at end of file
diff --git a/app/templates/about.html b/app/templates/about.html
index 23ffc28..b61bfed 100644
--- a/app/templates/about.html
+++ b/app/templates/about.html
@@ -8,4 +8,14 @@
to create high quality ray-traced visualisations. After finding and tabulating protein ligand interactions using PLIP,
it creates a PDF and emails you the report ( Along with supporting files )</p>
+ <section>
+ <style>
+ #astronaut{
+ height: 40vh;
+ }
+ </style>
+ <div id="astronaut"></div>
+ <script src="{{url_for('static',filename='js/astronaut.js')}}"></script>
+ </section>
+
{% endblock %} \ No newline at end of file
diff --git a/app/templates/base.html b/app/templates/base.html
index 31f148a..157b68b 100644
--- a/app/templates/base.html
+++ b/app/templates/base.html
@@ -11,6 +11,7 @@
<link rel="manifest" href="{{ url_for('static', filename='favicons/site.webmanifest') }}">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="google-site-verification" content="qID3RHYrVE0TepLZny0JaOuh-gjiQN4afHe_sdYwjGM" />
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/bodymovin/5.7.1/lottie.min.js"></script>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
diff --git a/app/templates/dock_upload.html b/app/templates/dock_upload.html
index e9116da..26f1e99 100644
--- a/app/templates/dock_upload.html
+++ b/app/templates/dock_upload.html
@@ -54,4 +54,14 @@
<button class="btn btn-primary">Upload</button>
</form>
+ <br>
+ <section>
+ <style>
+ #discovery{
+ height: 40vh;
+ }
+ </style>
+ <div id="discovery"></div>
+ <script src="{{url_for('static',filename='js/discovery.js')}}"></script>
+ </section>
{% endblock %} \ No newline at end of file
diff --git a/app/templates/home.html b/app/templates/home.html
index 02c71dd..efe1a36 100644
--- a/app/templates/home.html
+++ b/app/templates/home.html
@@ -7,4 +7,6 @@
<li><a href="{{ url_for('dock_upload') }}">Dock and Report</a></li>
<li><a href="{{ url_for('status')}}">Job Status</a></li>
</ul>
+
+ <img src="{{url_for('static',filename='assets/workingInALaboratory.svg')}}" />
{% endblock %} \ No newline at end of file
diff --git a/app/templates/job_status.html b/app/templates/job_status.html
index e113650..896d49a 100644
--- a/app/templates/job_status.html
+++ b/app/templates/job_status.html
@@ -7,4 +7,14 @@
<b>Ligand Name: </b>{{ln}}<br>
<b>Description: </b>{{desc}}<br>
<b>Status: </b>{{status}}
+
+ <section>
+ <style>
+ #growth{
+ height: 40vh;
+ }
+ </style>
+ <div id="growth"></div>
+ <script src="{{url_for('static',filename='js/growth.js')}}"></script>
+ </section>
{% endblock %} \ No newline at end of file
diff --git a/app/templates/job_status_error.html b/app/templates/job_status_error.html
index 633e347..b6d16a7 100644
--- a/app/templates/job_status_error.html
+++ b/app/templates/job_status_error.html
@@ -3,4 +3,13 @@
{% block main %}
<h2>Job ID: {{ job }}</h2>
<p>This Job ID does not exist 😠. If you think this is an error, please contact us.</p>
+ <section>
+ <style>
+ #chemical{
+ height: 40vh;
+ }
+ </style>
+ <div id="chemical"></div>
+ <script src="{{url_for('static',filename='js/chemical.js')}}"></script>
+ </section>
{% endblock %} \ No newline at end of file
diff --git a/app/templates/job_status_form.html b/app/templates/job_status_form.html
index f940a6d..4909186 100644
--- a/app/templates/job_status_form.html
+++ b/app/templates/job_status_form.html
@@ -12,4 +12,14 @@
<button class="btn btn-primary">Get Status</button>
</form>
+
+ <section>
+ <style>
+ #dog{
+ height: 40vh;
+ }
+ </style>
+ <div id="dog"></div>
+ <script src="{{url_for('static',filename='js/dog.js')}}"></script>
+ </section>
{% endblock %} \ No newline at end of file