moved images to img folder

This commit is contained in:
artus40
2017-09-21 17:51:44 +02:00
parent 1dfbbc7506
commit 2478e1b650
16 changed files with 16 additions and 16 deletions

View File

@@ -11,7 +11,7 @@
<!-- Navbar //-->
<nav class="navbar sticky-top navbar-expand-lg navbar-dark bg-dark justify-content-between">
<a class="navbar-brand mb-0 col-2" href="{% url "index" %}">
<img src="{% static "activity.svg" %}" height="30" width="30"/>
<img src="{% static "img/activity.svg" %}" height="30" width="30"/>
Cresus
</a>
<span class="navbar-text col-8 text-center">{% block page_title %}Titre{% endblock %}</span>
@@ -22,15 +22,15 @@
<div class="collapse navbar-collapse col-2" id="navbarMenu">
<div class="btn-group btn-group-sm mx-2" role="group" aria-label="Etiquettes">
<a class="btn btn-dark" href="{% url "etiquette-add" %}">
<img src="{% static "plus.svg" %}" height="18" width="18" />
<img src="{% static "img/plus.svg" %}" height="18" width="18" />
</a>
<a href="{% url "etiquette-list" %}" class="btn btn-dark px-2">
<img src="{% static "tag.svg" %}" />
<img src="{% static "img/tag.svg" %}" />
</a>
</div>
<div class="btn-group btn-group-sm mx-2" role="group" aria-label="Enregistrements récurrents">
<a class="btn btn-dark" href="{% url "recursif-add" %}"><img src="{% static "plus.svg" %}" height="18" width="18" /></a>
<a class="btn btn-dark" href="{% url "recursif-list" %}"><img src="{% static "repeat.svg" %}" /></a>
<a class="btn btn-dark" href="{% url "recursif-add" %}"><img src="{% static "img/plus.svg" %}" height="18" width="18" /></a>
<a class="btn btn-dark" href="{% url "recursif-list" %}"><img src="{% static "img/repeat.svg" %}" /></a>
</div> </div>
</nav>
<div class="container">

View File

@@ -13,7 +13,7 @@
<label class="control-label" for="id_montant">Montant</label>
<div class="input-group">
<span class="input-group-addon">
<img src="{% static "minus-square.svg"%}" />{{ form.est_negatif}}
<img src="{% static "img/minus-square.svg"%}" />{{ form.est_negatif}}
</span>
<input class="form-control" type="number" id="id_montant" name="montant" required />
</div>
@@ -31,7 +31,7 @@
</div>
</div>
<div class="form-row mt-3">
<button type="submit" class="btn btn-block btn-dark"><img src="{% static "plus.svg" %}" /> Ajouter</button>
<button type="submit" class="btn btn-block btn-dark"><img src="{% static "img/plus.svg" %}" /> Ajouter</button>
</div>
</form>
{% endblock %}

View File

@@ -14,8 +14,8 @@
<tr>
<td>{{ etiquette }}</td>
<td>
<a href="{% url "etiquette-update" pk=etiquette.pk %}"><img src="{% static "edit.svg" %}" /><span class="sr-only">Éditer</span></a>
<a href="{% url "etiquette-delete" pk=etiquette.pk %}"><img src="{% static "delete.svg" %}" /><span class="sr-only">Supprimer</span></a>
<a href="{% url "etiquette-update" pk=etiquette.pk %}"><img src="{% static "img/edit.svg" %}" /><span class="sr-only">Éditer</span></a>
<a href="{% url "etiquette-delete" pk=etiquette.pk %}"><img src="{% static "img/delete.svg" %}" /><span class="sr-only">Supprimer</span></a>
</td>
</tr>
{% endfor %}

View File

@@ -1,11 +1,11 @@
{% extends "core/base.html" %}
{% load bootstrap4 staticfiles %}
{% block page_title %}
<a href="{{ prev_month_url }}" class="btn btn-dark btn-sm"><img src="{% static "chevrons-left.svg" %}" /></a>
<a href="{{ prev_month_url }}" class="btn btn-dark btn-sm"><img src="{% static "img/chevrons-left.svg" %}" /></a>
Comptes de {{mois}} {{annee}}
<a href="{% url "add"%}?year={{year}}&month={{month}}" class="btn btn-dark btn-sm m-0"><img src="{% static "plus.svg" %}" /></a>
<a href="{% url "add"%}?year={{year}}&month={{month}}" class="btn btn-dark btn-sm m-0"><img src="{% static "img/plus.svg" %}" /></a>
{% if next_month_url %}
<a href="{{ next_month_url}}" class="btn btn-dark btn-sm"><img src="{% static "chevrons-right.svg" %}" /></a>
<a href="{{ next_month_url}}" class="btn btn-dark btn-sm"><img src="{% static "img/chevrons-right.svg" %}" /></a>
{% endif %}
{% endblock %}
{% block body_content %}
@@ -33,8 +33,8 @@
<strong>{{ d.montant }}</strong>
</td>
<td>
<a href="{% url "update" pk=d.pk %}"><img src="{% static "edit.svg" %}" /></a>
<a href="{% url "delete" pk=d.pk %}"><img src="{% static "delete.svg" %}" /></a>
<a href="{% url "update" pk=d.pk %}"><img src="{% static "img/edit.svg" %}" /></a>
<a href="{% url "delete" pk=d.pk %}"><img src="{% static "img/delete.svg" %}" /></a>
</td>
</tr>
{% endfor %}

View File

@@ -20,8 +20,8 @@
<td>{{ enr_rec.description }}</td>
<td>{{ enr_rec.etiquette }}</td>
<td>{{ enr_rec.montant }}</td>
<td><a href="{% url "recursif-update" pk=enr_rec.pk %}"><img src="{% static "edit.svg" %}" /><span class="sr-only">Éditer</span></a>
<a href="{% url "recursif-delete" pk=enr_rec.pk %}"><img src="{% static "delete.svg" %}" /><span class="sr-only">Supprimer</span></a></td>
<td><a href="{% url "recursif-update" pk=enr_rec.pk %}"><img src="{% static "img/edit.svg" %}" /><span class="sr-only">Éditer</span></a>
<a href="{% url "recursif-delete" pk=enr_rec.pk %}"><img src="{% static "img/delete.svg" %}" /><span class="sr-only">Supprimer</span></a></td>
</tr>
{% endfor %}
</table>