-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make buttons on home page send user to "new" pages
For: #30
- Loading branch information
Showing
8 changed files
with
83 additions
and
18 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,18 +15,20 @@ | |
<script src="https://unpkg.com/[email protected]"></script> | ||
</head> | ||
<body hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'> | ||
<section class="section"> | ||
<div class="container"> | ||
{% if user.is_authenticated %} | ||
<div class="has-text-right"> | ||
<p>{{ email }} | <a hx-post="{% url 'custom_logout' %}" hx-swap="innerHTML" hx-target="body">Log Out</a></p> | ||
<p>{{ affiliation }} | <a href="{% url 'affiliation' %}">Change Affiliation</a></p> | ||
</div> | ||
{% endif %} | ||
<h1 class="title">Clinical Genome HLA Curation</h1> | ||
{% block nav %}{% endblock %} | ||
{% block content %}{% endblock %} | ||
</div> | ||
</section> | ||
<div hx-boost="true"> | ||
<section class="section"> | ||
<div class="container"> | ||
{% if user.is_authenticated %} | ||
<div class="has-text-right"> | ||
<p>{{ email }} | <a hx-post="{% url 'custom_logout' %}" hx-swap="innerHTML" hx-target="body">Log Out</a></p> | ||
<p>{{ affiliation }} | <a href="{% url 'affiliation' %}">Change Affiliation</a></p> | ||
</div> | ||
{% endif %} | ||
<h1 class="title">Clinical Genome HLA Curation</h1> | ||
{% block nav %}{% endblock %} | ||
{% block content %}{% endblock %} | ||
</div> | ||
</section> | ||
</div> | ||
</body> | ||
</html> |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{% extends "hci/nav.html" %} | ||
{% block title %}New Allele/Haplotype{% endblock %} | ||
{% block description %}Add a new allele or haplotype in the HLA curation interface.{% endblock %} | ||
{% block content %} | ||
<p>Coming soon...</p> | ||
{% 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,6 @@ | ||
{% extends "hci/nav.html" %} | ||
{% block title %}New Curation{% endblock %} | ||
{% block description %}Start a new curation in the HLA curation interface.{% endblock %} | ||
{% block content %} | ||
<p>Coming soon...</p> | ||
{% 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,6 @@ | ||
{% extends "hci/nav.html" %} | ||
{% block title %}New Disease{% endblock %} | ||
{% block description %}Add a new disease in the HLA curation interface.{% endblock %} | ||
{% block content %} | ||
<p>Coming soon...</p> | ||
{% 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,6 @@ | ||
{% extends "hci/nav.html" %} | ||
{% block title %}New Publication{% endblock %} | ||
{% block description %}Add a new publication in the HLA curation interface.{% endblock %} | ||
{% block content %} | ||
<p>Coming soon...</p> | ||
{% 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