Merge pull request #465 from dod-ccpo/mock-csp-links

Mock csp links
This commit is contained in:
leigh-mil
2018-11-30 15:43:30 -05:00
committed by GitHub
7 changed files with 78 additions and 2 deletions

View File

@@ -113,7 +113,7 @@ class DetailsOfUseForm(CacheableForm):
# Details of Use: Financial Usage
estimated_monthly_spend = IntegerField(
"Estimated Monthly Spend",
description='Use the <a href="#" target="_blank" class="icon-link">JEDI CSP Calculator</a> to estimate your <b>monthly</b> cloud resource usage and enter the dollar amount below. Note these estimates are for initial approval only. After the request is approved, you will be asked to provide a valid Task Order number with specific CLIN amounts for cloud services.',
description='Use the <a href="/jedi-csp-calculator" target="_blank" class="icon-link">JEDI CSP Calculator</a> to estimate your <b>monthly</b> cloud resource usage and enter the dollar amount below. Note these estimates are for initial approval only. After the request is approved, you will be asked to provide a valid Task Order number with specific CLIN amounts for cloud services.',
)
dollar_value = IntegerField(

View File

@@ -143,3 +143,13 @@ def activity_history():
@bp.route("/about")
def about():
return render_template("about.html")
@bp.route("/csp-environment-access")
def csp_environment_access():
return render_template("mock_csp.html", text="console for this environment")
@bp.route("/jedi-csp-calculator")
def jedi_csp_calculator():
return render_template("mock_csp.html", text="service and price calculator")