work on admin ui

This commit is contained in:
bkfox
2019-09-05 18:55:44 +02:00
parent 3b82234cb8
commit b96f60e779
65 changed files with 314 additions and 817 deletions

View File

@ -1,4 +1,4 @@
{% extends "aircox/page.html" %}
{% extends "aircox/page_detail.html" %}
{% load i18n %}
{% block side_nav %}

View File

@ -1,6 +1,7 @@
{% load static i18n thumbnail aircox %}
{% comment %}
Context:
- cover: image cover
- site: current website
{% endcomment %}
<html>
@ -70,6 +71,7 @@ Context:
{% if show_side_nav %}
<aside class="column is-one-third-desktop">
{# FIXME: block cover into side_nav one #}
{% block cover %}
{% if cover is not None %}
<img class="cover" src="{{ cover.url }}" class="cover"/>

View File

@ -13,10 +13,7 @@
</div>
{% endblock %}
{% block main %}
{{ block.super }}
{% block main %}{{ block.super }}
{% with True as hide_schedule %}
<section>
{% unique_id "timetable" as timetable_id %}

View File

@ -1,8 +1,7 @@
{% extends "aircox/program_base.html" %}
{% load i18n %}
{% block header %}
{{ block.super }}
{% block header %}{{ block.super }}
<section class="is-size-5 has-text-weight-bold">
{% for diffusion in object.diffusion_set.all %}
@ -28,8 +27,7 @@
</section>
{% endblock %}
{% block main %}
{{ block.super }}
{% block content %}{{ block.super }}
{% if podcasts or tracks %}
<div class="columns is-desktop">

View File

@ -7,8 +7,6 @@
{% block main %}
{{ block.super }}
<section class="section">
{% if dates %}
<nav class="tabs is-medium is-centered" aria-label="{% trans "Other days' logs" %}">

View File

@ -7,13 +7,6 @@ Context:
- page: page
{% endcomment %}
{% block subtitle %}
{{ block.super }}
{% if page.category %}
<span class="column has-text-right">{{ page.category.title }}</span>
{% endif %}
{% endblock %}
{% block head_title %}
{% block title %}{{ title }}{% endblock %}
&mdash;
@ -21,11 +14,3 @@ Context:
{% endblock %}
{% block main %}
{% block content %}
{{ page.content|default_if_none:''|safe }}
{% endblock %}
{% endblock %}

View File

@ -1,4 +1,4 @@
{% extends "aircox/page.html" %}
{% extends "aircox/page_detail.html" %}
{% load i18n %}
{% block side_nav %}

View File

@ -7,8 +7,7 @@
{% endblock %}
{% block main %}
{{ block.super }}
{% block content %}{{ block.super }}
<br>