This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>{% block title %}{% endblock %}</title>
|
||||
{% load bootstrap5 %}
|
||||
{% bootstrap_css %}
|
||||
{% bootstrap_javascript %}
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h1 class="display-1">Welcome to my website!</h1>
|
||||
|
||||
<div class="container">
|
||||
<div class="list-group">
|
||||
{% if thislist %}
|
||||
<ul>
|
||||
{% for question in thislist %}
|
||||
<a href="#" class="list-group-item">{{ question }}</a>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% else %}
|
||||
<p>No polls are available.</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{% block content %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user