Compare commits
13 commits
aead09ef42
...
09ce26af14
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
09ce26af14 | ||
|
|
7d0c6e8f97 | ||
|
|
1a9ba3e3f7 | ||
|
|
3171cfa808 | ||
|
|
fa50fc3d45 | ||
|
|
e665339a5c | ||
|
|
05fcc7d4cf | ||
|
|
a699f0b8be | ||
|
|
3a5a105a22 | ||
|
|
a2b43660e8 | ||
|
|
8d0bd23f31 | ||
|
|
b2fbd7bc9f | ||
|
|
1e0014b4ea |
|
|
@ -1,4 +1,4 @@
|
|||
<!--
|
||||
{#
|
||||
Barn Web App - A collection of web-apps for my family's personal use,
|
||||
including a recipe database.
|
||||
Copyright © 2023 Benjamin Stadlbauer
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
This program comes with a copy of the GNU Affero General Public License
|
||||
file at the root of this project.
|
||||
-->
|
||||
#}
|
||||
{% extends "base_main.html" %}
|
||||
{% block title %}{{ recipe.title }}{% endblock %}
|
||||
{% block main %}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<!--
|
||||
{#
|
||||
Barn Web App - A collection of web-apps for my family's personal use,
|
||||
including a recipe database.
|
||||
Copyright © 2023 Benjamin Stadlbauer
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
This program comes with a copy of the GNU Affero General Public License
|
||||
file at the root of this project.
|
||||
-->
|
||||
#}
|
||||
{% extends "base_main.html" %}
|
||||
{% block title %}{{ recipe.title }}{% endblock %}
|
||||
{% block main %}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<!--
|
||||
{#
|
||||
Barn Web App - A collection of web-apps for my family's personal use,
|
||||
including a recipe database.
|
||||
Copyright © 2023 Benjamin Stadlbauer
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
This program comes with a copy of the GNU Affero General Public License
|
||||
file at the root of this project.
|
||||
-->
|
||||
#}
|
||||
{% extends "base_main.html" %}
|
||||
{% block title %}{{ recipe.title }}{% endblock %}
|
||||
{% block main %}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<!--
|
||||
{#
|
||||
Barn Web App - A collection of web-apps for my family's personal use,
|
||||
including a recipe database.
|
||||
Copyright © 2023 Benjamin Stadlbauer
|
||||
|
|
@ -15,11 +15,11 @@
|
|||
|
||||
This program comes with a copy of the GNU Affero General Public License
|
||||
file at the root of this project.
|
||||
-->
|
||||
#}
|
||||
{% extends "base_main.html" %}
|
||||
{% block title %}{{ recipe.title }}{% endblock %}
|
||||
{% block main %}
|
||||
<form action="" method="post" id="edit-version-form"> <!-- TODO refactor with add-version.html-->
|
||||
<form action="" method="post" id="edit-version-form"> {# TODO refactor with add-version.html#}
|
||||
{%csrf_token %}
|
||||
<table>
|
||||
{{ version_form.as_table }}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<!--
|
||||
{#
|
||||
Barn Web App - A collection of web-apps for my family's personal use,
|
||||
including a recipe database.
|
||||
Copyright © 2023 Benjamin Stadlbauer
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
This program comes with a copy of the GNU Affero General Public License
|
||||
file at the root of this project.
|
||||
-->
|
||||
#}
|
||||
{% extends "base_main.html" %}
|
||||
{% block title %}{{ recipe.title }}{% endblock %}
|
||||
{% block main %}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<!--
|
||||
{#
|
||||
Barn Web App - A collection of web-apps for my family's personal use,
|
||||
including a recipe database.
|
||||
Copyright © 2023 Benjamin Stadlbauer
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
This program comes with a copy of the GNU Affero General Public License
|
||||
file at the root of this project.
|
||||
-->
|
||||
#}
|
||||
{% extends "base_main.html" %}
|
||||
{% block title %}Recipes{% endblock %}
|
||||
{% block main %}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<!--
|
||||
{#
|
||||
Barn Web App - A collection of web-apps for my family's personal use,
|
||||
including a recipe database.
|
||||
Copyright © 2023 Benjamin Stadlbauer
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
This program comes with a copy of the GNU Affero General Public License
|
||||
file at the root of this project.
|
||||
-->
|
||||
#}
|
||||
{% extends "base_main.html" %}
|
||||
{% block title %}{{ recipe.title }}{% endblock %}
|
||||
{% block main %}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<!--
|
||||
{#
|
||||
Barn Web App - A collection of web-apps for my family's personal use,
|
||||
including a recipe database.
|
||||
Copyright © 2023 Benjamin Stadlbauer
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
This program comes with a copy of the GNU Affero General Public License
|
||||
file at the root of this project.
|
||||
-->
|
||||
#}
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<!--
|
||||
{#
|
||||
Barn Web App - A collection of web-apps for my family's personal use,
|
||||
including a recipe database.
|
||||
Copyright © 2023 Benjamin Stadlbauer
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
This program comes with a copy of the GNU Affero General Public License
|
||||
file at the root of this project.
|
||||
-->
|
||||
#}
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block head %}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<!--
|
||||
{#
|
||||
Barn Web App - A collection of web-apps for my family's personal use,
|
||||
including a recipe database.
|
||||
Copyright © 2023 Benjamin Stadlbauer
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
This program comes with a copy of the GNU Affero General Public License
|
||||
file at the root of this project.
|
||||
-->
|
||||
#}
|
||||
{% extends "base_main.html" %}
|
||||
{% block title %}Barn{% endblock %}
|
||||
{% block main %}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<!--
|
||||
{#
|
||||
Barn Web App - A collection of web-apps for my family's personal use,
|
||||
including a recipe database.
|
||||
Copyright © 2023 Benjamin Stadlbauer
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
This program comes with a copy of the GNU Affero General Public License
|
||||
file at the root of this project.
|
||||
-->
|
||||
#}
|
||||
{% extends "base_main.html" %}
|
||||
|
||||
{% block main %}
|
||||
|
|
@ -38,17 +38,7 @@
|
|||
|
||||
<form action="{% url 'login' %}" method="post">
|
||||
{% csrf_token %}
|
||||
<table>
|
||||
<tr>
|
||||
<td>{{ form.username.label_tag }}</td>
|
||||
<td>{{ form.username }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ form.password.label_tag }}</td>
|
||||
<td>{{ form.password }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
{{ form.as_div }}
|
||||
<input type="submit" value="Login">
|
||||
<input type="hidden" name="next" value="{{ next }}">
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<!--
|
||||
{#
|
||||
Barn Web App - A collection of web-apps for my family's personal use,
|
||||
including a recipe database.
|
||||
Copyright © 2023 Benjamin Stadlbauer
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
This program comes with a copy of the GNU Affero General Public License
|
||||
file at the root of this project.
|
||||
-->
|
||||
#}
|
||||
{% extends "base_main.html" %}
|
||||
|
||||
{% block main %}
|
||||
|
|
@ -34,28 +34,7 @@
|
|||
|
||||
<form method="post" action="{% url 'new-user' %}">
|
||||
{% csrf_token %}
|
||||
<table>
|
||||
<tr>
|
||||
<td>{{ form.username.label_tag }}</td>
|
||||
<td>{{ form.username }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ form.first_name.label_tag }}</td>
|
||||
<td>{{ form.first_name }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ form.last_name.label_tag }}</td>
|
||||
<td>{{ form.last_name }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ form.password1.label_tag }}</td>
|
||||
<td>{{ form.password1 }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ form.password2.label_tag }}</td>
|
||||
<td>{{ form.password2 }}</td>
|
||||
</tr>
|
||||
</table>
|
||||
{{ form.as_div }}
|
||||
<input type="submit" value="Create account">
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<!--
|
||||
{#
|
||||
Barn Web App - A collection of web-apps for my family's personal use,
|
||||
including a recipe database.
|
||||
Copyright © 2023 Benjamin Stadlbauer
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
This program comes with a copy of the GNU Affero General Public License
|
||||
file at the root of this project.
|
||||
-->
|
||||
#}
|
||||
{% extends "base_main.html" %}
|
||||
{% block title %}Profile {{ user.username }}{% endblock %}
|
||||
{% block main %}
|
||||
|
|
|
|||
Loading…
Reference in a new issue