Update styling and change title on page and in breadcrumbs
This commit is contained in:
parent
0629384c05
commit
596cabfba0
@ -153,6 +153,18 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.activity-log {
|
||||||
|
border-top: 3px solid $color-blue;
|
||||||
|
|
||||||
|
.subheading {
|
||||||
|
border-top: 0;
|
||||||
|
border-bottom: 1px solid $color-gray-lightest;
|
||||||
|
padding: 1.6rem 1.6rem;
|
||||||
|
font-weight: $font-bold;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.portfolio-applications {
|
.portfolio-applications {
|
||||||
@ -355,4 +367,16 @@
|
|||||||
.edit-portfolio-name.action-group {
|
.edit-portfolio-name.action-group {
|
||||||
margin-top: 2rem;
|
margin-top: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.form-row {
|
||||||
|
margin-bottom: 0;
|
||||||
|
|
||||||
|
.form-col {
|
||||||
|
.usa-input {
|
||||||
|
input {
|
||||||
|
max-width: 45em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -25,6 +25,10 @@
|
|||||||
border-top: 3px solid $color-blue;
|
border-top: 3px solid $color-blue;
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
box-shadow: 0 2px 4px 0 rgba(216,218,222,0.58);
|
box-shadow: 0 2px 4px 0 rgba(216,218,222,0.58);
|
||||||
|
|
||||||
|
&.row {
|
||||||
|
background: $color-white;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.accordian__title {
|
.accordian__title {
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
@mixin block-list {
|
@mixin block-list {
|
||||||
@include panel-margin;
|
@include panel-margin;
|
||||||
|
box-shadow: 0 6px 18px 0 rgba(144,164,183,0.3);
|
||||||
|
|
||||||
ul, dl {
|
ul, dl {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
@ -15,6 +16,11 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
background-color: $color-gray-lightest;
|
||||||
|
padding: $gap 2 * $gap;
|
||||||
|
border-top: none;
|
||||||
|
border-bottom: none;
|
||||||
|
color: $color-gray;
|
||||||
|
|
||||||
.icon-tooltip {
|
.icon-tooltip {
|
||||||
margin: -$gap;
|
margin: -$gap;
|
||||||
@ -59,7 +65,7 @@
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
padding: $gap * 2;
|
padding: $gap * 2;
|
||||||
border-top: 0;
|
border-top: 0;
|
||||||
border-bottom: 1px dashed $color-gray-light;
|
border-bottom: 1px solid $color-gray-lightest;
|
||||||
|
|
||||||
@at-root li#{&} {
|
@at-root li#{&} {
|
||||||
&:last-child {
|
&:last-child {
|
||||||
|
@ -1,10 +1,7 @@
|
|||||||
{% from "components/pagination.html" import Pagination %}
|
{% from "components/pagination.html" import Pagination %}
|
||||||
|
|
||||||
<section class="block-list">
|
<section class="block-list activity-log">
|
||||||
<header class="block-list__header">
|
<div class='subheading'>Activity Log</div>
|
||||||
<h1 class="block-list__title">{{ "audit_log.header_title" | translate }}</h1>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
{% for event in audit_events %}
|
{% for event in audit_events %}
|
||||||
<li class="block-list__item">
|
<li class="block-list__item">
|
||||||
|
@ -4,13 +4,14 @@
|
|||||||
{% from "components/icon.html" import Icon %}
|
{% from "components/icon.html" import Icon %}
|
||||||
{% from "components/text_input.html" import TextInput %}
|
{% from "components/text_input.html" import TextInput %}
|
||||||
|
|
||||||
{% set secondary_breadcrumb = "navigation.portfolio_navigation.breadcrumbs.admin" | translate %}
|
{% set secondary_breadcrumb = "navigation.portfolio_navigation.portfolio_admin" | translate %}
|
||||||
|
|
||||||
{% block portfolio_content %}
|
{% block portfolio_content %}
|
||||||
|
|
||||||
{% include "fragments/flash.html" %}
|
{% include "fragments/flash.html" %}
|
||||||
|
|
||||||
<div v-cloak class="portfolio-admin">
|
<div v-cloak class="portfolio-admin portfolio-content">
|
||||||
|
|
||||||
|
|
||||||
<form method="POST" action="{{ url_for('portfolios.edit_portfolio', portfolio_id=portfolio.id) }}" autocomplete="false">
|
<form method="POST" action="{{ url_for('portfolios.edit_portfolio', portfolio_id=portfolio.id) }}" autocomplete="false">
|
||||||
{{ form.csrf_token }}
|
{{ form.csrf_token }}
|
||||||
@ -19,13 +20,12 @@
|
|||||||
{{ TextInput(form.name, validation="portfolioName") }}
|
{{ TextInput(form.name, validation="portfolioName") }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class='form-col form-col--half'>
|
|
||||||
<div class='edit-portfolio-name action-group'>
|
<div class='edit-portfolio-name action-group'>
|
||||||
<button type="submit" class="usa-button usa-button-big usa-button-primary" tabindex="0">Save</button>
|
<button type="submit" class="usa-button usa-button-big usa-button-primary" tabindex="0">Save</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
{% include "fragments/audit_events_log.html" %}
|
{% include "fragments/audit_events_log.html" %}
|
||||||
|
|
||||||
{{ Pagination(audit_events, 'portfolios.portfolio_activity', portfolio_id=portfolio_id) }}
|
{{ Pagination(audit_events, 'portfolios.portfolio_activity', portfolio_id=portfolio_id) }}
|
||||||
|
@ -304,6 +304,7 @@ navigation:
|
|||||||
applications: Applications
|
applications: Applications
|
||||||
portfolio_funding: Funding
|
portfolio_funding: Funding
|
||||||
portfolio_settings: Portfolio Settings
|
portfolio_settings: Portfolio Settings
|
||||||
|
portfolio_admin: Portfolio Administration
|
||||||
breadcrumbs:
|
breadcrumbs:
|
||||||
admin: Admin
|
admin: Admin
|
||||||
funding: Funding
|
funding: Funding
|
||||||
|
Loading…
x
Reference in New Issue
Block a user