Update interface buttons
This commit is contained in:
parent
270ef34582
commit
60325b2ed3
|
@ -27,7 +27,7 @@
|
|||
<h4 class=""><i class="text-primary fal fa-laugh-wink"></i> Hi {{ user.first_name }} !</h4>
|
||||
</div>
|
||||
<div class="card-body text-justify pt-0">
|
||||
<p>Welcome to Jarvi v1.0.4 <span class="text-muted">(last update : 10 may 2024)</span>.</p>
|
||||
<p>Welcome to Jarvi v1.0.5 <span class="text-muted">(last update : 14 may 2024)</span>.</p>
|
||||
<p>This application is designed to assist coaches in managing gymnasts' progress, evaluations, routines, scores, and more. While this tool isn't flawless, please feel free to submit improvement suggestions, bug reports, or any feedback by sending an <a href="mailto:gregory@flyingacrobaticstrampoline.be?subject=Jarvis remarks">email</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -89,10 +89,11 @@
|
|||
<td class="text-left"><a href="{% url 'event_details' event.id %}">{{ event.name }}</a></td>
|
||||
<td>
|
||||
{% if event.number_of_week_from_today < 0 %}
|
||||
{{event.number_of_week_from_today}}
|
||||
{{ event.number_of_week_from_today }}
|
||||
{% else %}
|
||||
<span class="text-{% if event.number_of_week_from_today > 12 %}success{% elif event.number_of_week_from_today > 9 %}info{% elif event.number_of_week_from_today > 6 %}warning{% else %}danger{% endif %}">
|
||||
<b>{{event.number_of_week_from_today}}</b></span>
|
||||
<b>{{ event.number_of_week_from_today }}</b>
|
||||
</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -16,11 +16,11 @@
|
|||
</div>
|
||||
<div class="col-1 ml-auto">
|
||||
<div class="text-right">
|
||||
<a href="{% if gymnast %}{% url 'chrono_create_for_gymnast' gymnast.id %}{% else %}{% url 'chrono_create' %}{% endif %}">
|
||||
<button type="submit" value="add" class="btn btn-icon btn-warning ">
|
||||
<i class="fas fa-plus"></i>
|
||||
</button>
|
||||
</a>
|
||||
<h3 class="mb-0">
|
||||
<a href="{% if gymnast %}{% url 'chrono_create_for_gymnast' gymnast.id %}{% else %}{% url 'chrono_create' %}{% endif %}">
|
||||
<i class="fas fa-plus text-warning"></i>
|
||||
</a>
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -23,11 +23,11 @@
|
|||
<div class="col-2 ml-auto pl-0">
|
||||
<div class="text-right">
|
||||
{% if request.user|has_group:"trainer" %}
|
||||
<a href="{% if gymnast %}{% url 'heightweight_create_for_gymnast' gymnast.id %}{% else %}{% url 'height_weight_create' %}{% endif %}">
|
||||
<button type="submit" value="add" class="btn btn-icon btn-warning ">
|
||||
<i class="fas fa-plus"></i>
|
||||
</button>
|
||||
</a>
|
||||
<h3 class="mb-0">
|
||||
<a href="{% if gymnast %}{% url 'heightweight_create_for_gymnast' gymnast.id %}{% else %}{% url 'height_weight_create' %}{% endif %}">
|
||||
<i class="fas fa-plus text-warning"></i>
|
||||
</a>
|
||||
</h3>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -98,7 +98,7 @@
|
|||
});
|
||||
|
||||
$('#injury_table').DataTable({
|
||||
scrollY: '50vh',
|
||||
// scrollY: '50vh',
|
||||
paging: false,
|
||||
searching: false,
|
||||
ordering: false,
|
||||
|
|
|
@ -13,11 +13,11 @@
|
|||
</div>
|
||||
<div class="col-1 ml-auto">
|
||||
<div class="text-right">
|
||||
<a href="{% if gymnast %}{% url 'intensity_create_for_gymnast' gymnast.id %}{% else %}{% url 'intensity_create' %}{% endif %}">
|
||||
<button type="submit" value="add" class="btn btn-icon btn-warning ">
|
||||
<i class="fas fa-plus"></i>
|
||||
</button>
|
||||
</a>
|
||||
<h3 class="mb-0">
|
||||
<a href="{% if gymnast %}{% url 'intensity_create_for_gymnast' gymnast.id %}{% else %}{% url 'intensity_create' %}{% endif %}">
|
||||
<i class="fas fa-plus text-warning"></i>
|
||||
</a>
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -22,11 +22,11 @@
|
|||
<div class="col-1 ml-auto">
|
||||
<div class="text-right">
|
||||
{% if request.user|has_group:"trainer" %}
|
||||
<a href="{% if gymnast %}{% url 'score_create_for_gymnast' gymnast.id %}{% else %}{% url 'score_create' %}{% endif %}">
|
||||
<button type="submit" value="add" class="btn btn-icon btn-warning ">
|
||||
<i class="fas fa-plus"></i>
|
||||
</button>
|
||||
</a>
|
||||
<h3 class="mb-0">
|
||||
<a href="{% if gymnast %}{% url 'score_create_for_gymnast' gymnast.id %}{% else %}{% url 'score_create' %}{% endif %}">
|
||||
<i class="fas fa-plus text-warning"></i>
|
||||
</a>
|
||||
</h3>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -23,11 +23,11 @@
|
|||
<div class="col-2 ml-auto pl-0">
|
||||
<div class="text-right">
|
||||
{% if request.user|has_group:"trainer" %}
|
||||
<a href="{% if gymnast %}{% url 'wellbeing_create_for_gymnast' gymnast.id %}{% else %}{% url 'wellbeing_create' %}{% endif %}">
|
||||
<button type="submit" value="add" class="btn btn-icon btn-warning ">
|
||||
<i class="fas fa-plus"></i>
|
||||
</button>
|
||||
</a>
|
||||
<h3 class="mb-0">
|
||||
<a href="{% if gymnast %}{% url 'wellbeing_create_for_gymnast' gymnast.id %}{% else %}{% url 'wellbeing_create' %}{% endif %}">
|
||||
<i class="fas fa-plus text-warning"></i>
|
||||
</a>
|
||||
</h3>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -11,11 +11,11 @@
|
|||
<div class="col-1 ml-auto">
|
||||
<div class="text-right">
|
||||
{% if request.user|has_group:"trainer" %}
|
||||
<a href="{% url 'combination_create' %}">
|
||||
<button type="submit" value="add" class="btn btn-icon btn-warning mb-0">
|
||||
<i class="fas fa-plus"></i>
|
||||
</button>
|
||||
</a>
|
||||
<h3 class="mb-0">
|
||||
<a href="{% url 'combination_create' %}">
|
||||
<i class="fas fa-plus text-warning"></i>
|
||||
</a>
|
||||
</h3>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -116,7 +116,7 @@
|
|||
<h3 class="mb-0">
|
||||
{% if ghr_list %}
|
||||
<a href="{% url 'routine_list_for_gymnast' gymnast_id %}">
|
||||
<i class="tim-icons icon-components text-warning"></i> <!-- Routines -->
|
||||
<i class="tim-icons icon-components text-warning"></i>
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue