Replace Glyphicons with Material Design

This commit is contained in:
Jeremy Stretch
2020-11-06 14:49:14 -05:00
parent c16a1791ae
commit 9d4b9b7f85
42 changed files with 136 additions and 136 deletions

View File

@@ -16,12 +16,12 @@
</a>
{% if perms.ipam.change_service %}
<a href="{% url 'ipam:service_edit' pk=service.pk %}?return_url={{ service.parent.get_absolute_url }}" class="btn btn-info btn-xs" title="Edit service">
<i class="glyphicon glyphicon-pencil"></i>
<i class="mdi mdi-pencil"></i>
</a>
{% endif %}
{% if perms.ipam.delete_service %}
<a href="{% url 'ipam:service_delete' pk=service.pk %}?return_url={{ service.parent.get_absolute_url }}" class="btn btn-danger btn-xs">
<i class="glyphicon glyphicon-trash" title="Delete service"></i>
<i class="mdi mdi-trash-can-outline" title="Delete service"></i>
</a>
{% endif %}
</td>

View File

@@ -175,9 +175,9 @@
<td>Is a pool</td>
<td>
{% if prefix.is_pool %}
<i class="glyphicon glyphicon-ok text-success" title="Yes"></i>
<i class="mdi mdi-check-bold text-success" title="Yes"></i>
{% else %}
<i class="glyphicon glyphicon-remove text-danger" title="No"></i>
<i class="mdi mdi-close-thick text-danger" title="No"></i>
{% endif %}
</td>
</tr>

View File

@@ -155,7 +155,7 @@
{% if perms.ipam.add_prefix %}
<div class="panel-footer text-right noprint">
<a href="{% url 'ipam:prefix_add' %}?{% if vlan.tenant %}tenant={{ vlan.tenant.pk }}&{% endif %}site={{ vlan.site.pk }}&vlan={{ vlan.pk }}" class="btn btn-primary btn-xs">
<span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
<span class="mdi mdi-plus-thick" aria-hidden="true"></span>
Add a prefix
</a>
</div>

View File

@@ -80,9 +80,9 @@
<td>Unique IP Space</td>
<td>
{% if vrf.enforce_unique %}
<i class="glyphicon glyphicon-ok text-success" title="Yes"></i>
<i class="mdi mdi-check-bold text-success" title="Yes"></i>
{% else %}
<i class="glyphicon glyphicon-remove text-danger" title="No"></i>
<i class="mdi mdi-close-thick text-danger" title="No"></i>
{% endif %}
</td>
</tr>