Remove alert on reports page

This commit is contained in:
Patrick Smith 2019-02-08 11:00:53 -05:00
parent c5ebdf89a7
commit 43cb6477f1
2 changed files with 22 additions and 15 deletions

View File

@ -89,11 +89,7 @@
margin: 6 * $gap $gap 0 $gap; margin: 6 * $gap $gap 0 $gap;
} }
.portfolio-applications { @mixin subheading {
.portfolio-applications__header {
margin-bottom: 4 * $gap;
.portfolio-applications__header--title {
color: $color-gray-dark; color: $color-gray-dark;
padding: $gap 0; padding: $gap 0;
text-transform: uppercase; text-transform: uppercase;
@ -102,6 +98,14 @@
font-weight: bold; font-weight: bold;
} }
.portfolio-applications {
.portfolio-applications__header {
margin-bottom: 4 * $gap;
.portfolio-applications__header--title {
@include subheading;
}
.portfolio-applications__header--actions { .portfolio-applications__header--actions {
color: $color-blue; color: $color-blue;
font-size: $small-font-size; font-size: $small-font-size;
@ -281,3 +285,13 @@
} }
} }
} }
.portfolio-reports {
.portfolio-reports__header {
margin-bottom: 4 * $gap;
.portfolio-reports__header--title {
@include subheading;
}
}
}

View File

@ -1,6 +1,5 @@
{% extends "portfolios/base.html" %} {% extends "portfolios/base.html" %}
{% from "components/alert.html" import Alert %}
{% from "components/icon.html" import Icon %} {% from "components/icon.html" import Icon %}
{% from "components/empty_state.html" import EmptyState %} {% from "components/empty_state.html" import EmptyState %}
@ -8,13 +7,7 @@
{% block portfolio_content %} {% block portfolio_content %}
{{ Alert("Budget Report for Portfolio " + portfolio.name, <div class='portfolio-reports'>
message="<p>Track your monthly and cumulative expenditures for your portfolio, applications, and environments below.</p>\
<p>Please note that the projected spend is based on the <em>average expense over the last three completed months</em> and therefore does not account for future changes that might be made in scale or configuration of your cloud services.</p>",
actions=[
{"label": "Learn More", "href": url_for('atst.helpdocs'), "icon": "info"}
] ) }}
<div v-cloak class='funding-summary-row'> <div v-cloak class='funding-summary-row'>
<div class='funding-summary-row__col'> <div class='funding-summary-row__col'>
@ -442,7 +435,7 @@
</table> </table>
</spend-table> </spend-table>
</div> </div>
{% endif %} {% endif %}
</div>
{% endblock %} {% endblock %}