Compare commits
12 commits
09ce26af14
...
aead09ef42
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aead09ef42 | ||
|
|
8df693a05d | ||
|
|
9509d02508 | ||
|
|
ffa1f3c0d2 | ||
|
|
efc2b1f390 | ||
|
|
69b1ee1d2d | ||
|
|
a528b17ff5 | ||
|
|
81baffde98 | ||
|
|
39963b8161 | ||
|
|
2955010907 | ||
|
|
1c039d403e | ||
|
|
98ee7de8cb |
|
|
@ -1,4 +1,4 @@
|
||||||
{#
|
<!--
|
||||||
Barn Web App - A collection of web-apps for my family's personal use,
|
Barn Web App - A collection of web-apps for my family's personal use,
|
||||||
including a recipe database.
|
including a recipe database.
|
||||||
Copyright © 2023 Benjamin Stadlbauer
|
Copyright © 2023 Benjamin Stadlbauer
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
This program comes with a copy of the GNU Affero General Public License
|
This program comes with a copy of the GNU Affero General Public License
|
||||||
file at the root of this project.
|
file at the root of this project.
|
||||||
#}
|
-->
|
||||||
{% extends "base_main.html" %}
|
{% extends "base_main.html" %}
|
||||||
{% block title %}{{ recipe.title }}{% endblock %}
|
{% block title %}{{ recipe.title }}{% endblock %}
|
||||||
{% block main %}
|
{% block main %}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{#
|
<!--
|
||||||
Barn Web App - A collection of web-apps for my family's personal use,
|
Barn Web App - A collection of web-apps for my family's personal use,
|
||||||
including a recipe database.
|
including a recipe database.
|
||||||
Copyright © 2023 Benjamin Stadlbauer
|
Copyright © 2023 Benjamin Stadlbauer
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
This program comes with a copy of the GNU Affero General Public License
|
This program comes with a copy of the GNU Affero General Public License
|
||||||
file at the root of this project.
|
file at the root of this project.
|
||||||
#}
|
-->
|
||||||
{% extends "base_main.html" %}
|
{% extends "base_main.html" %}
|
||||||
{% block title %}{{ recipe.title }}{% endblock %}
|
{% block title %}{{ recipe.title }}{% endblock %}
|
||||||
{% block main %}
|
{% block main %}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{#
|
<!--
|
||||||
Barn Web App - A collection of web-apps for my family's personal use,
|
Barn Web App - A collection of web-apps for my family's personal use,
|
||||||
including a recipe database.
|
including a recipe database.
|
||||||
Copyright © 2023 Benjamin Stadlbauer
|
Copyright © 2023 Benjamin Stadlbauer
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
This program comes with a copy of the GNU Affero General Public License
|
This program comes with a copy of the GNU Affero General Public License
|
||||||
file at the root of this project.
|
file at the root of this project.
|
||||||
#}
|
-->
|
||||||
{% extends "base_main.html" %}
|
{% extends "base_main.html" %}
|
||||||
{% block title %}{{ recipe.title }}{% endblock %}
|
{% block title %}{{ recipe.title }}{% endblock %}
|
||||||
{% block main %}
|
{% block main %}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{#
|
<!--
|
||||||
Barn Web App - A collection of web-apps for my family's personal use,
|
Barn Web App - A collection of web-apps for my family's personal use,
|
||||||
including a recipe database.
|
including a recipe database.
|
||||||
Copyright © 2023 Benjamin Stadlbauer
|
Copyright © 2023 Benjamin Stadlbauer
|
||||||
|
|
@ -15,11 +15,11 @@
|
||||||
|
|
||||||
This program comes with a copy of the GNU Affero General Public License
|
This program comes with a copy of the GNU Affero General Public License
|
||||||
file at the root of this project.
|
file at the root of this project.
|
||||||
#}
|
-->
|
||||||
{% extends "base_main.html" %}
|
{% extends "base_main.html" %}
|
||||||
{% block title %}{{ recipe.title }}{% endblock %}
|
{% block title %}{{ recipe.title }}{% endblock %}
|
||||||
{% block main %}
|
{% 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 %}
|
{%csrf_token %}
|
||||||
<table>
|
<table>
|
||||||
{{ version_form.as_table }}
|
{{ version_form.as_table }}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{#
|
<!--
|
||||||
Barn Web App - A collection of web-apps for my family's personal use,
|
Barn Web App - A collection of web-apps for my family's personal use,
|
||||||
including a recipe database.
|
including a recipe database.
|
||||||
Copyright © 2023 Benjamin Stadlbauer
|
Copyright © 2023 Benjamin Stadlbauer
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
This program comes with a copy of the GNU Affero General Public License
|
This program comes with a copy of the GNU Affero General Public License
|
||||||
file at the root of this project.
|
file at the root of this project.
|
||||||
#}
|
-->
|
||||||
{% extends "base_main.html" %}
|
{% extends "base_main.html" %}
|
||||||
{% block title %}{{ recipe.title }}{% endblock %}
|
{% block title %}{{ recipe.title }}{% endblock %}
|
||||||
{% block main %}
|
{% block main %}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{#
|
<!--
|
||||||
Barn Web App - A collection of web-apps for my family's personal use,
|
Barn Web App - A collection of web-apps for my family's personal use,
|
||||||
including a recipe database.
|
including a recipe database.
|
||||||
Copyright © 2023 Benjamin Stadlbauer
|
Copyright © 2023 Benjamin Stadlbauer
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
This program comes with a copy of the GNU Affero General Public License
|
This program comes with a copy of the GNU Affero General Public License
|
||||||
file at the root of this project.
|
file at the root of this project.
|
||||||
#}
|
-->
|
||||||
{% extends "base_main.html" %}
|
{% extends "base_main.html" %}
|
||||||
{% block title %}Recipes{% endblock %}
|
{% block title %}Recipes{% endblock %}
|
||||||
{% block main %}
|
{% block main %}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{#
|
<!--
|
||||||
Barn Web App - A collection of web-apps for my family's personal use,
|
Barn Web App - A collection of web-apps for my family's personal use,
|
||||||
including a recipe database.
|
including a recipe database.
|
||||||
Copyright © 2023 Benjamin Stadlbauer
|
Copyright © 2023 Benjamin Stadlbauer
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
This program comes with a copy of the GNU Affero General Public License
|
This program comes with a copy of the GNU Affero General Public License
|
||||||
file at the root of this project.
|
file at the root of this project.
|
||||||
#}
|
-->
|
||||||
{% extends "base_main.html" %}
|
{% extends "base_main.html" %}
|
||||||
{% block title %}{{ recipe.title }}{% endblock %}
|
{% block title %}{{ recipe.title }}{% endblock %}
|
||||||
{% block main %}
|
{% block main %}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{#
|
<!--
|
||||||
Barn Web App - A collection of web-apps for my family's personal use,
|
Barn Web App - A collection of web-apps for my family's personal use,
|
||||||
including a recipe database.
|
including a recipe database.
|
||||||
Copyright © 2023 Benjamin Stadlbauer
|
Copyright © 2023 Benjamin Stadlbauer
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
This program comes with a copy of the GNU Affero General Public License
|
This program comes with a copy of the GNU Affero General Public License
|
||||||
file at the root of this project.
|
file at the root of this project.
|
||||||
#}
|
-->
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{#
|
<!--
|
||||||
Barn Web App - A collection of web-apps for my family's personal use,
|
Barn Web App - A collection of web-apps for my family's personal use,
|
||||||
including a recipe database.
|
including a recipe database.
|
||||||
Copyright © 2023 Benjamin Stadlbauer
|
Copyright © 2023 Benjamin Stadlbauer
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
This program comes with a copy of the GNU Affero General Public License
|
This program comes with a copy of the GNU Affero General Public License
|
||||||
file at the root of this project.
|
file at the root of this project.
|
||||||
#}
|
-->
|
||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
{% block head %}
|
{% block head %}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{#
|
<!--
|
||||||
Barn Web App - A collection of web-apps for my family's personal use,
|
Barn Web App - A collection of web-apps for my family's personal use,
|
||||||
including a recipe database.
|
including a recipe database.
|
||||||
Copyright © 2023 Benjamin Stadlbauer
|
Copyright © 2023 Benjamin Stadlbauer
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
This program comes with a copy of the GNU Affero General Public License
|
This program comes with a copy of the GNU Affero General Public License
|
||||||
file at the root of this project.
|
file at the root of this project.
|
||||||
#}
|
-->
|
||||||
{% extends "base_main.html" %}
|
{% extends "base_main.html" %}
|
||||||
{% block title %}Barn{% endblock %}
|
{% block title %}Barn{% endblock %}
|
||||||
{% block main %}
|
{% block main %}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{#
|
<!--
|
||||||
Barn Web App - A collection of web-apps for my family's personal use,
|
Barn Web App - A collection of web-apps for my family's personal use,
|
||||||
including a recipe database.
|
including a recipe database.
|
||||||
Copyright © 2023 Benjamin Stadlbauer
|
Copyright © 2023 Benjamin Stadlbauer
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
This program comes with a copy of the GNU Affero General Public License
|
This program comes with a copy of the GNU Affero General Public License
|
||||||
file at the root of this project.
|
file at the root of this project.
|
||||||
#}
|
-->
|
||||||
{% extends "base_main.html" %}
|
{% extends "base_main.html" %}
|
||||||
|
|
||||||
{% block main %}
|
{% block main %}
|
||||||
|
|
@ -38,7 +38,17 @@
|
||||||
|
|
||||||
<form action="{% url 'login' %}" method="post">
|
<form action="{% url 'login' %}" method="post">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
{{ form.as_div }}
|
<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>
|
||||||
|
|
||||||
<input type="submit" value="Login">
|
<input type="submit" value="Login">
|
||||||
<input type="hidden" name="next" value="{{ next }}">
|
<input type="hidden" name="next" value="{{ next }}">
|
||||||
</form>
|
</form>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{#
|
<!--
|
||||||
Barn Web App - A collection of web-apps for my family's personal use,
|
Barn Web App - A collection of web-apps for my family's personal use,
|
||||||
including a recipe database.
|
including a recipe database.
|
||||||
Copyright © 2023 Benjamin Stadlbauer
|
Copyright © 2023 Benjamin Stadlbauer
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
This program comes with a copy of the GNU Affero General Public License
|
This program comes with a copy of the GNU Affero General Public License
|
||||||
file at the root of this project.
|
file at the root of this project.
|
||||||
#}
|
-->
|
||||||
{% extends "base_main.html" %}
|
{% extends "base_main.html" %}
|
||||||
|
|
||||||
{% block main %}
|
{% block main %}
|
||||||
|
|
@ -34,7 +34,28 @@
|
||||||
|
|
||||||
<form method="post" action="{% url 'new-user' %}">
|
<form method="post" action="{% url 'new-user' %}">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
{{ form.as_div }}
|
<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>
|
||||||
<input type="submit" value="Create account">
|
<input type="submit" value="Create account">
|
||||||
</form>
|
</form>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{#
|
<!--
|
||||||
Barn Web App - A collection of web-apps for my family's personal use,
|
Barn Web App - A collection of web-apps for my family's personal use,
|
||||||
including a recipe database.
|
including a recipe database.
|
||||||
Copyright © 2023 Benjamin Stadlbauer
|
Copyright © 2023 Benjamin Stadlbauer
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
This program comes with a copy of the GNU Affero General Public License
|
This program comes with a copy of the GNU Affero General Public License
|
||||||
file at the root of this project.
|
file at the root of this project.
|
||||||
#}
|
-->
|
||||||
{% extends "base_main.html" %}
|
{% extends "base_main.html" %}
|
||||||
{% block title %}Profile {{ user.username }}{% endblock %}
|
{% block title %}Profile {{ user.username }}{% endblock %}
|
||||||
{% block main %}
|
{% block main %}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue