api/templates/rest_framework/api.html
{% extends "rest_framework/base.html" %}
{% load url from future %}
{% load rest_framework %}
{% load static %}
{% block title %}SHARE Notify{% endblock %}
{% block style %}
{% block bootstrap_theme %}
<link rel="stylesheet" type="text/css" href="{% static "rest_framework/css/bootstrap.min.css" %}"/>
<link rel="stylesheet" type="text/css" href="{% static "rest_framework/css/bootstrap-tweaks.css" %}"/>
{% endblock %}
<link rel="stylesheet" type="text/css" href="{% static "rest_framework/css/prettify.css" %}"/>
<link rel="stylesheet" type="text/css" href="{% static "rest_framework/css/default.css" %}"/>
<link rel="stylesheet" type="text/css" href="{% static "css/api_custom.css" %}"/>
{% endblock %}
{% block branding %}
<img class="logo" src="{% static 'img/share.png' %}"/>
{% endblock %}
{% block userlinks %}
{{ block.super }}
{% if user.is_authenticated %}
<li><a href="{% url 'get-api-key' %}">Get API Key</a></li>
{% endif %}
{% endblock %}