Create new template and form field

This commit is contained in:
richard-dds
2018-08-14 12:54:48 -04:00
parent 5a2953ffc3
commit c6618c503b
7 changed files with 142 additions and 18 deletions

View File

@@ -2,6 +2,7 @@
{% from "components/alert.html" import Alert %}
{% from "components/text_input.html" import TextInput %}
{% from "components/options_input.html" import OptionsInput %}
{% block subtitle %}
<h2>Designate a Workspace Owner</h2>
@@ -16,20 +17,29 @@
) }}
{% endif %}
<p>The Workspace Owner is the primary point of contact and technical administrator of the JEDI Workspace and will have the following responsibilities:</p>
<ul>
<li>Organize your cloud-hosted systems into projects and environments</li>
<li>Add users to this workspace and manage members</li>
<li>Manage access to the JEDI Cloud service providers portal</li>
</ul>
</p>
<poc inline-template v-bind:initial-data='{{ f.data|tojson }}'>
<div>
<p>Please designate a Primary Point of Contact that will be responsible for owning the workspace in the JEDI Cloud.</p>
<p>The Point of Contact will become the primary owner of the <em>workspace</em> created to use the JEDI Cloud. As a workspace owner, this person will have the ability to:
<ul>
<li>Create multiple application stacks and environments in the workspace to access the commercial cloud service provider portal</li>
<li>Add and manage users in the workspace</li>
<li>View the budget and billing history related to this workspace</li>
<li>Manage access to the Cloud Service Provider's Console</li>
<li>Transfer Workspace ownership to another person</li>
</ul>
<em>This POC may be you.</em>
</p>
<p>This person must be a DoD employee (not a contractor).</p>
<p>The Workspace Owner may be you. You will be able to add other administrators later. This person will be invited via email once your request is approved.</p>
{{ OptionsInput(f.am_poc) }}
{{ TextInput(f.fname_poc,placeholder='First Name') }}
{{ TextInput(f.lname_poc,placeholder='Last Name') }}
{{ TextInput(f.email_poc,placeholder='jane@mail.mil', validation='email') }}
{{ TextInput(f.dodid_poc,placeholder='10-digit number on the back of the CAC', validation='dodId') }}
<template v-if="!amPOC">
{{ TextInput(f.fname_poc,placeholder='First Name') }}
{{ TextInput(f.lname_poc,placeholder='Last Name') }}
{{ TextInput(f.email_poc,placeholder='jane@mail.mil', validation='email') }}
{{ TextInput(f.dodid_poc,placeholder='10-digit number on the back of the CAC', validation='dodId') }}
</template>
</div>
</poc>
{% endblock %}