eye instead of button view

This commit is contained in:
Cayo Puigdefabregas 2023-11-22 12:53:10 +01:00
parent 6f29ce32fa
commit 4a884fa00d
5 changed files with 5 additions and 9 deletions

View File

@ -28,7 +28,7 @@
<td>{{ f.get_issued_on }}</td> <td>{{ f.get_issued_on }}</td>
<td class="text-center">{{ f.get_status }}</td> <td class="text-center">{{ f.get_status }}</td>
<td>{{ f.user.email }}</td> <td>{{ f.user.email }}</td>
<td><a href="{% url 'idhub:admin_credential' f.id %}" class="btn btn-green-admin">{% trans 'View' %}</a></td> <td><a href="{% url 'idhub:admin_credential' f.id %}" class="text-primary" title="{% trans 'View' %}"><i class="bi bi-eye"></i></a></td>
</tr> </tr>
{% endfor %} {% endfor %}
</tbody> </tbody>

View File

@ -30,7 +30,7 @@
<td class="text-center"> <td class="text-center">
{{ user.get_roles }} {{ user.get_roles }}
</td> </td>
<td><a type="button" class="btn btn-green-admin rounded-pill" href="{% url 'idhub:admin_people' user.id %}">{% trans 'View' %}</td> <td><a type="button" class="text-primary" href="{% url 'idhub:admin_people' user.id %}" title="{% trans 'View' %}"><i class="bi bi-eye"></i></td>
</tr> </tr>
{% endfor %} {% endfor %}
</tbody> </tbody>

View File

@ -27,7 +27,7 @@
<td>{{ schema.file_schema }}</td> <td>{{ schema.file_schema }}</td>
<td>{{ schema.name }}</td> <td>{{ schema.name }}</td>
<td>{{ schema.description }}</td> <td>{{ schema.description }}</td>
<td><a class="btn btn-green-admin" href="{% url 'idhub:admin_schemas_download' schema.id %}" target="_blank" title="{% trans 'View' %}">{% trans 'View' %}</a></td> <td><a class="text-primary" href="{% url 'idhub:admin_schemas_download' schema.id %}" target="_blank" title="{% trans 'View' %}"><i class="bi bi-eye"></i></a></td>
<td><a class="text-danger" href="jacascript:void()" data-bs-toggle="modal" data-bs-target="#confirm-delete-{{ schema.id }}" title="{% trans 'Remove' %}"><i class="bi bi-x-circle"></i></a></td> <td><a class="text-danger" href="jacascript:void()" data-bs-toggle="modal" data-bs-target="#confirm-delete-{{ schema.id }}" title="{% trans 'Remove' %}"><i class="bi bi-x-circle"></i></a></td>
</tr> </tr>
{% endfor %} {% endfor %}

View File

@ -27,9 +27,7 @@
<td>{{ f.get_issued_on }}</td> <td>{{ f.get_issued_on }}</td>
<td class="text-center">{{ f.get_status }}</td> <td class="text-center">{{ f.get_status }}</td>
<td> <td>
<a href="{% url 'idhub:user_credential' f.id %}" class="btn btn-green-user rounded-pill"> <a href="{% url 'idhub:user_credential' f.id %}" class="text-primary" title="{% trans 'View' %}"><i class="bi bi-eye"></i></a>
{% trans 'View' %}
</a>
</td> </td>
</tr> </tr>
{% endfor %} {% endfor %}

View File

@ -53,9 +53,7 @@
<td>{{ membership.start_date|default:'' }}</td> <td>{{ membership.start_date|default:'' }}</td>
<td>{{ membership.end_date|default:'' }}</td> <td>{{ membership.end_date|default:'' }}</td>
<td> <td>
<a href="javascript:void()" class="btn btn-green-user rounded-pill"> <a href="javascript:void()" class="text-primary" title="{% trans 'View' %}"><i class="bi bi-eye"></i></a>
{% trans 'View' %}
</a>
</td> </td>
</tr> </tr>
{% endfor %} {% endfor %}