aboutsummaryrefslogtreecommitdiff
path: root/app/templates
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2020-09-17 00:01:58 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2020-09-17 00:01:58 +0530
commit8ec4944df451e39a289b8f679edc8a9096299c0f (patch)
treeac0f1b7fa83ab3f1af7d8e431bef9a84e8f491b6 /app/templates
parentd20017680bf6e8dfd2e4bcd69654a545f9a8350c (diff)
refactored names for docking
Diffstat (limited to 'app/templates')
-rw-r--r--app/templates/base.html8
-rw-r--r--app/templates/dock_automatic.html (renamed from app/templates/dock_upload_single.html)2
-rw-r--r--app/templates/dock_manual.html (renamed from app/templates/dock_upload.html)2
-rw-r--r--app/templates/home.html4
4 files changed, 8 insertions, 8 deletions
diff --git a/app/templates/base.html b/app/templates/base.html
index f92d59d..d86facc 100644
--- a/app/templates/base.html
+++ b/app/templates/base.html
@@ -34,8 +34,8 @@
Dock and Report
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
- <a class="dropdown-item" href="{{ url_for('dock_upload') }}">Automatic</a>
- <a class="dropdown-item" href="{{ url_for('dock_upload_single') }}">Manual</a>
+ <a class="dropdown-item" href="{{ url_for('dock_manual') }}">Automatic</a>
+ <a class="dropdown-item" href="{{ url_for('dock_automatic') }}">Manual</a>
</div>
</li>
<li class="{{ 'nav-item active' if active_page == 'generate' else 'nav-item' }}">
@@ -86,8 +86,8 @@
<div class="col-sm-6 col-md-3 item">
<h3>Features</h3>
<ul>
- <li><a href="{{ url_for('dock_upload') }}">Dock (Manual)</a></li>
- <li><a href="{{ url_for('dock_upload_single') }}">Dock (Automatic)</a></li>
+ <li><a href="{{ url_for('dock_manual') }}">Dock (Manual)</a></li>
+ <li><a href="{{ url_for('dock_automatic') }}">Dock (Automatic)</a></li>
<li><a href="{{ url_for('pubmed') }}">PubMed Search</a></li>
</ul>
</div>
diff --git a/app/templates/dock_upload_single.html b/app/templates/dock_automatic.html
index 5329972..382948f 100644
--- a/app/templates/dock_upload_single.html
+++ b/app/templates/dock_automatic.html
@@ -2,7 +2,7 @@
{% set active_page = "dock" %}
{% block main %}
<h2>Enter Your Configuration</h2>
- <form action="{{ url_for('dock_upload_single') }}" method="post" enctype="multipart/form-data">
+ <form action="{{ url_for('dock_automatic') }}" method="post" enctype="multipart/form-data">
{% include 'flash_messages.html' %}
{{ form.csrf_token }}
<div class="form-group">
diff --git a/app/templates/dock_upload.html b/app/templates/dock_manual.html
index 43dcd63..b549628 100644
--- a/app/templates/dock_upload.html
+++ b/app/templates/dock_manual.html
@@ -2,7 +2,7 @@
{% set active_page = "dock" %}
{% block main %}
<h2>Enter Your Configuration</h2>
- <form action="{{ url_for('dock_upload') }}" method="post" enctype="multipart/form-data">
+ <form action="{{ url_for('dock_manual') }}" method="post" enctype="multipart/form-data">
{% include 'flash_messages.html' %}
{{ form.csrf_token }}
<div class="form-group">
diff --git a/app/templates/home.html b/app/templates/home.html
index 1f7f9e5..bf00905 100644
--- a/app/templates/home.html
+++ b/app/templates/home.html
@@ -7,8 +7,8 @@
<p>The following are the currently active modules</p>
<h3>Docking</h3>
<ul>
- <li><a href="{{ url_for('dock_upload') }}">Dock and Report (Manual)</a> - You can enter your AutoDock Vina configuration, upload the PDBQT files and it will perform the molecular docking and generate a PDF with proper visualisations and protein-interaction profillings (Using PLIP) </li>
- <li><a href="{{ url_for('dock_upload_single') }}">Dock and Report (Automatic)</a> - You just enter in the PDB Code, target compound's SMILES structure and name, it will automatically find a binding location and then perform docking and report generation</li>
+ <li><a href="{{ url_for('dock_manual') }}">Dock and Report (Manual)</a> - You can enter your AutoDock Vina configuration, upload the PDBQT files and it will perform the molecular docking and generate a PDF with proper visualisations and protein-interaction profillings (Using PLIP) </li>
+ <li><a href="{{ url_for('dock_automatic') }}">Dock and Report (Automatic)</a> - You just enter in the PDB Code, target compound's SMILES structure and name, it will automatically find a binding location and then perform docking and report generation</li>
</ul>
<h3>Drug Designing</h3>