Sticky styling
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
{% block portfolio_header %}
|
||||
{% include "portfolios/header.html" %}
|
||||
{% endblock %}
|
||||
|
||||
<div class='portfolio-content'>
|
||||
{% block portfolio_content %}{% endblock %}
|
||||
</div>
|
||||
|
@@ -63,13 +63,12 @@
|
||||
</div>
|
||||
{% endmacro %}
|
||||
|
||||
<div class="portfolio-funding">
|
||||
|
||||
{% call StickyCTA(text="Funding") %}
|
||||
<div class='portfolio-funding__header row'>
|
||||
<a href="{{ url_for("task_orders.edit", portfolio_id=portfolio.id) }}" class="usa-button">Add a new task order</a>
|
||||
</div>
|
||||
{% endcall %}
|
||||
{% call StickyCTA(text="Funding") %}
|
||||
<a href="{{ url_for("task_orders.edit", portfolio_id=portfolio.id) }}" class="usa-button usa-button-primary">Start a new task order</a>
|
||||
{% endcall %}
|
||||
|
||||
<div class="portfolio-funding">
|
||||
|
||||
{% if not active_task_orders and not pending_task_orders %}
|
||||
{{ EmptyState(
|
||||
|
@@ -1,12 +1,16 @@
|
||||
{% extends 'portfolios/base.html' %}
|
||||
|
||||
{% from "components/icon.html" import Icon %}
|
||||
{% from "components/totals_box.html" import TotalsBox %}
|
||||
{% from "components/sticky_cta.html" import StickyCTA %}
|
||||
|
||||
{% block content %}
|
||||
{% extends 'portfolios/base.html' %}
|
||||
|
||||
{% block portfolio_content %}
|
||||
{% call StickyCTA(text="Review Funding") %}
|
||||
<a href="{{ url_for("task_orders.edit", portfolio_id=portfolio.id) }}" class="usa-button">Edit</a>
|
||||
<a href="{{ url_for("task_orders.edit", portfolio_id=portfolio.id) }}" class="usa-button">Submit task order</a>
|
||||
{% endcall %}
|
||||
|
||||
<div class="task-order-summary">
|
||||
<div class="h2">Portfolio Name</div>
|
||||
|
||||
<semi-collapsible-text inline-template>
|
||||
<div>
|
||||
|
Reference in New Issue
Block a user