Compare commits

..

1 Commits

Author SHA1 Message Date
Claudio Maggioni (maggicl)
5a37d12377 Fixed bugs and added yearly target 2019-07-26 23:58:18 +02:00
3 changed files with 47 additions and 1 deletions

2
.gitignore vendored
View File

@ -76,7 +76,7 @@ coverage.xml
docs/_build/
# PyBuilder
target/
/target/
### Django ###

View File

@ -0,0 +1,23 @@
{% extends "base.html" %}
{% load static %}
{% block title %}Set yearly target{% endblock %}
{% block content %}
<h1 class="center">Set yearly target</h1>
<form method="post" id="edit-target-form">
<div class="col s12 card">
<div class="card-content">
{% csrf_token %}
<div class="row">
{{ form.as_p }}
</div>
</div>
<div class="card-action">
<a href="#"><button type="submit">Save</button></a>
<a href="{% url "target_delete" %}"><button type="button">Remove</button></a>
</div>
</div>
</form>
{% endblock %}

View File

@ -0,0 +1,23 @@
{% extends "base.html" %}
{% load static %}
{% block title %}Set yearly target{% endblock %}
{% block content %}
<h1 class="center">Set yearly target</h1>
<form method="post" id="edit-target-form">
<div class="col s12 card">
<div class="card-content">
{% csrf_token %}
<div class="row">
{{ form.as_p }}
</div>
</div>
<div class="card-action">
<a href="#"><button type="submit">Save</button></a>
<a href="{% url "target_delete" %}"><button type="button">Remove</button></a>
</div>
</div>
</form>
{% endblock %}