cachebusting and templating

This commit is contained in:
xenofem 2022-05-26 14:43:03 -04:00
parent b90220da22
commit 4f9d46cc28
8 changed files with 214 additions and 206 deletions

24
templates/404.html Normal file
View file

@ -0,0 +1,24 @@
{% extends "base.html" %}
{% block title %}Download not found - transbeam{% endblock %}
{% block head %}
<script src="js/download-landing.js?{{ cachebuster }}"></script>
{% endblock %}
{% block body %}
<div id="download" class="section">
<h3>The download code you entered wasn't found. The download may have expired.</h3>
<form id="download_form" action="download" method="get">
<div>
<label>
<input type="text" id="download_code_input" name="code" placeholder="Download code"/>
</label>
</div>
<input id="download_button" type="submit" value="Download"/>
</form>
</div>
<div class="section">
<a href="./"><h3>&lt; Back</h3></a>
</div>
{% endblock %}