Render all table elements; unstyled
This commit is contained in:
parent
bba5c1531d
commit
4aec810417
@ -25,7 +25,7 @@
|
|||||||
{{ Icon('info') }}
|
{{ Icon('info') }}
|
||||||
{{ "portfolios.admin.settings_info" | translate }}
|
{{ "portfolios.admin.settings_info" | translate }}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if not portfolio.members %}
|
{% if not portfolio.members %}
|
||||||
<p>{{ "portfolios.admin.no_members" | translate }}</p>
|
<p>{{ "portfolios.admin.no_members" | translate }}</p>
|
||||||
|
@ -1,19 +1,32 @@
|
|||||||
|
{% from "components/icon.html" import Icon %}
|
||||||
|
|
||||||
<div class="application-list-item">
|
<div class="application-list-item">
|
||||||
<header>
|
<header>
|
||||||
<h2 class="block-list__title">{{ 'portfolios.applications.environments_heading' | translate }}</h2>
|
<div class='left'>
|
||||||
<p>
|
<div class='h3'>{{ 'portfolios.applications.environments_heading' | translate }}</div>
|
||||||
{{ 'portfolios.applications.environments_description' | translate }}
|
</div>
|
||||||
</p>
|
<a class='icon-link'>
|
||||||
|
{{ Icon('info') }}
|
||||||
|
{{ "portfolios.admin.settings_info" | translate }}
|
||||||
|
</a>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<ul>
|
<table>
|
||||||
{% for environment in application.environments %}
|
<thead>
|
||||||
<li class="application-edit__env-list-item">
|
<tr>
|
||||||
<div class="usa-input input--disabled">
|
<td>{{ "portfolios.applications.environments.name" | translate }}</td>
|
||||||
<label>Environment Name</label>
|
<td>{{ "portfolios.applications.environments.members" | translate }}</td>
|
||||||
<input type="text" disabled value="{{ environment.name }}" readonly />
|
</tr>
|
||||||
</div>
|
</thead>
|
||||||
</li>
|
|
||||||
{% endfor %}
|
<tbody>
|
||||||
</ul>
|
{% for environment in application.environments %}
|
||||||
|
<tr>
|
||||||
|
<td>{{ environment.name }}</td>
|
||||||
|
<td>Show Members({{ environment.num_users }}){{ Icon('caret_down') }}</td>
|
||||||
|
</tr>
|
||||||
|
{% endfor %}
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{% extends "portfolios/applications/base.html" %}
|
{% extends "portfolios/applications/base.html" %}
|
||||||
|
|
||||||
{% from "components/text_input.html" import TextInput %}
|
{% from "components/text_input.html" import TextInput %}
|
||||||
|
{% from "components/icon.html" import Icon %}
|
||||||
|
|
||||||
{% set secondary_breadcrumb = 'portfolios.applications.existing_application_title' | translate({ "application_name": application.name }) %}
|
{% set secondary_breadcrumb = 'portfolios.applications.existing_application_title' | translate({ "application_name": application.name }) %}
|
||||||
|
|
||||||
@ -26,6 +27,10 @@
|
|||||||
{% include "fragments/applications/environments.html" %}
|
{% include "fragments/applications/environments.html" %}
|
||||||
</div>
|
</div>
|
||||||
<div class="action-group">
|
<div class="action-group">
|
||||||
|
<a class='icon-link'>
|
||||||
|
{{ "portfolios.applications.add_environment" | translate }}
|
||||||
|
{{ Icon('plus-circle-solid') }}
|
||||||
|
</a>
|
||||||
<button class="usa-button usa-button-primary" tabindex="0" type="submit">{{ 'portfolios.applications.update_button_text' | translate }}</button>
|
<button class="usa-button usa-button-primary" tabindex="0" type="submit">{{ 'portfolios.applications.update_button_text' | translate }}</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -587,6 +587,10 @@ portfolios:
|
|||||||
team_management:
|
team_management:
|
||||||
title: '{application_name} Team Management'
|
title: '{application_name} Team Management'
|
||||||
subheading: Team Management
|
subheading: Team Management
|
||||||
|
environments:
|
||||||
|
name: Name
|
||||||
|
members: Members
|
||||||
|
add_environment: Add New Environment
|
||||||
admin:
|
admin:
|
||||||
portfolio_members_title: Portfolio members
|
portfolio_members_title: Portfolio members
|
||||||
portfolio_members_subheading: These members have different levels of access to the portfolio.
|
portfolio_members_subheading: These members have different levels of access to the portfolio.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user