-
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.
- Loading branch information
Showing
7 changed files
with
271 additions
and
10 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
11 changes: 11 additions & 0 deletions
11
src/genlab_bestilling/templates/genlab_bestilling/analysisorder_filter.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{% extends "genlab_bestilling/base_filter.html" %} | ||
{% load neapolitan %} | ||
{% load render_table from django_tables2 %} | ||
|
||
{% block page-title %}Analysis Orders relative to {{ genrequest }}{% endblock page-title %} | ||
{% block page-inner %} | ||
<div class="flex gap-5 mb-5"> | ||
<a class="btn bg-primary" href="{% url 'genrequest-detail' pk=genrequest.id %}"><i class="fas fa-arrow-left"></i> back</a> | ||
<a class="btn bg-primary" href="{% url 'genrequest-analysis-create' genrequest_id=genrequest.id %}"><i class="fas fa-plus"></i> Equipment order</a> | ||
</div> | ||
{% endblock page-inner %} |
18 changes: 18 additions & 0 deletions
18
src/genlab_bestilling/templates/genlab_bestilling/base_filter.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{% extends "base.html" %} | ||
{% load crispy_forms_tags %} | ||
{% load render_table from django_tables2 %} | ||
|
||
{% block content %} | ||
<h3 class="text-4xl mb-5">{% block page-title %}{% endblock page-title %}</h3> | ||
{% block page-inner %}{% endblock page-inner %} | ||
|
||
<form method="get" class="py-3 px-4 border mb-3 "> | ||
<div class="flex flex-wrap gap-4"> | ||
{{ filter.form | crispy }} | ||
</div> | ||
{% csrf_token %} | ||
<button class="btn bg-primary" type="submit">Search</button> | ||
</form> | ||
|
||
{% render_table table %} | ||
{% endblock %} |
11 changes: 11 additions & 0 deletions
11
src/genlab_bestilling/templates/genlab_bestilling/equipmentorder_filter.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{% extends "genlab_bestilling/base_filter.html" %} | ||
{% load neapolitan %} | ||
{% load render_table from django_tables2 %} | ||
|
||
{% block page-title %}Equipment Orders relative to {{ genrequest }}{% endblock page-title %} | ||
{% block page-inner %} | ||
<div class="flex gap-5 mb-5"> | ||
<a class="btn bg-primary" href="{% url 'genrequest-detail' pk=genrequest.id %}"><i class="fas fa-arrow-left"></i> back</a> | ||
<a class="btn bg-primary" href="{% url 'genrequest-equipment-create' genrequest_id=genrequest.id %}"><i class="fas fa-plus"></i> Equipment order</a> | ||
</div> | ||
{% endblock page-inner %} |
11 changes: 11 additions & 0 deletions
11
src/genlab_bestilling/templates/genlab_bestilling/extractionorder_filter.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{% extends "genlab_bestilling/base_filter.html" %} | ||
{% load neapolitan %} | ||
{% load render_table from django_tables2 %} | ||
|
||
{% block page-title %}Extraction Orders relative to {{ genrequest }}{% endblock page-title %} | ||
{% block page-inner %} | ||
<div class="flex gap-5 mb-5"> | ||
<a class="btn bg-primary" href="{% url 'genrequest-detail' pk=genrequest.id %}"><i class="fas fa-arrow-left"></i> back</a> | ||
<a class="btn bg-primary" href="{% url 'genrequest-extraction-create' genrequest_id=genrequest.id %}"><i class="fas fa-plus"></i> Equipment order</a> | ||
</div> | ||
{% endblock page-inner %} |
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