From abf1c0d9224b78aad1de410cb959e6b153606fd8 Mon Sep 17 00:00:00 2001 From: Patrick Smith Date: Fri, 11 Jan 2019 15:49:07 -0500 Subject: [PATCH 1/6] Add icons for computer and dollar-sign --- static/icons/computer.svg | 1 + static/icons/dollar-sign.svg | 1 + 2 files changed, 2 insertions(+) create mode 100644 static/icons/computer.svg create mode 100644 static/icons/dollar-sign.svg diff --git a/static/icons/computer.svg b/static/icons/computer.svg new file mode 100644 index 00000000..0dc362c0 --- /dev/null +++ b/static/icons/computer.svg @@ -0,0 +1 @@ + diff --git a/static/icons/dollar-sign.svg b/static/icons/dollar-sign.svg new file mode 100644 index 00000000..d08180eb --- /dev/null +++ b/static/icons/dollar-sign.svg @@ -0,0 +1 @@ + From e3ec50ab2d1a0e3898f768522d8c480c7373ed04 Mon Sep 17 00:00:00 2001 From: Patrick Smith Date: Fri, 11 Jan 2019 15:49:38 -0500 Subject: [PATCH 2/6] add initial version of get started page --- styles/sections/_task_order.scss | 29 ++++++++++- templates/task_orders/new/get_started.html | 60 ++++++++++++++++++++++ 2 files changed, 88 insertions(+), 1 deletion(-) create mode 100644 templates/task_orders/new/get_started.html diff --git a/styles/sections/_task_order.scss b/styles/sections/_task_order.scss index 3845edac..c75986c5 100644 --- a/styles/sections/_task_order.scss +++ b/styles/sections/_task_order.scss @@ -1,3 +1,31 @@ +.task-order-get-started { + text-align: center; + padding: 4rem 6rem; + + .task-order-get-started__panel { + p { + margin: 2rem auto; + } + } + + .task-order-get-started__list { + ul { + list-style: none; + margin-top: 0; + padding: 0; + + li { + font-weight: bold; + line-height: 2rem; + } + } + } + + .task-order-help__icon { + @include icon-size(48); + } +} + .task-order-summary { @include media($medium-screen) { @@ -101,5 +129,4 @@ padding: 0 0.5rem; } } - } diff --git a/templates/task_orders/new/get_started.html b/templates/task_orders/new/get_started.html new file mode 100644 index 00000000..aa5dab2b --- /dev/null +++ b/templates/task_orders/new/get_started.html @@ -0,0 +1,60 @@ +{% from "components/icon.html" import Icon %} + +{% extends "base.html" %} + +{% macro Help(icon_name="", name="", description="", link_text="") %} +
+ {{ Icon(icon_name, classes="task-order-help__icon") }} +

{{ name }}

+

{{ description }}

+ {{ link_text }} +
+{% endmacro %} + +{% block content %} + +
+
+

Let's get started

+

+ To create a portfolio of JEDI cloud applications, you'll complete and submit a task order in your organization's system of record. We'll help you complete the necessary pieces of that task order, including your: +

+ +
    +
  • Statement of work
  • +
  • Market research
  • +
  • Security documentation
  • +
  • Various approvals
  • +
+
+ +
+ +
+

You'll need help getting a task order

+
+ {{ Help( + name="Development Lead", + icon_name="computer", + description="Your development lead will decide and estimate what types of cloud offerings your group needs.", + link_text="Share cloud estimate link") }} + {{ Help( + name="Security Lead", + icon_name="shield", + description="Your security lead will review and approve your security classification needs, as well as a standardized DD-254.", + link_text="You'll need their DOD ID number") }} + {{ Help( + name="Contracting Officer", + icon_name="dollar-sign", + description="Your contracting officer will review your funding needs and ultimately approve your task order.", + link_text="You'll need their DOD ID number") }} +
+
+ +
+ Let's do cloud! +
Create a JEDI cloud application portfolio & start building a task order
+ Cancel +
+
+{% endblock %} From 94b89917ef8926e18990120bb1feab2e0fc6a4ab Mon Sep 17 00:00:00 2001 From: Patrick Smith Date: Fri, 11 Jan 2019 15:50:57 -0500 Subject: [PATCH 3/6] Link to TO get started page --- atst/routes/task_orders/new.py | 5 +++++ templates/navigation/global_navigation.html | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/atst/routes/task_orders/new.py b/atst/routes/task_orders/new.py index 266bcf57..25a63998 100644 --- a/atst/routes/task_orders/new.py +++ b/atst/routes/task_orders/new.py @@ -187,6 +187,11 @@ class UpdateTaskOrderWorkflow(ShowTaskOrderWorkflow): return self.task_order +@task_orders_bp.route("/task_orders/new/get_started") +def get_started(): + return render_template("task_orders/new/get_started.html") # pragma: no cover + + @task_orders_bp.route("/task_orders/new/") @task_orders_bp.route("/task_orders/new//") def new(screen, task_order_id=None): diff --git a/templates/navigation/global_navigation.html b/templates/navigation/global_navigation.html index c0c43cf2..8155bc99 100644 --- a/templates/navigation/global_navigation.html +++ b/templates/navigation/global_navigation.html @@ -3,7 +3,7 @@