Commit 04831701 authored by Elaiza Bolislis's avatar Elaiza Bolislis

Created a template named dashboard.html to display the website's dashboard...

Created a template named dashboard.html to display the website's dashboard page. Still needs to be modified to add the necessary links that will redirect the users to the other apps when clicked.
parent 4c11c934
{% extends 'base.html' %}
{% load static %}
{% block title %}Widget v2{% endblock %}
{% block heading %}Welcome to Widget!{% 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 %}
<a href="{% url 'dashboard:widgetuser-create' %}">
<button class="btn add">Add Widget User</button>
</a>
{% 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