Use rows and columns to position TotalsBox correctly
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
{% from 'components/icon.html' import Icon %}
|
{% from 'components/icon.html' import Icon %}
|
||||||
{% from 'components/options_input.html' import OptionsInput %}
|
{% from 'components/options_input.html' import OptionsInput %}
|
||||||
{% from 'components/save_button.html' import SaveButton %}
|
{% from 'components/save_button.html' import SaveButton %}
|
||||||
|
{% from "components/semi_collapsible_text.html" import SemiCollapsibleText %}
|
||||||
{% from "components/sticky_cta.html" import StickyCTA %}
|
{% from "components/sticky_cta.html" import StickyCTA %}
|
||||||
{% from 'components/text_input.html' import TextInput %}
|
{% from 'components/text_input.html' import TextInput %}
|
||||||
{% from "components/totals_box.html" import TotalsBox %}
|
{% from "components/totals_box.html" import TotalsBox %}
|
||||||
@@ -77,7 +78,6 @@
|
|||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|
||||||
{% block portfolio_content %}
|
{% block portfolio_content %}
|
||||||
|
|
||||||
{% call StickyCTA(text="Add Funding") %}
|
{% call StickyCTA(text="Add Funding") %}
|
||||||
<span class="action-group">
|
<span class="action-group">
|
||||||
<input type="submit" tabindex="0" value="Review task order" form="new-task-order" class="usa-button usa-button-primary">
|
<input type="submit" tabindex="0" value="Review task order" form="new-task-order" class="usa-button usa-button-primary">
|
||||||
@@ -89,6 +89,7 @@
|
|||||||
</a>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
{% endcall %}
|
{% endcall %}
|
||||||
|
|
||||||
<to-form inline-template v-bind:initial-clin-count="{{ form.clins.data | length }}">
|
<to-form inline-template v-bind:initial-clin-count="{{ form.clins.data | length }}">
|
||||||
<div class="task-order-summary">
|
<div class="task-order-summary">
|
||||||
{% include "fragments/flash.html" %}
|
{% include "fragments/flash.html" %}
|
||||||
@@ -100,21 +101,17 @@
|
|||||||
<form id="new-task-order" action='{{ action }}' method="POST" autocomplete="off" enctype="multipart/form-data">
|
<form id="new-task-order" action='{{ action }}' method="POST" autocomplete="off" enctype="multipart/form-data">
|
||||||
{{ form.csrf_token }}
|
{{ form.csrf_token }}
|
||||||
|
|
||||||
<semi-collapsible-text inline-template>
|
{{ SemiCollapsibleText(paragraph="task_orders.new.form_help_text" | translate) }}
|
||||||
<div>
|
|
||||||
<div v-bind:class="{ 'semi-collapsed' : !open }">
|
|
||||||
{{ "task_orders.new.form_help_text" | translate }}
|
|
||||||
</div>
|
|
||||||
<a v-on:click='toggle' v-show="!open" class="right more">More{{ Icon('caret_down') }}</a>
|
|
||||||
<a v-on:click='toggle' v-show="open" class="right more">Less{{ Icon('caret_up') }}</a>
|
|
||||||
</div>
|
|
||||||
</semi-collapsible-text>
|
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
<div class="h1">Add your task order</div>
|
<div class="h1">Add your task order</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col">
|
||||||
{{ TextInput(form.number, validation='taskOrderNumber') }}
|
{{ TextInput(form.number, validation='taskOrderNumber') }}
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
<div class="h3">Add the summary of cloud funding</div>
|
<div class="h3">Add the summary of cloud funding</div>
|
||||||
<div>
|
<div>
|
||||||
Data must match with what is in your uploaded document.
|
Data must match with what is in your uploaded document.
|
||||||
@@ -341,10 +338,11 @@
|
|||||||
Upload a single PDF containing all relevant information. {{ Icon('help')}}
|
Upload a single PDF containing all relevant information. {{ Icon('help')}}
|
||||||
</div>
|
</div>
|
||||||
{{ UploadInput(form.pdf) }}
|
{{ UploadInput(form.pdf) }}
|
||||||
|
</div>
|
||||||
</form>
|
|
||||||
{{ TotalsBox(task_order=task_order) }}
|
{{ TotalsBox(task_order=task_order) }}
|
||||||
</div>
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
</to-form>
|
</to-form>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Reference in New Issue
Block a user