Created the template dashboard.html which displays the website's dashboard page

parent 88b6d66c
{% extends 'base.html' %}
{% load static %}
{% block page-title %}Widget v2{% endblock %}
{% block heading %} <h1> Welcome to Widget! </h1> {% endblock %}
{% block content %}
<p>
Widget Users:<br>
{% for user in users %}
<a href="{{ user.get_absolute_url }}">{{ user.last_name }}, {{ user.first_name }}</a><br>
{% endfor %}
</p>
{% endblock %}
{% block footing %}
<p class="centerB">
<a href="{% url 'dashboard:widgetuser-create' %}">
<button class="btn add">Add Widget User</button>
</a>
</p>
<p>
<a href="/announcement_board/" class="link">Announcement Board</a><br>
<a href="/forum/" class="link">Forum</a><br>
</p>
{% endblock %}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment