From 4285477f4dc447c989b3f8d61c7c11ebcb38f794 Mon Sep 17 00:00:00 2001 From: leigh-mil Date: Mon, 10 Jun 2019 20:02:23 -0400 Subject: [PATCH] Use rows and columns to position TotalsBox correctly --- templates/task_orders/edit.html | 466 ++++++++++++++++---------------- 1 file changed, 232 insertions(+), 234 deletions(-) diff --git a/templates/task_orders/edit.html b/templates/task_orders/edit.html index 9ccbacb4..9a63cb0f 100644 --- a/templates/task_orders/edit.html +++ b/templates/task_orders/edit.html @@ -4,6 +4,7 @@ {% from 'components/icon.html' import Icon %} {% from 'components/options_input.html' import OptionsInput %} {% from 'components/save_button.html' import SaveButton %} +{% from "components/semi_collapsible_text.html" import SemiCollapsibleText %} {% from "components/sticky_cta.html" import StickyCTA %} {% from 'components/text_input.html' import TextInput %} {% from "components/totals_box.html" import TotalsBox %} @@ -77,7 +78,6 @@ {% endmacro %} {% block portfolio_content %} - {% call StickyCTA(text="Add Funding") %} @@ -89,6 +89,7 @@ {% endcall %} +
{% include "fragments/flash.html" %} @@ -100,250 +101,247 @@
{{ form.csrf_token }} - -
-
- {{ "task_orders.new.form_help_text" | translate }} -
- More{{ Icon('caret_down') }} - Less{{ Icon('caret_up') }} -
-
+ {{ SemiCollapsibleText(paragraph="task_orders.new.form_help_text" | translate) }}
Add your task order
- {{ TextInput(form.number, validation='taskOrderNumber') }} +
+
+ {{ TextInput(form.number, validation='taskOrderNumber') }} -
Add the summary of cloud funding
-
- Data must match with what is in your uploaded document. -
+
- {% for clin in form.clins %} - {{ CLINFields(clin, index=loop.index - 1) }} - {% endfor %} - -
-
- +
Add the summary of cloud funding
-
-
- -
- CLIN type -
-
- -
-
- - -
- - - - - - - - - -
-
- -
Line of accounting (43 characters)
- {{ LOAInput() }} - - -
- -
- Start of period of performance (PoP) -
-
- -
- - -
- - -
- -
- - -
- -
- - - -
- -
- {{ Icon("ok", classes="icon--green") }} -
-
-
-
- - -
- -
- End of period of performance (PoP) -
-
- -
- - -
- - -
- -
- - -
- -
- - - -
- -
- {{ Icon("ok", classes="icon--green") }} -
-
-
-
- - -
- - - - - - - - - -
-
+ Data must match with what is in your uploaded document.
-
+ + {% for clin in form.clins %} + {{ CLINFields(clin, index=loop.index - 1) }} + {% endfor %} + +
+
+ +
+
+
+ +
+ CLIN type +
+
+ +
+
+ + +
+ + + + + + + + + +
+
+ +
Line of accounting (43 characters)
+ {{ LOAInput() }} + + +
+ +
+ Start of period of performance (PoP) +
+
+ +
+ + +
+ + +
+ +
+ + +
+ +
+ + + +
+ +
+ {{ Icon("ok", classes="icon--green") }} +
+
+
+
+ + +
+ +
+ End of period of performance (PoP) +
+
+ +
+ + +
+ + +
+ +
+ + +
+ +
+ + + +
+ +
+ {{ Icon("ok", classes="icon--green") }} +
+
+
+
+ + +
+ + + + + + + + + +
+
+
+
+
+ + + +
+
Upload your supporting documentation
+
+ Upload a single PDF containing all relevant information. {{ Icon('help')}} +
+ {{ UploadInput(form.pdf) }}
- - - -
-
Upload your supporting documentation
-
- Upload a single PDF containing all relevant information. {{ Icon('help')}} + {{ TotalsBox(task_order=task_order) }}
- {{ UploadInput(form.pdf) }} - - {{ TotalsBox(task_order=task_order) }}