nicer styling for API

This commit is contained in:
Laura Klünder 2016-09-12 01:56:02 +02:00
parent 0b9fae7227
commit 55d125889f
3 changed files with 72 additions and 0 deletions

View file

@ -0,0 +1,20 @@
{% extends "rest_framework/base.html" %}
{% load static %}
{% load compress %}
{% block title %}{% if name %}{{ name }} {% endif %}c3nav API{% endblock %}
{% block bootstrap_navbar_variant %}{% endblock %}
{% block style %}
{% compress css %}
<link href="{% static 'bootstrap/css/bootstrap.css' %}" rel="stylesheet">
<link href="{% static 'rest_framework/css/prettify.css' %}" rel="stylesheet">
<link href="{% static 'rest_framework/css/default.css' %}" rel="stylesheet">
<link href="{% static 'api/css/style.css' %}" rel="stylesheet">
{% endcompress %}
{% endblock %}
{% block branding %}
<span class="navbar-brand">c3nav API</span>
{% endblock %}