Changes after linting

This commit is contained in:
Lukáš Kucharczyk 2023-01-05 22:05:26 +01:00
parent 5ad0e52787
commit f2b08cd1cd
Signed by: lukas
SSH Key Fingerprint: SHA256:vMuSwvwAvcT6htVAioMP7rzzwMQNi3roESyhv+nAxeg
4 changed files with 59 additions and 57 deletions

View File

@ -6,7 +6,7 @@ RUN npm install && \
FROM python:3.10-slim-bullseye
ENV VERSION_NUMBER 0.1.0-39-gf7ec079
ENV VERSION_NUMBER 0.1.0-40-g5ad0e52
ENV PROD 1
RUN useradd --create-home --uid 1000 timetracker

View File

@ -1,13 +1,13 @@
{% extends 'base.html' %}
{% extends "base.html" %}
{% block title %}{{ title }}{% endblock title %}
{% block content %}
<form method="POST" enctype="multipart/form-data" class="mx-auto">
<form method="post" enctype="multipart/form-data" class="mx-auto">
{% csrf_token %}
{{ form.as_p }}
<input type="submit" value="Submit">
<input type="submit" value="Submit"/>
</form>
{% endblock content %}

View File

@ -4,10 +4,12 @@
{% load static %}
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8"/>
<meta name="description" content="Self-hosted time-tracker."/>
<meta name="keywords" content="time, tracking, video games, self-hosted"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Timetracker - {% block title %}Untitled{% endblock title %}</title>
<link rel="stylesheet" href="https://rsms.me/inter/inter.css">
<link rel="stylesheet" href="https://rsms.me/inter/inter.css"/>
<link rel="stylesheet" href="{% static 'base.css' %}" />
</head>
@ -37,7 +39,7 @@
</div>
</div>
</nav>
{% block content %}No content here.{% endblock %}
{% block content %}No content here.{% endblock content %}
</div>
{% load version %}
<span class="fixed left-2 bottom-2 text-xs text-slate-300 dark:text-slate-600">{% version %} ({% version_date %})</span>

View File

@ -1,4 +1,4 @@
{% extends 'base.html' %}
{% extends "base.html" %}
{% block title %}{{ title }}{% endblock title %}