From 1bc44b8882055bba63874adf780fbcaa3d4a8bf0 Mon Sep 17 00:00:00 2001 From: luis cielak Date: Fri, 10 Aug 2018 13:38:14 -0400 Subject: [PATCH] Add moaaar tooltips --- atst/forms/request.py | 6 ++++++ templates/requests/screen-1.html | 5 +++-- templates/requests/screen-4.html | 7 ++++++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/atst/forms/request.py b/atst/forms/request.py index 3b6e5904..6b670650 100644 --- a/atst/forms/request.py +++ b/atst/forms/request.py @@ -112,6 +112,12 @@ class RequestForm(ValidatedForm): ) average_daily_traffic = IntegerField( + "Average Daily Traffic (Number of Requests)", + description="What is the average daily traffic you expect the systems under this cloud contract to use?" + ) + + average_daily_traffic_gb = IntegerField( + "Average Daily Traffic (GB)", description="What is the average daily traffic you expect the systems under this cloud contract to use?" ) diff --git a/templates/requests/screen-1.html b/templates/requests/screen-1.html index bcb9276d..51011f2c 100644 --- a/templates/requests/screen-1.html +++ b/templates/requests/screen-1.html @@ -37,11 +37,12 @@ {{ OptionsInput(f.cloud_native, tooltip="Cloud native is architecting and designing your application to use all the benefits of the commercial cloud. Specifically, designing applications so that they are decoupled from a physical resource.") }}

Financial Usage

-{{ TextInput(f.estimated_monthly_spend) }} +{{ TextInput(f.estimated_monthly_spend, tooltip="Refer to financial verification step help docs") }}

So this means you are spending approximately $X annually

{{ TextInput(f.dollar_value) }} {{ TextInput(f.number_user_sessions) }} -{{ TextInput(f.average_daily_traffic) }} +{{ TextInput(f.average_daily_traffic, tooltip="Requests are the client-to-server network traffic that is being transferred to your systems") }} +{{ TextInput(f.average_daily_traffic_gb, tooltip="GB uploaded is the gigabyte amount of data traffic that is being transferred to your systems") }} {{ TextInput(f.start_date) }} diff --git a/templates/requests/screen-4.html b/templates/requests/screen-4.html index 2e940e57..add689ff 100644 --- a/templates/requests/screen-4.html +++ b/templates/requests/screen-4.html @@ -98,10 +98,15 @@
-
Average Daily Traffic
+
Average Daily Traffic (Number of Requests)
{{data['details_of_use']['average_daily_traffic']}}
+
+
Average Daily Traffic (GB)
+
{{data['details_of_use']['average_daily_traffic_gb']}}
+
+
Start Date
{{data['details_of_use']['start_date']}}