nicer styling for API
This commit is contained in:
parent
0b9fae7227
commit
55d125889f
3 changed files with 72 additions and 0 deletions
20
src/c3nav/api/templates/rest_framework/api.html
Normal file
20
src/c3nav/api/templates/rest_framework/api.html
Normal 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 %}
|
Loading…
Add table
Add a link
Reference in a new issue