Update alert button color

This commit is contained in:
luis cielak 2018-09-13 14:33:02 -04:00 committed by luisgov
parent 2307e41aac
commit 4e770773fe
3 changed files with 11 additions and 3 deletions

View File

@ -22,6 +22,14 @@
} @else if $level == 'warning' {
$background-color: $color-gold-lightest;
$border-color: $color-gold;
.usa-button {
background-color: $color-gold;
box-shadow: inset 0 0 0 2px $color-gold;
&:hover {
background-color: $color-gold-dark;
box-shadow: inset 0 0 0 2px $color-gold-dark;
}
}
} @else if $level == 'error' {
$background-color: $color-red-lightest;

View File

@ -18,7 +18,7 @@
<div class="panel__heading">
<h1>{% block heading %}{% endblock %}</h1>
<div class="subtitle"><h2>New Request</h2></div>
<div class="subtitle h2">New Request</div>
</div>
<div class="panel__content">

View File

@ -16,12 +16,12 @@
) }}
{% endif %}
{% if f.is_missing_task_order_number %}
{% if not f.is_missing_task_order_number %}
{% set extended_url = url_for('requests.financial_verification', request_id=request_id, extended=True) %}
{{ Alert('Task Order not found in EDA',
message="We could not find your Task Order in our system of record, EDA.
Please confirm that you have entered it correctly.<br>
<a class=\"usa-button usa-button-secondary\" href=\"%s\">Enter Task Order information manually</a>
<a class=\"usa-button\" href=\"%s\">Enter Task Order information manually</a>
"|format(extended_url),
level='warning'
) }}