diff --git a/netbox/netbox/graphql/views.py b/netbox/netbox/graphql/views.py index 18ed3843d..c2c0269fa 100644 --- a/netbox/netbox/graphql/views.py +++ b/netbox/netbox/graphql/views.py @@ -12,6 +12,8 @@ class GraphQLView(GraphQLView_): """ Extends graphene_django's GraphQLView to support DRF's token-based authentication. """ + graphiql_template = 'graphiql.html' + def dispatch(self, request, *args, **kwargs): # Enforce GRAPHQL_ENABLED diff --git a/netbox/project-static/img/graphql.ico b/netbox/project-static/img/graphql.ico new file mode 100644 index 000000000..4940291a2 Binary files /dev/null and b/netbox/project-static/img/graphql.ico differ diff --git a/netbox/project-static/img/rest-api.ico b/netbox/project-static/img/rest-api.ico new file mode 100644 index 000000000..8a9341ccb Binary files /dev/null and b/netbox/project-static/img/rest-api.ico differ diff --git a/netbox/templates/base/layout.html b/netbox/templates/base/layout.html index c7d8ca49b..e96ea299a 100644 --- a/netbox/templates/base/layout.html +++ b/netbox/templates/base/layout.html @@ -106,7 +106,6 @@ {# Docs & Community Links #}