#121 Fancy spatial reference

* visual enhancement for spatial reference rendering
This commit is contained in:
mpeltriaux 2022-02-21 15:38:41 +01:00
parent 6e3a6d53d1
commit 95255ff3ea

View File

@ -1,8 +1,18 @@
{% load i18n %} {% load i18n fontawesome_5 %}
<div class="col-sm-12"> <div class="col-sm-12">
<h3>{% trans 'Spatial reference' %}</h3> <div class="card">
<div class="align-middle" hx-trigger="every 2s" hx-get="{% url 'geometry-parcels' geom_form.instance.geometry.id %}"> <div class="card-header rlp-r">
<span class="spinner-border rlp-r-inv" role="status"></span> <h5>
<span>{% trans 'Loading...' %}</span> {% fa5_icon 'search-location' %}
{% trans 'Spatial reference' %}
</h5>
</div>
<div class="card-body">
<div hx-trigger="every 2s" hx-get="{% url 'geometry-parcels' geom_form.instance.geometry.id %}" title="{% trans 'Loading...' %}">
<div class="row justify-content-center">
<span class="spinner-border rlp-r-inv" role="status"></span>
</div>
</div>
</div>
</div> </div>
</div> </div>