Set max width on ccpo admin pages

This commit is contained in:
leigh-mil 2020-02-04 14:43:59 -05:00
parent 68c7a70082
commit e7487aa114
5 changed files with 119 additions and 109 deletions

View File

@ -47,3 +47,4 @@
@import "sections/application_edit"; @import "sections/application_edit";
@import "sections/reports"; @import "sections/reports";
@import "sections/task_order"; @import "sections/task_order";
@import "sections/ccpo";

View File

@ -0,0 +1,3 @@
.ccpo-panel-container {
max-width: $max-panel-width;
}

View File

@ -4,6 +4,7 @@
{% from "components/text_input.html" import TextInput %} {% from "components/text_input.html" import TextInput %}
{% block content %} {% block content %}
<div class="ccpo-panel-container">
<base-form inline-template> <base-form inline-template>
<form id="add-ccpo-user-form" action="{{ url_for('ccpo.submit_new_user') }}" method="POST"> <form id="add-ccpo-user-form" action="{{ url_for('ccpo.submit_new_user') }}" method="POST">
{{ form.csrf_token }} {{ form.csrf_token }}
@ -21,4 +22,5 @@
</div> </div>
</form> </form>
</base-form> </base-form>
</div>
{% endblock %} {% endblock %}

View File

@ -3,6 +3,7 @@
{% from "components/text_input.html" import TextInput %} {% from "components/text_input.html" import TextInput %}
{% block content %} {% block content %}
<div class="ccpo-panel-container">
{% if new_user %} {% if new_user %}
<h3>{{ 'ccpo.form.confirm_user_title' | translate }}</h3> <h3>{{ 'ccpo.form.confirm_user_title' | translate }}</h3>
<form id="add-ccpo-user-form" action="{{ url_for('ccpo.confirm_new_user') }}" method="POST"> <form id="add-ccpo-user-form" action="{{ url_for('ccpo.confirm_new_user') }}" method="POST">
@ -30,4 +31,5 @@
</div> </div>
</form> </form>
{% endif %} {% endif %}
</div>
{% endblock %} {% endblock %}

View File

@ -6,6 +6,7 @@
{% from "components/modal.html" import Modal %} {% from "components/modal.html" import Modal %}
{% block content %} {% block content %}
<div class="ccpo-panel-container">
<div class='col'> <div class='col'>
<div class="h2"> <div class="h2">
{{ "ccpo.users_title" | translate }} {{ "ccpo.users_title" | translate }}
@ -80,4 +81,5 @@
{% endcall %} {% endcall %}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
</div>
{% endblock %} {% endblock %}