From 6026478cfa6ae5042a028bf3624eb087dfe3db5f Mon Sep 17 00:00:00 2001 From: Andrew Croce Date: Tue, 4 Sep 2018 11:14:58 -0400 Subject: [PATCH 01/15] Add validations/masking for PE number, treasury code, and BA code --- js/lib/input_validations.js | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/js/lib/input_validations.js b/js/lib/input_validations.js index 3806af8c..04b870ad 100644 --- a/js/lib/input_validations.js +++ b/js/lib/input_validations.js @@ -52,5 +52,31 @@ export default { match: /^\d{10}$/, unmask: [], validationError: 'Please enter a 10-digit DoD ID number' + }, + peNumber: { + mask: val => { + if (val.length <= 7) return ['0',/\d/,'0',/\d/,/\d/,/\d/,/\d/,/[a-z,A-Z]/] + if (val.length === 8) return ['0',/\d/,'0',/\d/,/\d/,/\d/,/\d/,/[a-z,A-Z]/,/[a-z,A-Z]/] + return ['0',/\d/,'0',/\d/,/\d/,/\d/,/\d/,/[a-z,A-Z]/,/[a-z,A-Z]/,/[a-z,A-Z]/] + }, + match: /(0\d)(0\d)(\d)(\d{2})([a-z,A-Z]{1,3})/, + unmask: ['_'], + validationError: 'Please enter a valid PE number. Note that it should be 7 digits followed by 1-3 letters, and should have a zero as the first and third digits.' + }, + treasuryCode: { + mask: createNumberMask({ prefix: '0', allowDecimal: false, allowLeadingZeroes: true, includeThousandsSeparator: false }), + match: /^0*([1-9]{4}|[1-9]{6})$/, + unmask: [], + validationError: 'Please enter a valid Program Treasury Code. Note that it should be a four digit or six digit number, prefixed by one or more zeros.' + }, + baCode: { + mask: val => { + if (val.length === 1) return [/\d/] + if (val.length === 2) return [/\d/, /\d/] + return [/\d/,/\d/,/[a-z,A-Z]/] + }, + match: /[0-9]{2}\w?$/, + unmask: [], + validationError: 'Please enter a valid BA Code. Note that it should be two digits, followed by a letter.' } } From 7e5843c995d2b22decbf1af5b339e74976e0c35e Mon Sep 17 00:00:00 2001 From: Andrew Croce Date: Tue, 4 Sep 2018 11:16:09 -0400 Subject: [PATCH 02/15] update various labels and placeholders --- atst/forms/financial.py | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/atst/forms/financial.py b/atst/forms/financial.py index 8582486b..4e78c67c 100644 --- a/atst/forms/financial.py +++ b/atst/forms/financial.py @@ -100,45 +100,51 @@ class BaseFinancialForm(ValidatedForm): ) uii_ids = NewlineListField( - "Unique Item Identifier (UII)s related to your application(s) if you already have them", + "Unique Item Identifier (UII)s related to your application(s) if you already have them.", + description="If you have more than on UII, place each one on a new line.", validators=[Required()], ) pe_id = StringField( - "Program Element (PE) Number related to your request", validators=[Required()] + "Program Element Number", + description="PE numbers help the Department of Defense identify which offices' budgets are contributing towards this resource use.
It should be 7 digits followed by 1-3 letters, and should have a zero as the first and third digits.", + validators=[Required()] ) treasury_code = StringField( - "Program Treasury Code", validators=[Required(), Regexp(TREASURY_CODE_REGEX)] + "Program Treasury Code", + description="Program Treasury Cod (or Appropriations Code) identifies resource types.
It should be a four digit or six digit number, prefixed by one or more zeros.", + validators=[Required(), Regexp(TREASURY_CODE_REGEX)] ) ba_code = StringField( "Program Budget Activity (BA) Code", + description="BA Code is used to identify the purposes, projects, or types of activities financed by the appropriation fund.
It should be two digits, followed by a letter.", validators=[Required(), Regexp(BA_CODE_REGEX)], ) - fname_co = StringField("Contracting Officer First Name", validators=[Required()]) - lname_co = StringField("Contracting Officer Last Name", validators=[Required()]) + fname_co = StringField("KO First Name", validators=[Required()]) + lname_co = StringField("KO Last Name", validators=[Required()]) - email_co = EmailField("Contracting Officer Email", validators=[Required(), Email()]) + email_co = EmailField("KO Email", validators=[Required(), Email()]) - office_co = StringField("Contracting Officer Office", validators=[Required()]) + office_co = StringField("KO Office", validators=[Required()]) fname_cor = StringField( - "Contracting Officer Representative (COR) First Name", validators=[Required()] + "COR First Name", validators=[Required()] ) lname_cor = StringField( - "Contracting Officer Representative (COR) Last Name", validators=[Required()] + "COR Last Name", validators=[Required()] ) email_cor = EmailField( - "Contracting Officer Representative (COR) Email", + "COR Email", validators=[Required(), Email()], ) office_cor = StringField( - "Contracting Officer Representative (COR) Office", validators=[Required()] + "COR Office", validators=[Required()] ) From 08ac775e3b0a3a973ad372ffa221fd694a8562ab Mon Sep 17 00:00:00 2001 From: Andrew Croce Date: Tue, 4 Sep 2018 11:16:23 -0400 Subject: [PATCH 03/15] more form column / row styles --- styles/components/_forms.scss | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/styles/components/_forms.scss b/styles/components/_forms.scss index 6bfd17d2..6abed16e 100644 --- a/styles/components/_forms.scss +++ b/styles/components/_forms.scss @@ -20,12 +20,36 @@ @include media($medium-screen) { @include grid-row; - align-items: flex-start; + align-items: flex-end; + justify-content: flex-start; .form-col { + &.form-col--half { + flex-basis: 50%; + } + + &.form-col--third { + flex-basis: 33.33%; + } + + &.form-col--two-thirds { + flex-basis: 66.66%; + } + .usa-input { margin-left: ($gap * 4); margin-right: ($gap * 4); + + label { + .icon-validation { + left: auto; + right: -$gap * 3; + } + } + + input { + max-width: none; + } } &:first-child { From 1791b0162e8280b0a02ae30e698dd6728abc83c2 Mon Sep 17 00:00:00 2001 From: Andrew Croce Date: Tue, 4 Sep 2018 11:16:39 -0400 Subject: [PATCH 04/15] input style adjustments --- styles/elements/_inputs.scss | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/styles/elements/_inputs.scss b/styles/elements/_inputs.scss index 9c664cdd..84167345 100644 --- a/styles/elements/_inputs.scss +++ b/styles/elements/_inputs.scss @@ -93,14 +93,14 @@ .icon-tooltip { padding: 0 $gap/2; cursor: default; - margin-left: $gap/2; + margin: 0 0 0 ($gap / 2); } } .usa-input__help { - @include h4; + @include h5; font-weight: normal; - padding: $gap/2 0; + @include line-max; .icon-link { @@ -115,7 +115,6 @@ @include line-max; margin: 0; box-sizing: border-box; - max-width: 32em; resize: none; &::placeholder { @@ -215,7 +214,9 @@ &--integer, &--dollars, - &--gigabytes, { + &--gigabytes, + &--treasuryCode, + &--peNumber { input { max-width: 16em; } @@ -225,7 +226,8 @@ } &--date, - &--usPhone { + &--usPhone, + &--baCode { input { max-width: 10em; } From d61bf853acf42d288b7d0d2cbaded75e0a430ce5 Mon Sep 17 00:00:00 2001 From: Andrew Croce Date: Tue, 4 Sep 2018 11:17:34 -0400 Subject: [PATCH 05/15] move form block outside panel markup --- .../requests/financial_verification.html | 55 +++++++++++-------- 1 file changed, 31 insertions(+), 24 deletions(-) diff --git a/templates/requests/financial_verification.html b/templates/requests/financial_verification.html index 51eeccba..3e6335df 100644 --- a/templates/requests/financial_verification.html +++ b/templates/requests/financial_verification.html @@ -27,6 +27,25 @@ ) }} {% endif %} + {% block form_action %} + {% if extended %} +
+ {% else %} + + {% endif %} + {% endblock %} + + {{ f.csrf_token }} + {% block form %} + {% autoescape false %} + + {% if f.errors %} + {{ Alert('There were some errors', + message="

Please see below.

", + level='error' + ) }} + {% endif %} +
@@ -36,27 +55,10 @@
- {% block form_action %} - {% if extended %} - - {% else %} - - {% endif %} - {% endblock %} - - {{ f.csrf_token }} - {% block form %} - {% autoescape false %} - - {% if f.errors %} - {{ Alert('There were some errors', - message="

Please see below.

", - level='error' - ) }} - {% endif %} -

In order to get you access to the JEDI Cloud, we will need you to enter the details below that will help us verify and account for your Task Order.

+
+ {% if extended %}
{{ OptionsInput(f.funding_type) }} @@ -155,13 +157,18 @@ {% endautoescape %} - {% endblock form %} - {% block next %} - - {% endblock %} - +
+ + {% endblock form %} + {% block next %} +
+ +
+ {% endblock %} + +
From 743e79018015569a8d60d06959a107ccc6e1f399 Mon Sep 17 00:00:00 2001 From: Andrew Croce Date: Tue, 4 Sep 2018 11:18:01 -0400 Subject: [PATCH 06/15] remove unnecessary placeholders add dollar validation/masking to CLIN numbers --- .../requests/financial_verification.html | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/templates/requests/financial_verification.html b/templates/requests/financial_verification.html index 3e6335df..d49f9399 100644 --- a/templates/requests/financial_verification.html +++ b/templates/requests/financial_verification.html @@ -68,33 +68,33 @@ {{ TextInput( - f.clin_0001,placeholder="50,000", - validation='integer' + f.clin_0001, + validation='dollars' ) }} {{ TextInput( - f.clin_0003,placeholder="13,000", - validation='integer' + f.clin_0003, + validation='dollars' ) }} {{ TextInput( - f.clin_1001,placeholder="30,000", - validation='integer' + f.clin_1001, + validation='dollars' ) }} {{ TextInput( - f.clin_1003,placeholder="7,000", - validation='integer' + f.clin_1003, + validation='dollars' ) }} {{ TextInput( - f.clin_2001,placeholder="30,000", - validation='integer' + f.clin_2001, + validation='dollars' ) }} {{ TextInput( - f.clin_2003,placeholder="7,000", - validation='integer' + f.clin_2003, + validation='dollars' ) }}
From 4f7e193130b6f20eb01c0ed9e314fa9b2178ecc8 Mon Sep 17 00:00:00 2001 From: Andrew Croce Date: Tue, 4 Sep 2018 11:18:45 -0400 Subject: [PATCH 07/15] Update various labels and placeholders Add form row/col markup to person-info fields --- .../requests/financial_verification.html | 47 ++++++++++--------- templates/requests/screen-2.html | 13 +++-- templates/requests/screen-3.html | 15 ++++-- 3 files changed, 44 insertions(+), 31 deletions(-) diff --git a/templates/requests/financial_verification.html b/templates/requests/financial_verification.html index d49f9399..905e0c92 100644 --- a/templates/requests/financial_verification.html +++ b/templates/requests/financial_verification.html @@ -116,44 +116,45 @@ {{ TextInput(f.uii_ids, paragraph=True, - placeholder="e.g.: DI 0CVA5786950 \nUN1945326361234786950", + placeholder="examples: \nDI 0CVA5786950 \nUN1945326361234786950", tooltip="A Unique Item Identifer is a unique code that helps the Department of Defense track and report on where and how digital assets are stored.
Not all applications have an existing UII number assigned." ) }} {{ TextInput(f.pe_id, - placeholder="e.g.: 0302400A", - tooltip="Program Element numbers helps the Department of Defense identify which offices\\' budgets are contributing towards this resource use." + placeholder="e.g.: 0105688F", + validation="peNumber" ) }} - {{ TextInput(f.treasury_code,placeholder="e.g.: 00123456") }} + {{ TextInput(f.treasury_code,placeholder="e.g.: 00123456",validation="treasuryCode") }} - {{ TextInput(f.ba_code,placeholder="e.g.: 02A") }} + {{ TextInput(f.ba_code,placeholder="e.g.: 02A",validation="baCode") }} + +

Contracting Officer (KO) Information

- {{ TextInput(f.fname_co,placeholder="Contracting Officer First Name") }} - {{ TextInput(f.lname_co,placeholder="Contracting Officer Last Name") }} - - {{ TextInput( - f.email_co,validation='email', - placeholder="jane@mail.mil" - ) }} - - {{ TextInput( - f.office_co, - placeholder="e.g.: WHS" - ) }} +
+
{{ TextInput(f.fname_co) }}
+
{{ TextInput(f.lname_co) }}
+
+
+
{{ TextInput(f.email_co,validation='email') }}
+
{{ TextInput(f.office_co,placeholder="e.g.: WHS") }}
+
+

Contracting Officer Representative (COR) Information

- {{ TextInput(f.fname_cor,placeholder="Contracting Officer Representative First Name") }} +
+
{{ TextInput(f.fname_cor) }}
+
{{ TextInput(f.lname_cor) }}
+
- {{ TextInput(f.lname_cor,placeholder="Contracting Officer Representative Last Name") }} - - {{ TextInput(f.email_cor,validation='email',placeholder="jane@mail.mil") }} - - {{ TextInput(f.office_cor,placeholder="e.g.: WHS") }} +
+
{{ TextInput(f.email_cor,validation='email') }}
+
{{ TextInput(f.office_cor,placeholder="e.g.: WHS") }}
+
{% endautoescape %} diff --git a/templates/requests/screen-2.html b/templates/requests/screen-2.html index 6d23c171..4ad62c72 100644 --- a/templates/requests/screen-2.html +++ b/templates/requests/screen-2.html @@ -20,10 +20,15 @@

Please tell us more about you.

-{{ TextInput(f.fname_request, placeholder='First Name') }} -{{ TextInput(f.lname_request, placeholder='Last Name') }} -{{ TextInput(f.email_request, placeholder='jane@mail.mil', validation='email') }} -{{ TextInput(f.phone_number, placeholder='e.g. (123) 456-7890', validation='usPhone') }} +
+
{{ TextInput(f.fname_request) }}
+
{{ TextInput(f.lname_request) }}
+
+ +
+
{{ TextInput(f.email_request, placeholder='jane@mail.mil', validation='email') }}
+
{{ TextInput(f.phone_number, placeholder='e.g. (123) 456-7890', validation='usPhone') }}
+

We want to collect the following information from you for security auditing and determining priviledged user access.

diff --git a/templates/requests/screen-3.html b/templates/requests/screen-3.html index cbceccae..1232d1fa 100644 --- a/templates/requests/screen-3.html +++ b/templates/requests/screen-3.html @@ -36,10 +36,17 @@ {{ CheckboxInput(f.am_poc) }}
From 259c04895227c08665df5971e3d033485c6a507d Mon Sep 17 00:00:00 2001 From: andrewdds <40467269+andrewdds@users.noreply.github.com> Date: Tue, 4 Sep 2018 12:59:02 -0400 Subject: [PATCH 08/15] fix typo --- atst/forms/financial.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atst/forms/financial.py b/atst/forms/financial.py index 4e78c67c..416b6fce 100644 --- a/atst/forms/financial.py +++ b/atst/forms/financial.py @@ -101,7 +101,7 @@ class BaseFinancialForm(ValidatedForm): uii_ids = NewlineListField( "Unique Item Identifier (UII)s related to your application(s) if you already have them.", - description="If you have more than on UII, place each one on a new line.", + description="If you have more than one UII, place each one on a new line.", validators=[Required()], ) From 16e0f3f175bb155fe3dccc7e2c71925ae7a759eb Mon Sep 17 00:00:00 2001 From: andrewdds <40467269+andrewdds@users.noreply.github.com> Date: Tue, 4 Sep 2018 12:59:56 -0400 Subject: [PATCH 09/15] Update financial.py its not about fish --- atst/forms/financial.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atst/forms/financial.py b/atst/forms/financial.py index 416b6fce..6463f735 100644 --- a/atst/forms/financial.py +++ b/atst/forms/financial.py @@ -113,7 +113,7 @@ class BaseFinancialForm(ValidatedForm): treasury_code = StringField( "Program Treasury Code", - description="Program Treasury Cod (or Appropriations Code) identifies resource types.
It should be a four digit or six digit number, prefixed by one or more zeros.", + description="Program Treasury Code (or Appropriations Code) identifies resource types.
It should be a four digit or six digit number, prefixed by one or more zeros.", validators=[Required(), Regexp(TREASURY_CODE_REGEX)] ) From 231b3788de7e3a980b7b33fc78e76b6cdf1f9219 Mon Sep 17 00:00:00 2001 From: Andrew Croce Date: Tue, 4 Sep 2018 13:05:26 -0400 Subject: [PATCH 10/15] make leading zeros optional, remove 0 prefix --- atst/forms/financial.py | 2 +- js/lib/input_validations.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/atst/forms/financial.py b/atst/forms/financial.py index 6463f735..ad063613 100644 --- a/atst/forms/financial.py +++ b/atst/forms/financial.py @@ -113,7 +113,7 @@ class BaseFinancialForm(ValidatedForm): treasury_code = StringField( "Program Treasury Code", - description="Program Treasury Code (or Appropriations Code) identifies resource types.
It should be a four digit or six digit number, prefixed by one or more zeros.", + description="Program Treasury Code (or Appropriations Code) identifies resource types.
It should be a four digit or six digit number, optionally prefixed by one or more zeros.", validators=[Required(), Regexp(TREASURY_CODE_REGEX)] ) diff --git a/js/lib/input_validations.js b/js/lib/input_validations.js index 04b870ad..9ef234ff 100644 --- a/js/lib/input_validations.js +++ b/js/lib/input_validations.js @@ -64,10 +64,10 @@ export default { validationError: 'Please enter a valid PE number. Note that it should be 7 digits followed by 1-3 letters, and should have a zero as the first and third digits.' }, treasuryCode: { - mask: createNumberMask({ prefix: '0', allowDecimal: false, allowLeadingZeroes: true, includeThousandsSeparator: false }), + mask: createNumberMask({ prefix: '', allowDecimal: false, allowLeadingZeroes: true, includeThousandsSeparator: false }), match: /^0*([1-9]{4}|[1-9]{6})$/, unmask: [], - validationError: 'Please enter a valid Program Treasury Code. Note that it should be a four digit or six digit number, prefixed by one or more zeros.' + validationError: 'Please enter a valid Program Treasury Code. Note that it should be a four digit or six digit number, optionally prefixed by one or more zeros.' }, baCode: { mask: val => { From fe3bbcb10d1d56763730bb8967c7f7deac34ff28 Mon Sep 17 00:00:00 2001 From: Andrew Croce Date: Tue, 4 Sep 2018 14:32:28 -0400 Subject: [PATCH 11/15] correct column classes --- templates/requests/screen-2.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/requests/screen-2.html b/templates/requests/screen-2.html index 4ad62c72..281296ea 100644 --- a/templates/requests/screen-2.html +++ b/templates/requests/screen-2.html @@ -27,7 +27,7 @@
{{ TextInput(f.email_request, placeholder='jane@mail.mil', validation='email') }}
-
{{ TextInput(f.phone_number, placeholder='e.g. (123) 456-7890', validation='usPhone') }}
+
{{ TextInput(f.phone_number, placeholder='e.g. (123) 456-7890', validation='usPhone') }}

We want to collect the following information from you for security auditing and determining priviledged user access.

From fa1292662c8d0a8e5e31ec64a911f740b1a6302d Mon Sep 17 00:00:00 2001 From: Andrew Croce Date: Tue, 4 Sep 2018 14:36:41 -0400 Subject: [PATCH 12/15] remove first and third zeros from PE number input mask --- js/lib/input_validations.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/lib/input_validations.js b/js/lib/input_validations.js index 9ef234ff..d326d0b8 100644 --- a/js/lib/input_validations.js +++ b/js/lib/input_validations.js @@ -55,9 +55,9 @@ export default { }, peNumber: { mask: val => { - if (val.length <= 7) return ['0',/\d/,'0',/\d/,/\d/,/\d/,/\d/,/[a-z,A-Z]/] - if (val.length === 8) return ['0',/\d/,'0',/\d/,/\d/,/\d/,/\d/,/[a-z,A-Z]/,/[a-z,A-Z]/] - return ['0',/\d/,'0',/\d/,/\d/,/\d/,/\d/,/[a-z,A-Z]/,/[a-z,A-Z]/,/[a-z,A-Z]/] + if (val.length <= 7) return [/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/[a-z,A-Z]/] + if (val.length === 8) return [/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/[a-z,A-Z]/,/[a-z,A-Z]/] + return [/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/,/[a-z,A-Z]/,/[a-z,A-Z]/,/[a-z,A-Z]/] }, match: /(0\d)(0\d)(\d)(\d{2})([a-z,A-Z]{1,3})/, unmask: ['_'], From 014eb9c1ef3767218c3d8567b6a9e6712ee0afff Mon Sep 17 00:00:00 2001 From: Andrew Croce Date: Tue, 4 Sep 2018 15:26:06 -0400 Subject: [PATCH 13/15] run formatter --- atst/forms/financial.py | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/atst/forms/financial.py b/atst/forms/financial.py index ad063613..60e4014b 100644 --- a/atst/forms/financial.py +++ b/atst/forms/financial.py @@ -108,13 +108,13 @@ class BaseFinancialForm(ValidatedForm): pe_id = StringField( "Program Element Number", description="PE numbers help the Department of Defense identify which offices' budgets are contributing towards this resource use.
It should be 7 digits followed by 1-3 letters, and should have a zero as the first and third digits.", - validators=[Required()] + validators=[Required()], ) treasury_code = StringField( "Program Treasury Code", description="Program Treasury Code (or Appropriations Code) identifies resource types.
It should be a four digit or six digit number, optionally prefixed by one or more zeros.", - validators=[Required(), Regexp(TREASURY_CODE_REGEX)] + validators=[Required(), Regexp(TREASURY_CODE_REGEX)], ) ba_code = StringField( @@ -130,22 +130,13 @@ class BaseFinancialForm(ValidatedForm): office_co = StringField("KO Office", validators=[Required()]) - fname_cor = StringField( - "COR First Name", validators=[Required()] - ) + fname_cor = StringField("COR First Name", validators=[Required()]) - lname_cor = StringField( - "COR Last Name", validators=[Required()] - ) + lname_cor = StringField("COR Last Name", validators=[Required()]) - email_cor = EmailField( - "COR Email", - validators=[Required(), Email()], - ) + email_cor = EmailField("COR Email", validators=[Required(), Email()]) - office_cor = StringField( - "COR Office", validators=[Required()] - ) + office_cor = StringField("COR Office", validators=[Required()]) class FinancialForm(BaseFinancialForm): From a30a0a729cf0ef49c5ad37fdc2c545c60e8ac1a8 Mon Sep 17 00:00:00 2001 From: Andrew Croce Date: Wed, 5 Sep 2018 14:16:24 -0400 Subject: [PATCH 14/15] align form rows to the top --- styles/components/_forms.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/styles/components/_forms.scss b/styles/components/_forms.scss index 6abed16e..db7ee296 100644 --- a/styles/components/_forms.scss +++ b/styles/components/_forms.scss @@ -20,7 +20,7 @@ @include media($medium-screen) { @include grid-row; - align-items: flex-end; + align-items: flex-start; justify-content: flex-start; .form-col { From 6798bd200e153a15da0f365ad2f83955a70c008f Mon Sep 17 00:00:00 2001 From: Andrew Croce Date: Wed, 5 Sep 2018 14:17:03 -0400 Subject: [PATCH 15/15] make field cols half/half --- templates/requests/financial_verification.html | 4 ++-- templates/requests/screen-2.html | 4 ++-- templates/requests/screen-3.html | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/requests/financial_verification.html b/templates/requests/financial_verification.html index 905e0c92..c43942ef 100644 --- a/templates/requests/financial_verification.html +++ b/templates/requests/financial_verification.html @@ -139,7 +139,7 @@
-
{{ TextInput(f.email_co,validation='email') }}
+
{{ TextInput(f.email_co,validation='email', placeholder='e.g. jane@mail.mil') }}
{{ TextInput(f.office_co,placeholder="e.g.: WHS") }}
@@ -152,7 +152,7 @@
-
{{ TextInput(f.email_cor,validation='email') }}
+
{{ TextInput(f.email_cor,validation='email', placeholder='e.g. jane@mail.mil') }}
{{ TextInput(f.office_cor,placeholder="e.g.: WHS") }}
diff --git a/templates/requests/screen-2.html b/templates/requests/screen-2.html index 281296ea..52395767 100644 --- a/templates/requests/screen-2.html +++ b/templates/requests/screen-2.html @@ -26,8 +26,8 @@
-
{{ TextInput(f.email_request, placeholder='jane@mail.mil', validation='email') }}
-
{{ TextInput(f.phone_number, placeholder='e.g. (123) 456-7890', validation='usPhone') }}
+
{{ TextInput(f.email_request, placeholder='e.g. jane@mail.mil', validation='email') }}
+
{{ TextInput(f.phone_number, placeholder='e.g. (123) 456-7890', validation='usPhone') }}

We want to collect the following information from you for security auditing and determining priviledged user access.

diff --git a/templates/requests/screen-3.html b/templates/requests/screen-3.html index 1232d1fa..61b370d3 100644 --- a/templates/requests/screen-3.html +++ b/templates/requests/screen-3.html @@ -43,8 +43,8 @@
-
{{ TextInput(f.email_poc, validation='email') }}
-
{{ TextInput(f.dodid_poc, validation='dodId') }}
+
{{ TextInput(f.email_poc, validation='email', placeholder='e.g. jane@mail.mil') }}
+
{{ TextInput(f.dodid_poc, validation='dodId', placeholder='10-digit number on back of CAC') }}