Added main page. Added links page

This commit is contained in:
2022-07-11 17:08:47 +03:00
parent a8f86ef882
commit 0a3c0e1e50
28 changed files with 504 additions and 18 deletions
Binary file not shown.
@@ -1,17 +1,13 @@
<!DOCTYPE html>
{% extends 'main/pagetemplate.html' %}
{% load static %}
{% block pagetitle %}
Календарь
{% endblock %}
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Calendar</title>
{% block content %}
<div class="calendarpage">
<h1>Календарь</h1>
{% include 'faerun_calendar/calendar.html' %}
</div>
{% endblock %}
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-0evHe/X+R7YkIZDRvuzKMRqM+OrBnVFBL6DOitfPri4tjfHxaWutUpFmBp4vmVor" crossorigin="anonymous">
<link rel="stylesheet" href="{% static 'faerun_calendar/css/main.css' %}">
</head>
<body>
<h1>Календарь</h1>
{% include 'faerun_calendar/calendar.html' %}
</body>
</html>
+1 -2
View File
@@ -1,7 +1,6 @@
from django.http import HttpResponse
from django.shortcuts import render
def index(request):
return render(request, 'faerun_calendar/index.html')
# return HttpResponse('<h1>Calendar</h1>')