diff --git a/caps/static/scss/api.scss b/caps/static/scss/api.scss new file mode 100644 index 000000000..02282a8e6 --- /dev/null +++ b/caps/static/scss/api.scss @@ -0,0 +1,13 @@ +ul.breadcrumb { + li + li { + ::before { + padding: 0 5px; + color: #ccc; + content: "/\00a0"; + } + } +} + +.pull-right { + float: right !important; +} diff --git a/caps/static/scss/main.scss b/caps/static/scss/main.scss index 8197bea8c..d46620374 100644 --- a/caps/static/scss/main.scss +++ b/caps/static/scss/main.scss @@ -32,14 +32,14 @@ @import "../bootstrap/forms"; @import "../bootstrap/buttons"; @import "../bootstrap/transitions"; -// @import "../bootstrap/dropdown"; -// @import "../bootstrap/button-group"; +@import "../bootstrap/dropdown"; +@import "../bootstrap/button-group"; // @import "../bootstrap/input-group"; // @import "../bootstrap/custom-forms"; @import "../bootstrap/nav"; @import "../bootstrap/navbar"; @import "../bootstrap/card"; -// @import "../bootstrap/breadcrumb"; +@import "../bootstrap/breadcrumb"; // @import "../bootstrap/pagination"; @import "../bootstrap/badge"; // @import "../bootstrap/jumbotron"; @@ -83,3 +83,4 @@ @import "homepage"; @import "council-powers"; @import "net-zero-local-hero"; +@import "api"; diff --git a/templates/rest_framework/api.html b/templates/rest_framework/api.html index 254ce1012..675ed70a4 100644 --- a/templates/rest_framework/api.html +++ b/templates/rest_framework/api.html @@ -2,9 +2,32 @@ {% load static %} {% load pipeline %} +{% load bootstrap4 %} -{% block title %}CAPS API{% endblock %} +{% block bootstrap_theme %} + {% stylesheet 'main' %} +{% endblock %} + +{% block script %} +{% bootstrap_javascript jquery='full' %} +{% endblock %} + +{% block title %}Climate Action Plan Explorer API{% endblock %} -{% block branding %} -DATA API +{% block navbar %} + {% include 'includes/site-header.html' %} +