forked from rc/aircox
migrate to vue3; autocomplete still needs work
This commit is contained in:
@ -4,16 +4,17 @@
|
||||
<head>
|
||||
<title>{% block title %}{% endblock %}</title>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="{% static "aircox/vendor.css" %}">
|
||||
<!-- <link rel="stylesheet" type="text/css" href="{% static "aircox/vendor.css" %}"> -->
|
||||
<link rel="stylesheet" type="text/css" href="{% static "admin/css/base.css" %}">
|
||||
|
||||
<script src="{% static "aircox/main.js" %}"></script>
|
||||
<script src="{% static "aircox/vendor.js" %}"></script>
|
||||
<script src="{% static "aircox/admin.js" %}"></script>
|
||||
<script src="{% static "aircox/public.js" %}"></script>
|
||||
|
||||
{% block extrastyle %}{% endblock %}
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="{% static "aircox/main.css" %}">
|
||||
<link rel="stylesheet" type="text/css" href="{% static "aircox/vendor.css" %}"/>
|
||||
<link rel="stylesheet" type="text/css" href="{% static "aircox/main.css" %}"/>
|
||||
<link rel="stylesheet" type="text/css" href="{% static "aircox/admin.css" %}">
|
||||
|
||||
{% if LANGUAGE_BIDI %}<link rel="stylesheet" type="text/css" href="{% block stylesheet_rtl %}{% static "admin/css/rtl.css" %}{% endblock %}">{% endif %}
|
||||
@ -30,6 +31,13 @@
|
||||
|
||||
<body class="{% if is_popup %}popup {% endif %}{% block bodyclass %}{% endblock %}"
|
||||
data-admin-utc-offset="{% now "Z" %}">
|
||||
<script id="init-script">
|
||||
window.addEventListener('load', function() {
|
||||
{% block init-scripts %}
|
||||
aircox.init({}, {config: window.AdminApp})
|
||||
{% endblock %}
|
||||
})
|
||||
</script>
|
||||
|
||||
<!-- Container -->
|
||||
<div>
|
||||
@ -173,7 +181,9 @@
|
||||
</div>
|
||||
<!-- END Container -->
|
||||
|
||||
{% block outside_bottom %}{% endblock %}
|
||||
{% block player %}
|
||||
<div id="player">{% include "aircox/widgets/player.html" %}</div>
|
||||
{% endblock %}
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
@ -39,6 +39,14 @@ Usefull context:
|
||||
{% block head_extra %}{% endblock %}
|
||||
</head>
|
||||
<body>
|
||||
<script id="init-script">
|
||||
window.addEventListener('load', function() {
|
||||
{% block init-scripts %}
|
||||
aircox.init()
|
||||
aircox.app.enableHotReload(window)
|
||||
{% endblock %}
|
||||
})
|
||||
</script>
|
||||
<div id="app">
|
||||
<nav class="navbar has-shadow" role="navigation" aria-label="main navigation">
|
||||
<div class="container">
|
||||
|
18
aircox/templates/aircox/episode_list.html
Normal file
18
aircox/templates/aircox/episode_list.html
Normal file
@ -0,0 +1,18 @@
|
||||
{% extends "aircox/page_list.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block filters %}
|
||||
{{ block.super }}
|
||||
<div class="field is-horizontal">
|
||||
<div class="field-label">
|
||||
<label class="label">{% trans "Podcasts" %}</label>
|
||||
</div>
|
||||
<div class="field-body">
|
||||
<div class="checkbox">
|
||||
<input type="checkbox" class="checkbox" name="podcast" value="True"
|
||||
{% if filterset_data.podcast %}checked{% endif %} />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user