mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-24 08:52:15 +00:00
Start training navbar
This commit is contained in:
@@ -1 +1,29 @@
|
|||||||
{% extends 'base_rigs.html' %}
|
{% extends 'base.html' %}
|
||||||
|
|
||||||
|
{% load static %}
|
||||||
|
|
||||||
|
{% block titleheader %}
|
||||||
|
<a class="navbar-brand" href="{% url 'trainee_list' %}">Training</a>
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block titleelements %}
|
||||||
|
{% if user.is_authenticated %}
|
||||||
|
<li class="nav-item"><a class="nav-link" href="/">Home</a></li>
|
||||||
|
<li class="nav-item dropdown">
|
||||||
|
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownRigboard" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||||
|
My Record
|
||||||
|
</a>
|
||||||
|
<div class="dropdown-menu" aria-labelledby="navbarDropdownRigboard">
|
||||||
|
<a class="dropdown-item" href="{% url 'trainee_detail' %}"><span class="fas fa-eye"></span>
|
||||||
|
Overview</a>
|
||||||
|
<a class="dropdown-item" href="{% url 'trainee_item_detail' request.user.pk %}"><span class="fas fa-list"></span>
|
||||||
|
Item Detail</a>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
{% endif %}
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block titleelements_right %}
|
||||||
|
{% include 'partials/search.html' %}
|
||||||
|
{% include 'partials/navbar_user.html' %}
|
||||||
|
{% endblock %}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{% extends 'base_rigs.html' %}
|
{% extends 'base_training.html' %}
|
||||||
|
|
||||||
{% load static %}
|
{% load static %}
|
||||||
{% load user_has_qualification from tags %}
|
{% load user_has_qualification from tags %}
|
||||||
|
|||||||
Reference in New Issue
Block a user