multistep task order workflow

This commit is contained in:
dandds
2018-12-17 16:55:11 -05:00
parent c5580733ba
commit c6686d70e8
10 changed files with 339 additions and 58 deletions

View File

@@ -0,0 +1,41 @@
{% extends 'task_orders/_new.html' %}
{% from "components/text_input.html" import TextInput %}
{% from "components/options_input.html" import OptionsInput %}
{% from "components/date_input.html" import DateInput %}
{% block heading %}
What You're Building
{% endblock %}
{% block form %}
{% include "fragments/flash.html" %}
<h3>Basic Information</h3>
{{ TextInput(form.portfolio_name) }}
{{ TextInput(form.scope, paragraph=True) }}
{{ OptionsInput(form.defense_component) }}
<hr>
<h3>About Your Project</h3>
{{ OptionsInput(form.app_migration) }}
{{ OptionsInput(form.native_apps) }}
{{ OptionsInput(form.complexity) }}
{{ TextInput(form.complexity_other) }}
<hr>
<h3>About Your Team</h3>
{{ OptionsInput(form.dev_team) }}
{{ TextInput(form.dev_team_other) }}
{{ OptionsInput(form.team_experience) }}
<hr>
<h3>Market Research</h3>
<p>View JEDI Market Research Memo</p>
{% endblock %}

View File

@@ -0,0 +1,29 @@
{% extends 'task_orders/_new.html' %}
{% from "components/text_input.html" import TextInput %}
{% from "components/options_input.html" import OptionsInput %}
{% from "components/date_input.html" import DateInput %}
{% block heading %}
Funding
{% endblock %}
{% block form %}
{% include "fragments/flash.html" %}
<!-- Get Funding Section -->
{{ DateInput(form.start_date, placeholder='MM / DD / YYYY', validation='date') }}
{{ DateInput(form.end_date, placeholder='MM / DD / YYYY', validation='date') }}
<p>Cloud Usage Estimate</p>
<p>Upload a copy of your CSP Cost Estimate Research</p>
<h3>Cloud Usage Calculations</h3>
{{ TextInput(form.clin_01, validation='dollars') }}
{{ TextInput(form.clin_02, validation='dollars') }}
{{ TextInput(form.clin_03, validation='dollars', tooltip='The cloud support and assistance packages cannot be used as a primary development resource.') }}
{{ TextInput(form.clin_04, validation='dollars', tooltip='The cloud support and assistance packages cannot be used as a primary development resource.') }}
<p>Total Task Order Value</p>
{% endblock %}

View File

@@ -0,0 +1,21 @@
<div class="progress-menu progress-menu--four">
<ul>
{% for s in screens %}
{% if jedi_request and s.section in jedi_request.body %}
{% set step_indicator = 'complete' %}
{% elif loop.index == current %}
{% set step_indicator = 'active' %}
{% else %}
{% set step_indicator = 'incomplete' %}
{% endif %}
<li class="progress-menu__item progress-menu__item--{{ step_indicator }}">
<a href="{{ url_for('task_orders.new', screen=loop.index, task_order_id=task_order_id) }}"
{% if g.matchesPath(url_for('task_orders.new', screen=loop.index + 1)) %}class="active"{% endif %}
>
{{ s['title'] }}
</a>
</li>
{% endfor %}
</ul>
</div>

View File

@@ -0,0 +1,32 @@
{% extends 'task_orders/_new.html' %}
{% from "components/text_input.html" import TextInput %}
{% from "components/options_input.html" import OptionsInput %}
{% from "components/date_input.html" import DateInput %}
{% block heading %}
Funding
{% endblock %}
{% block form %}
{% include "fragments/flash.html" %}
<!-- Oversight Section -->
<h3>Contracting Officer (KO) Information</h3>
{{ TextInput(form.ko_first_name) }}
{{ TextInput(form.ko_last_name) }}
{{ TextInput(form.ko_email) }}
{{ TextInput(form.ko_dod_id) }}
<h3>Contractive Officer Representative (COR) Information</h3>
{{ TextInput(form.cor_first_name) }}
{{ TextInput(form.cor_last_name) }}
{{ TextInput(form.cor_email) }}
{{ TextInput(form.cor_dod_id) }}
<h3>Security Officer Information</h3>
{{ TextInput(form.so_first_name) }}
{{ TextInput(form.so_last_name) }}
{{ TextInput(form.so_email) }}
{{ TextInput(form.so_dod_id) }}
{% endblock %}