Remove use of hard coded font icon for document page rendering busy indicator.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2018-10-02 02:40:13 -04:00
parent da8c9d08d8
commit f6e39380af
3 changed files with 7 additions and 1 deletions

View File

@@ -5,6 +5,8 @@
* Update related links. Add links to the new Wiki and Forum. * Update related links. Add links to the new Wiki and Forum.
* Add Redis config entries in the Docker images to disable * Add Redis config entries in the Docker images to disable
saving the database and to only provision 1 database. saving the database and to only provision 1 database.
* Remove use of hard coded font icon for document page
rendering busy indicator.
3.1.3 (2018-09-27) 3.1.3 (2018-09-27)
================== ==================

View File

@@ -21,6 +21,9 @@ icon_dashboard_total_document = Icon(
icon_document_duplicates_list = Icon( icon_document_duplicates_list = Icon(
driver_name='fontawesome', symbol='clone' driver_name='fontawesome', symbol='clone'
) )
icon_document_image_loading = Icon(
driver_name='fontawesomecss', css_classes='far fa-clock fa-2x'
)
icon_document_list = Icon(driver_name='fontawesome', symbol='file') icon_document_list = Icon(driver_name='fontawesome', symbol='file')
icon_document_list_deleted = Icon(driver_name='fontawesome', symbol='trash') icon_document_list_deleted = Icon(driver_name='fontawesome', symbol='trash')
icon_document_list_favorites = Icon(driver_name='fontawesome', symbol='star') icon_document_list_favorites = Icon(driver_name='fontawesome', symbol='star')

View File

@@ -1,10 +1,11 @@
{% load appearance_tags %}
{% load documents_tags %} {% load documents_tags %}
<span class="instance-image-widget {{ container_class }}"> <span class="instance-image-widget {{ container_class }}">
<span class="spinner-container text-primary" <span class="spinner-container text-primary"
style="height: {% if display_full_height %}100%{% else %}{{ display_height|default:150 }}px{% endif %}; display: block;" style="height: {% if display_full_height %}100%{% else %}{{ display_height|default:150 }}px{% endif %}; display: block;"
> >
<i class="far fa-clock fa-2x"></i> {% get_icon 'documents.icons.icon_document_image_loading' %}
</span> </span>
<img <img
class="thin_border {{ image_classes }}" class="thin_border {{ image_classes }}"