generated from schrodinger/hacking-the-gender-stack-2024-template
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
105 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
{% extends 'shared/base.html' %} | ||
{% block content %} | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"> | ||
<style> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<link rel="stylesheet" | ||
href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"> | ||
<style> | ||
body { | ||
background-color: #d5ebd8; | ||
} | ||
|
@@ -44,36 +44,28 @@ | |
background-color: #2980b9; | ||
color: #fff; | ||
} | ||
</style> | ||
<title>Attractive Page with Buttons</title> | ||
</head> | ||
<body> | ||
|
||
<div class="container"> | ||
<h1 class="text-center">Comparing Subgraphs of Complex Structures</h1> | ||
<br><br> | ||
<h2 class="text-center">How many structures do you want to compare?</h2> | ||
<br> | ||
|
||
<div class="row justify-content-center mt-3"> | ||
<div class="col-md-6 text-center"> | ||
|
||
<a href="{% url 'oneMolecule' %}" class="btn btn-custom btn-lg btn-block" value="1"> | ||
One structure | ||
</a> | ||
</div> | ||
<div class="col-md-6 text-center"> | ||
<a href="{% url 'twoMolecules' %}" class="btn btn-custom btn-lg btn-block" value="2"> | ||
Two structures | ||
</a> | ||
</style> | ||
<title>Attractive Page with Buttons</title> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<h1 class="text-center">Comparing Subgraphs of Complex Structures</h1> | ||
<h2 class="text-center">How many structures do you want to compare?</h2> | ||
<div class="row justify-content-center mt-3"> | ||
<div class="col-md-6 text-center"> | ||
<a href="{% url 'oneMolecule' %}" | ||
class="btn btn-custom btn-lg btn-block" | ||
value="1">One structure</a> | ||
</div> | ||
<div class="col-md-6 text-center"> | ||
<a href="{% url 'collectInputTwo' %}" | ||
class="btn btn-custom btn-lg btn-block" | ||
value="2">Two structures</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"></script> | ||
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script> | ||
|
||
</body> | ||
|
||
{% endblock %} | ||
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"></script> | ||
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script> | ||
</body> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{% extends 'shared/base.html' %} | ||
{% block content %} | ||
<style> | ||
img { | ||
display: block; | ||
margin-left: auto; | ||
margin-right: auto; | ||
float: left; | ||
} | ||
</style> | ||
<div class="container mt-5"> | ||
<h1 class="text-center mb-4">Most Significant Subunit of a Complex Structure</h1> | ||
<h2>Common molecule structure is: {{ molecular_data }}</h2> | ||
</div> | ||
<div class ="container"> | ||
<div class="row"> | ||
<div class="col"> | ||
<img src="data:image/png;base64,{{ mols }}" width="90%"> | ||
</div> | ||
<div class="col"> | ||
<img src="data:image/png;base64,{{ common_mol }}" width="90%"> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="col-md-6 text-center"> | ||
<a href="{% url 'twoMolecule' %}" | ||
class="btn btn-custom btn-lg btn-block" | ||
value="Return">Return</a> | ||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters