This commit is contained in:
j 2021-09-28 15:10:22 +02:00
commit 0508d8cd9a
53 changed files with 765 additions and 0 deletions

5
app/templates/about.html Normal file
View file

@ -0,0 +1,5 @@
{% extends "base.html" %}
{% block main %}
about page
{% endblock %}

32
app/templates/base.html Normal file
View file

@ -0,0 +1,32 @@
<!doctype html>{% load sass_tags static %}
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<title>
{% block title %}
Phantas.ma/polis 2021 Asian Art Biennial
{% endblock title %}
</title>
<link href="{% sass_src 'css/style.scss' %}" rel="stylesheet" type="text/css">
{% block head %}{% endblock head %}
</head>
<body>
<h1>
phtantasmapolis: Looking Back to the Future
<br>
未竟之城:回顧未來
</h1>
<nav>
<a href="{% url 'films'%}">films - 影片</a> |
<a href="{% url 'edits' %}">edits - 編輯</a> |
<a href="{% url 'tv' %}">tv - 頻道</a> |
<a href="{% url 'essays' %}">essays - 專文</a> |
<a href="{% url 'about' %}">about - 關於</a>
</nav>
<main>
{% block main %}{% endblock main %}
</main>
{% block end %}{% endblock end %}
</body>
</html>

4
app/templates/edit.html Normal file
View file

@ -0,0 +1,4 @@
{% extends "base.html" %}
{% block main %}
some overview page with stuff
{% endblock %}

View file

@ -0,0 +1,7 @@
{% extends "base.html" %}
{% block main %}
<h1>{{ edit.data.title }}</h1>
{% if edit.vimeo_id %}
<iframe src="https://player.vimeo.com/video/{{ edit.vimeo_id }}" width="640" height="564" frameborder="0" allow="autoplay; fullscreen" allowfullscreen></iframe>
{% endif %}
{% endblock %}

4
app/templates/edits.html Normal file
View file

@ -0,0 +1,4 @@
{% extends "base.html" %}
{% block main %}
some overview page with stuff
{% endblock %}

View file

@ -0,0 +1,4 @@
{% extends "base.html" %}
{% block main %}
some overview page with stuff
{% endblock %}

9
app/templates/film.html Normal file
View file

@ -0,0 +1,9 @@
{% extends "base.html" %}
{% block main %}
<video src="https://aab21.pad.ma/{{ film.padma_id }}/loop.mp4" autoplay loop muted></video>
<h1>{{ film.data.title | safe }}</h1>
<h2>{{ film.data.director|join:", "|safe }}</h2>
<p>{{ film.data.summary|safe }}</p>
{% endblock %}

View file

@ -0,0 +1,7 @@
{% extends "base.html" %}
{% block main %}
<h1>{{ film.data.title }}</h1>
{% if film.vimeo_id %}
<iframe src="https://player.vimeo.com/video/{{ film.vimeo_id }}" width="640" height="564" frameborder="0" allow="autoplay; fullscreen" allowfullscreen></iframe>
{% endif %}
{% endblock %}

10
app/templates/films.html Normal file
View file

@ -0,0 +1,10 @@
{% extends "base.html" %}
{% block main %}
some overview page with stuff
{% for film in films %}
<div class="film">
<a href="{% url 'film' film.slug %}">{{ film.data.title | safe }}</a>
<span>{{ film.data.director|join:", "|safe }}</span>
</div>
{% endfor %}
{% endblock %}

4
app/templates/index.html Normal file
View file

@ -0,0 +1,4 @@
{% extends "base.html" %}
{% block main %}
some overview page with stuff
{% endblock %}

5
app/templates/tv.html Normal file
View file

@ -0,0 +1,5 @@
{% extends "base.html" %}
{% block title %}TV{% endblock%}
{% block main %}
here be TV stuff
{% endblock %}