mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
#6834: Add favicon to REST API web UI
This commit is contained in:
BIN
netbox/project-static/img/rest-api.ico
Normal file
BIN
netbox/project-static/img/rest-api.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 878 B |
@ -49,7 +49,7 @@
|
||||
|
||||
{# REST API #}
|
||||
<a type="button" class="nav-link" href="{% url 'api-root' %}" target="_blank">
|
||||
<i title="REST API" class="mdi mdi-code-braces text-primary" data-bs-placement="top" data-bs-toggle="tooltip"></i>
|
||||
<i title="REST API" class="mdi mdi-cloud-braces text-primary" data-bs-placement="top" data-bs-toggle="tooltip"></i>
|
||||
</a>
|
||||
|
||||
{# API docs #}
|
||||
|
@ -1,5 +1,11 @@
|
||||
{% extends 'rest_framework/base.html' %}
|
||||
{% load static %}
|
||||
|
||||
{% block head %}
|
||||
{{ block.super }}
|
||||
<link rel="icon" type="image/png" href="{% static 'rest-api.ico' %}" />
|
||||
{% endblock head %}
|
||||
|
||||
{% block branding %}
|
||||
<a class="navbar-brand" href="/{{ settings.BASE_PATH }}">NetBox</a>
|
||||
{% endblock %}
|
||||
<a class="navbar-brand" href="/{{ settings.BASE_PATH }}">NetBox</a>
|
||||
{% endblock branding %}
|
||||
|
Reference in New Issue
Block a user