-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
redirects to all orgs page on load; udpates harvest source page with feedback changes; updates fixtures to have better jobs data; fixes broken tests; lint
- Loading branch information
1 parent
bccea3f
commit f6b9d6b
Showing
18 changed files
with
386 additions
and
408 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
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,62 +1,68 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF -8"> | ||
{% block title %} | ||
<title>{{action}} {{data_type}}</title> | ||
{% endblock %} | ||
<link rel="stylesheet" href="{{ url_for('static', filename='assets/uswds/css/styles.css') }}"> | ||
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"> | ||
<script src="{{ url_for('static', filename='assets/uswds/js/uswds-init.js') }}"></script> | ||
<script src="{{ url_for('static', filename='assets/htmx/htmx.min.js') }}"></script> | ||
{% block script_head %} | ||
{% endblock %} | ||
<meta charset="UTF -8"> | ||
{% block title %} | ||
<title>{{action}} {{data_type}}</title> | ||
{% endblock %} | ||
<link rel="stylesheet" href="{{ url_for('static', filename='assets/uswds/css/styles.css') }}"> | ||
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"> | ||
<script src="{{ url_for('static', filename='assets/uswds/js/uswds-init.js') }}"></script> | ||
<script src="{{ url_for('static', filename='assets/htmx/htmx.min.js') }}"></script> | ||
{% block script_head %} | ||
{% endblock %} | ||
</head> | ||
|
||
<body> | ||
{% include '/snippets/banner.html' %} | ||
<header> | ||
<div class="container"> | ||
<strong> | ||
<nav> | ||
<ul class="menu"> | ||
<li><a href="{{ url_for('harvest.index') }}">Home</a></li> | ||
<li><a href="{{ url_for('harvest.view_organizations') }}">Orgs</a></li> | ||
<li><a href="{{ url_for('harvest.view_harvest_sources') }}">Sources</a></li> | ||
{% if session['user'] %} | ||
<li>{{ session['user'] }}</li> | ||
<li><a href="{{ url_for('harvest.logout') }}">Logout</a></li> | ||
{% else %} | ||
<li><a href="{{ url_for('harvest.login') }}">Login</a></li> | ||
{% endif %} | ||
</ul> | ||
</nav> | ||
</strong> | ||
<a href="javascript:void(0)" class="icon-glossary js-glossary-toggle"> | ||
<svg aria-hidden="true" width=" 14" height="16" viewBox="0 0 14 16" fill="none" xmlns="http://www.w3.org/2000/svg"> | ||
<path fill-rule="evenodd" clip-rule="evenodd" d="M13.9583 2.99612C13.9583 2.25376 13.5274 1.631 12.9074 1.25803C12.2875 0.885127 11.4706 0.755653 10.6759 0.999207L7.41667 1.99802L4.15746 0.999208C3.36272 0.755654 2.54584 0.885127 1.92596 1.25803C1.30597 1.631 0.875 2.25376 0.875 2.99612V11.6299C0.875 12.5372 1.54014 13.3298 2.50921 13.6268L7.41667 15.1307L12.3241 13.6268C13.2932 13.3298 13.9583 12.5372 13.9583 11.6299V2.99612ZM11.1429 2.17693C11.4882 2.07112 11.8416 2.12807 12.107 2.28774C12.3723 2.44735 12.5417 2.7033 12.5417 2.99612V11.6299C12.5417 11.9855 12.2789 12.3198 11.8571 12.4491L8.125 13.5928V3.10179L11.1429 2.17693ZM2.29167 2.99612C2.29167 2.7033 2.46099 2.44735 2.7263 2.28774C2.99172 2.12808 3.34516 2.07112 3.69046 2.17694L6.70833 3.10179V13.5928L2.97621 12.4491C2.55441 12.3198 2.29167 11.9855 2.29167 11.6299V2.99612Z" /> | ||
</svg> | ||
Glossary</a> | ||
</div> | ||
</header> | ||
<header> | ||
<div class="container"> | ||
<strong> | ||
<nav> | ||
<ul class="menu"> | ||
<li><a href="{{ url_for('harvest.view_organizations') }}">Organizations</a></li> | ||
<li><a href="{{ url_for('harvest.view_harvest_sources') }}">Harvest Sources</a></li> | ||
<li><a href="{{ url_for('harvest.view_metrics') }}">Metrics</a></li> | ||
{% if session['user'] %} | ||
<li>{{ session['user'] }}</li> | ||
<li><a href="{{ url_for('harvest.logout') }}">Logout</a></li> | ||
{% else %} | ||
<li><a href="{{ url_for('harvest.login') }}">Login</a></li> | ||
{% endif %} | ||
</ul> | ||
</nav> | ||
</strong> | ||
<a href="javascript:void(0)" class="icon-glossary js-glossary-toggle"> | ||
<svg aria-hidden="true" width=" 14" height="16" viewBox="0 0 14 16" fill="none" | ||
xmlns="http://www.w3.org/2000/svg"> | ||
<path fill-rule="evenodd" clip-rule="evenodd" | ||
d="M13.9583 2.99612C13.9583 2.25376 13.5274 1.631 12.9074 1.25803C12.2875 0.885127 11.4706 0.755653 10.6759 0.999207L7.41667 1.99802L4.15746 0.999208C3.36272 0.755654 2.54584 0.885127 1.92596 1.25803C1.30597 1.631 0.875 2.25376 0.875 2.99612V11.6299C0.875 12.5372 1.54014 13.3298 2.50921 13.6268L7.41667 15.1307L12.3241 13.6268C13.2932 13.3298 13.9583 12.5372 13.9583 11.6299V2.99612ZM11.1429 2.17693C11.4882 2.07112 11.8416 2.12807 12.107 2.28774C12.3723 2.44735 12.5417 2.7033 12.5417 2.99612V11.6299C12.5417 11.9855 12.2789 12.3198 11.8571 12.4491L8.125 13.5928V3.10179L11.1429 2.17693ZM2.29167 2.99612C2.29167 2.7033 2.46099 2.44735 2.7263 2.28774C2.99172 2.12808 3.34516 2.07112 3.69046 2.17694L6.70833 3.10179V13.5928L2.97621 12.4491C2.55441 12.3198 2.29167 11.9855 2.29167 11.6299V2.99612Z" /> | ||
</svg> | ||
Glossary</a> | ||
</div> | ||
</header> | ||
|
||
{% include 'glossary.html' %} | ||
|
||
<div class="container my-3"> | ||
{% for message in get_flashed_messages() %} | ||
<div class="alert alert-warning"> | ||
<button type="button" class="close" data-dismiss="alert">×</button> | ||
{{ message }} | ||
</div> | ||
{% endfor %} | ||
{% include 'glossary.html' %} | ||
|
||
<div id="content">{% block content %}{% endblock %}</div> | ||
<div class="container my-3"> | ||
{% for message in get_flashed_messages() %} | ||
<div class="alert alert-warning"> | ||
<button type="button" class="close" data-dismiss="alert">×</button> | ||
{{ message }} | ||
</div> | ||
{% include '/snippets/footer.html' %} | ||
<script src="https://code.jquery.com/jquery-3.7.1.min.js" integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" crossorigin="anonymous"></script> | ||
<script src="{{ url_for('static', filename='assets/uswds/js/uswds.js') }}"></script> | ||
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.bundle.min.js"></script> | ||
<script src="{{ url_for('static', filename='assets/js/bundle.js') }}"></script> | ||
{% block scripts %} | ||
{% endblock %} | ||
{% endfor %} | ||
|
||
<div id="content">{% block content %}{% endblock %}</div> | ||
</div> | ||
{% include '/snippets/footer.html' %} | ||
<script src="https://code.jquery.com/jquery-3.7.1.min.js" | ||
integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" crossorigin="anonymous"></script> | ||
<script src="{{ url_for('static', filename='assets/uswds/js/uswds.js') }}"></script> | ||
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.bundle.min.js"></script> | ||
<script src="{{ url_for('static', filename='assets/js/bundle.js') }}"></script> | ||
{% block scripts %} | ||
{% endblock %} | ||
</body> | ||
|
||
</html> |
Oops, something went wrong.
f6b9d6b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.