Private
Public Access
1
0

adding grid user settings

This commit is contained in:
Sander Roosendaal
2020-05-03 11:11:18 +02:00
parent eaace7c426
commit 0f3d697057
7 changed files with 67 additions and 18 deletions

View File

@@ -1,8 +1,21 @@
{% extends "newbase.html" %}
{% block title %}Change Favorite Charts{% endblock %}
{% block title %}Change Charts Settings {% endblock %}
{% block main %}
<h1>Static Charts Settings of {{ rower.user.first_name }} {{ rower.user.last_name }}</h1>
<p>
<form method="post">
{% csrf_token %}
<table with=100%>
{{ staticchartform.as_table }}
</table>
<input type="submit" value="Save" class="button"/>
</form>
</p>
<h1>Change Favorite Charts of {{ rower.user.first_name }} {{ rower.user.last_name }}</h1>
<form method="post">
@@ -10,7 +23,7 @@
{% csrf_token %}
<li class="grid_4">
<div class="fav-form-header">
<p><input type="submit" value="Update Favorites" class="button green small"/></p>
<p><input type="submit" value="Update Favorites" class="button"/></p>
</div>
{{ favorites_formset.management_form }}
</li>

View File

@@ -19,7 +19,7 @@
</li>
<li id="manage-favs">
<a href="/rowers/me/favoritecharts/">
<i class="fas fa-chart-area fa-fw"></i>&nbsp;Favorite Charts
<i class="fas fa-chart-area fa-fw"></i>&nbsp;Charts Settings
</a>
</li>
<li id="manage-workflow">