Styling
This commit is contained in:
parent
6a8d4964d4
commit
be44d5f8db
@ -90,9 +90,19 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.column-left {
|
||||||
|
width: 12.5rem;
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.column-right {
|
||||||
|
margin-left: -.4rem;
|
||||||
|
}
|
||||||
|
|
||||||
.cents {
|
.cents {
|
||||||
font-size: 2rem;
|
font-size: 2rem;
|
||||||
margin-top: .75rem;
|
margin-top: .75rem;
|
||||||
|
margin-left: -.7rem;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -15,10 +15,13 @@
|
|||||||
{{ secondary_breadcrumb or portfolio.name }}
|
{{ secondary_breadcrumb or portfolio.name }}
|
||||||
</div>
|
</div>
|
||||||
<div class='portfolio-header__budget row'>
|
<div class='portfolio-header__budget row'>
|
||||||
|
<div class='column-left'>
|
||||||
<span>Available budget</span>
|
<span>Available budget</span>
|
||||||
<button type="button" tabindex="0" class="icon-tooltip" v-tooltip.right="{content: 'The available budget shown includes the available budget of all active task orders', container: false}">
|
<button type="button" tabindex="0" class="icon-tooltip" v-tooltip.right="{content: 'The available budget shown includes the available budget of all active task orders', container: false}">
|
||||||
{{ Icon('info') }}
|
{{ Icon('info') }}
|
||||||
</button>
|
</button>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
<span class='portfolio-header__budget--dollars'>
|
<span class='portfolio-header__budget--dollars'>
|
||||||
{{ portfolio.task_orders | selectattr('is_active') | sum(attribute='budget') | justDollars }}
|
{{ portfolio.task_orders | selectattr('is_active') | sum(attribute='budget') | justDollars }}
|
||||||
</span>
|
</span>
|
||||||
@ -26,7 +29,10 @@
|
|||||||
{{ portfolio.task_orders | selectattr('is_active') | sum(attribute='budget') | justCents }}
|
{{ portfolio.task_orders | selectattr('is_active') | sum(attribute='budget') | justCents }}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class='portfolio-funding__header--funded-through {{ "funded" if funding_end_date is not none and funded else "unfunded"}}'>
|
</div>
|
||||||
|
<div class='row'>
|
||||||
|
<div class='column-left'></div>
|
||||||
|
<div class='column-right portfolio-funding__header--funded-through {{ "funded" if funding_end_date is not none and funded else "unfunded"}}'>
|
||||||
{% if funding_end_date and funded %}
|
{% if funding_end_date and funded %}
|
||||||
{{ Icon('ok') }}
|
{{ Icon('ok') }}
|
||||||
Funded through
|
Funded through
|
||||||
@ -44,6 +50,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<div class='row links'>
|
<div class='row links'>
|
||||||
{% if user_can(permissions.VIEW_USAGE_DOLLARS) %}
|
{% if user_can(permissions.VIEW_USAGE_DOLLARS) %}
|
||||||
{{ Link(
|
{{ Link(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user