Skip to content

Commit

Permalink
Add container blocks to allow us to e.g. add a banner to the top of p…
Browse files Browse the repository at this point in the history
…atient lists
  • Loading branch information
davidmiller committed Sep 27, 2018
1 parent 3a628c9 commit 1befe8f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions opal/templates/patient_lists/layouts/card_list_base.html
@@ -1,4 +1,5 @@
{% load forms %}
{% block container %}
<div class="container content-offset">
<div class="panel panel-primary panel-container">
<div class="panel-heading patient-list-header">
Expand Down Expand Up @@ -51,3 +52,4 @@ <h1>
</div>
</div>
</div>
{% endblock container %}
@@ -1,6 +1,6 @@
{% load patient_lists %}
{% load forms %}

{% block container %}
<div class="container-fluid content-offset">

{% block list_actions %}
Expand Down Expand Up @@ -230,3 +230,4 @@ <h4 class="print-only">
{% endblock keyboard_shortcuts %}

</div> <!-- .container-fluid .content-offset -->
{% endblock container %}
2 changes: 2 additions & 0 deletions opal/templates/patient_lists/layouts/table_list_base.html
@@ -1,3 +1,4 @@
{% block container %}
<div class="container-fluid content-offset">
{% block list_actions %}
<div class="row screen-only">
Expand Down Expand Up @@ -64,3 +65,4 @@ <h1>
</div>

</div>
{% endblock container %}

0 comments on commit 1befe8f

Please sign in to comment.