Remove uses of inline-styles

This commit is contained in:
Ryan Ahearn
2023-03-07 17:15:31 -05:00
parent 2a6bc62003
commit 73a3511ef2
11 changed files with 50 additions and 18 deletions

View File

@@ -15,14 +15,14 @@
) }}
</div>
<div id="total-email" class="govuk-grid-column-one-half">
<span class="big-number-with-status">
<a class="govuk-link govuk-link--no-visited-state big-number-link" style="background-color: gray; border-color: gray;">
<span class="big-number-with-status pilot-disabled">
<a class="govuk-link govuk-link--no-visited-state big-number-link">
<span class="big-number-smaller">
<span class="big-number-number" style="color: lightgray;">0</span>
<span class="big-number-label" style="color: lightgray;">emails sent</span>
<span class="big-number-number">0</span>
<span class="big-number-label">emails sent</span>
</span>
</a>
<span class="big-number-status" style="background-color: gray; border-color: gray; color: lightgray;">No failures</span>
<span class="big-number-status">No failures</span>
</span>
</div>
</div>

View File

@@ -15,8 +15,8 @@
{% endif %}
</div>
</div>
<div class='govuk-grid-column-one-half'>
<div class="keyline-block" style="color: gray;">
<div class='govuk-grid-column-one-half pilot-disabled'>
<div class="keyline-block">
{{ big_number("0", 'email disabled during SMS pilot', smaller=True) }}
</div>
</div>

View File

@@ -46,7 +46,7 @@
{{ 1|message_count_label(item.type, suffix='template')|capitalize }}
</span>
{% endcall %}
{{ spark_bar_field(item.requested_count, most_used_template_count) }}
{{ spark_bar_field(item.requested_count, most_used_template_count, id=item.id) }}
{% endcall %}
</div>
{% endif %}

View File

@@ -80,8 +80,8 @@
{% endif %}
</div>
<div class="bottom-gutter-1-2" style="display:none">
<!--<div class="bottom-gutter-1-2">
{{ copy_to_clipboard(template.id, name="Template ID", thing='template ID') }}
</div>
</div>-->
{% endblock %}

View File

@@ -38,9 +38,9 @@
{% endfor %}
</div>
</div>
<div class='govuk-grid-column-one-half'>
<h2 class='heading-small' style="color: gray;">Emails</h2>
<div class="keyline-block" style="color: gray;">
<div class='govuk-grid-column-one-half pilot-disabled'>
<h2 class='heading-small'>Emails</h2>
<div class="keyline-block">
{{ big_number(emails_sent, 'email disabled during SMS pilot', smaller=True) }}
{{ big_number("", '', smaller=True) }}
</div>