Animate hourglass icons

This commit is contained in:
Oliver Walters 2020-09-19 21:26:34 +10:00
parent b9594db832
commit b30754f561
9 changed files with 8 additions and 23 deletions

View File

@ -4,7 +4,7 @@
{% block collapse_title %} {% block collapse_title %}
<span class='fas fa-times-circle icon-header'></span> <span class='fas fa-times-circle icon-header'></span>
{% trans "BOM Waiting Validation" %}<span class='badge' id='bom-invalid-count'><span class='fas fa-hourglass-half'></span></span> {% trans "BOM Waiting Validation" %}<span class='badge' id='bom-invalid-count'><span class='fas fa-spin fa-hourglass-half'></span></span>
{% endblock %} {% endblock %}
{% block collapse_content %} {% block collapse_content %}

View File

@ -4,7 +4,7 @@
{% block collapse_title %} {% block collapse_title %}
<span class='fas fa-cogs icon-header'></span> <span class='fas fa-cogs icon-header'></span>
{% trans "Pending Builds" %}<span class='badge' id='build-pending-count'><span class='fas fa-hourglass-half'></span></span> {% trans "Pending Builds" %}<span class='badge' id='build-pending-count'><span class='fas fa-spin fa-hourglass-half'></span></span>
{% endblock %} {% endblock %}
{% block collapse_content %} {% block collapse_content %}

View File

@ -4,7 +4,7 @@
{% block collapse_title %} {% block collapse_title %}
<span class='fas fa-newspaper icon-header'></span> <span class='fas fa-newspaper icon-header'></span>
{% trans "Latest Parts" %}<span class='badge' id='latest-parts-count'><span class='fas fa-hourglass-half'></span></span> {% trans "Latest Parts" %}<span class='badge' id='latest-parts-count'><span class='fas fa-spin fa-hourglass-half'></span></span>
{% endblock %} {% endblock %}
{% block collapse_content %} {% block collapse_content %}

View File

@ -4,7 +4,7 @@
{% block collapse_title %} {% block collapse_title %}
<span class='fas fa-shopping-cart icon-header'></span> <span class='fas fa-shopping-cart icon-header'></span>
{% trans "Low Stock" %}<span class='badge' id='low-stock-count'><span class='fas fa-hourglass-half'></span></span> {% trans "Low Stock" %}<span class='badge' id='low-stock-count'><span class='fas fa-spin fa-hourglass-half'></span></span>
{% endblock %} {% endblock %}
{% block collapse_content %} {% block collapse_content %}

View File

@ -1,15 +0,0 @@
{% extends "collapse.html" %}
{% block collapse_title %}
<span class='fas fa-tools icon-header'></span>
Parts to Build<span class='badge'>{{ to_build | length }}</span>
{% endblock %}
{% block collapse_heading %}
There are {{ to_build | length }} parts which need building.
{% endblock %}
{% block collapse_content %}
{% include "required_part_table.html" with parts=to_build table_id="to-build-table" %}
{% endblock %}

View File

@ -4,7 +4,7 @@
{% block collapse_title %} {% block collapse_title %}
<span class='fas fa-sign-in-alt icon-header'></span> <span class='fas fa-sign-in-alt icon-header'></span>
{% trans "Outstanding Purchase Orders" %}<span class='badge' id='po-outstanding-count'><span class='fas fa-hourglass-half'></span></span> {% trans "Outstanding Purchase Orders" %}<span class='badge' id='po-outstanding-count'><span class='fas fa-spin fa-hourglass-half'></span></span>
{% endblock %} {% endblock %}
{% block collapse_content %} {% block collapse_content %}

View File

@ -4,7 +4,7 @@
{% block collapse_title %} {% block collapse_title %}
<span class='fas fa-bullhorn icon-header'></span> <span class='fas fa-bullhorn icon-header'></span>
{% trans "Require Stock To Complete Build" %}<span class='badge' id='stock-to-build-count'><span class='fas fa-hourglass-half'></span></span> {% trans "Require Stock To Complete Build" %}<span class='badge' id='stock-to-build-count'><span class='fas fa-spin fa-hourglass-half'></span></span>
{% endblock %} {% endblock %}
{% block collapse_content %} {% block collapse_content %}

View File

@ -4,7 +4,7 @@
{% block collapse_title %} {% block collapse_title %}
<span class='fas fa-sign-out-alt icon-header'></span> <span class='fas fa-sign-out-alt icon-header'></span>
{% trans "Outstanding Sales Orders" %}<span class='badge' id='so-outstanding-count'><span class='fas fa-hourglass-half'></span></span> {% trans "Outstanding Sales Orders" %}<span class='badge' id='so-outstanding-count'><span class='fas fa-spin fa-hourglass-half'></span></span>
{% endblock %} {% endblock %}
{% block collapse_content %} {% block collapse_content %}

View File

@ -4,7 +4,7 @@
{% block collapse_title %} {% block collapse_title %}
<span class='fas fa-star icon-header'></span> <span class='fas fa-star icon-header'></span>
{% trans "Starred Parts" %}<span class='badge' id='starred-parts-count'><span class='fas fa-hourglass-half'></span></span> {% trans "Starred Parts" %}<span class='badge' id='starred-parts-count'><span class='fas fa-spin fa-hourglass-half'></span></span>
{% endblock %} {% endblock %}
{% block collapse_content %} {% block collapse_content %}