23 lines
617 B
HTML
23 lines
617 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}Home{% endblock %}
|
|
|
|
{% block content %}
|
|
<h1>Welcome in SOITA/h1>
|
|
<!-- TODO reading all tests from DB-->
|
|
{% for test in tests.all %}
|
|
<div class="test-infoBox">
|
|
<p><a href="/tests/{{test.id}}/show/">{{test.name}}</a></p>
|
|
</div>
|
|
|
|
{% endfor %}
|
|
<!-- {% if user.is_authenticated %}-->
|
|
<!-- <p>Username: {{user.username}}</p>-->
|
|
<!-- <p>Name: {{user.first_name}} {{user.last_name}}</p>-->
|
|
<!-- <p>Email: {{user.email}}</p>-->
|
|
<!-- {% else %}-->
|
|
<!-- Guest nr 123-->
|
|
<!-- {% endif %}-->
|
|
{% endblock %}
|
|
|