Rename modal and remove dismiss functionality
This commit is contained in:
parent
7494c18c22
commit
fbffc41cb6
@ -11,6 +11,7 @@ export default {
|
|||||||
return {
|
return {
|
||||||
modals: {
|
modals: {
|
||||||
styleguideModal: false,
|
styleguideModal: false,
|
||||||
|
rolesModal: false,
|
||||||
newProjectConfirmation: false,
|
newProjectConfirmation: false,
|
||||||
pendingFinancialVerification: false,
|
pendingFinancialVerification: false,
|
||||||
pendingCCPOApproval: false,
|
pendingCCPOApproval: false,
|
||||||
|
@ -53,16 +53,14 @@
|
|||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
{% call Modal(name='styleguideModal', dismissable=True) %}
|
{% call Modal(name='rolesModal', dismissable=False) %}
|
||||||
<div class="block-list">
|
<div class="block-list">
|
||||||
|
|
||||||
<header class="block-list__header">
|
<header class="block-list__header">
|
||||||
<h3>New Request</h3>
|
<h3>New Request</h3>
|
||||||
<div class="subtitle">Add a user to an environment</div>
|
<div class="subtitle">Add a user to an environment</div>
|
||||||
|
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
<div class='block-list__item'>
|
<div class='block-list__item'>
|
||||||
<dt>CCPO</dt>
|
<dt>CCPO</dt>
|
||||||
@ -93,8 +91,8 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class='action-group'>
|
<div class='action-group'>
|
||||||
<a v-on:click="closeModal('styleguideModal')" class='action-group__action usa-button'>Add Access</a>
|
<a v-on:click="closeModal('rolesModal')" class='action-group__action usa-button'>Add Access</a>
|
||||||
<a class='action-group__action icon-link icon-link--danger' v-on:click="closeModal('styleguideModal')">No Access</a>
|
<a class='action-group__action icon-link icon-link--danger' v-on:click="closeModal('rolesModal')">No Access</a>
|
||||||
</div>
|
</div>
|
||||||
{% endcall %}
|
{% endcall %}
|
||||||
|
|
||||||
@ -114,7 +112,7 @@
|
|||||||
Development
|
Development
|
||||||
</span>
|
</span>
|
||||||
<div class='project-list-item__environment__actions'>
|
<div class='project-list-item__environment__actions'>
|
||||||
<span class="label">no access </span><button v-on:click="openModal('styleguideModal')" type="button" class="icon-link">set role</button>
|
<span class="label">no access </span><button v-on:click="openModal('rolesModal')" type="button" class="icon-link">set role</button>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<li class='block-list__item project-list-item__environment'>
|
<li class='block-list__item project-list-item__environment'>
|
||||||
@ -122,7 +120,7 @@
|
|||||||
Sandbox
|
Sandbox
|
||||||
</span>
|
</span>
|
||||||
<div class='project-list-item__environment__actions'>
|
<div class='project-list-item__environment__actions'>
|
||||||
<span class="label">no access</span><button v-on:click="openModal('styleguideModal')" type="button" class="icon-link">set role</button>
|
<span class="label">no access</span><button v-on:click="openModal('rolesModal')" type="button" class="icon-link">set role</button>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<li class='block-list__item project-list-item__environment'>
|
<li class='block-list__item project-list-item__environment'>
|
||||||
@ -130,7 +128,7 @@
|
|||||||
Production
|
Production
|
||||||
</span>
|
</span>
|
||||||
<div class='project-list-item__environment__actions'>
|
<div class='project-list-item__environment__actions'>
|
||||||
<span class="label label--success">Billing</span><button v-on:click="openModal('styleguideModal')" type="button" class="icon-link">set role</button>
|
<span class="label label--success">Billing</span><button v-on:click="openModal('rolesModal')" type="button" class="icon-link">set role</button>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -153,7 +151,7 @@
|
|||||||
Development
|
Development
|
||||||
</span>
|
</span>
|
||||||
<div class='project-list-item__environment__actions'>
|
<div class='project-list-item__environment__actions'>
|
||||||
<span class="label">no access </span><button v-on:click="openModal('styleguideModal')" type="button" class="icon-link">set role</button>
|
<span class="label">no access </span><button v-on:click="openModal('rolesModal')" type="button" class="icon-link">set role</button>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<li class='block-list__item project-list-item__environment'>
|
<li class='block-list__item project-list-item__environment'>
|
||||||
@ -161,7 +159,7 @@
|
|||||||
Sandbox
|
Sandbox
|
||||||
</span>
|
</span>
|
||||||
<div class='project-list-item__environment__actions'>
|
<div class='project-list-item__environment__actions'>
|
||||||
<span class="label">no access</span><button v-on:click="openModal('styleguideModal')" type="button" class="icon-link">set role</button>
|
<span class="label">no access</span><button v-on:click="openModal('rolesModal')" type="button" class="icon-link">set role</button>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<li class='block-list__item project-list-item__environment'>
|
<li class='block-list__item project-list-item__environment'>
|
||||||
@ -169,7 +167,7 @@
|
|||||||
Production
|
Production
|
||||||
</span>
|
</span>
|
||||||
<div class='project-list-item__environment__actions'>
|
<div class='project-list-item__environment__actions'>
|
||||||
<span class="label">no access</span><button v-on:click="openModal('styleguideModal')" type="button" class="icon-link">set role</button>
|
<span class="label">no access</span><button v-on:click="openModal('rolesModal')" type="button" class="icon-link">set role</button>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user