Přesun svg + zasložkování (aby bylo jasné, k čemu patří graph a templatů jak-resit už bylo hodně)

This commit is contained in:
Jonas Havelka 2022-09-28 09:51:19 +02:00
parent 6cda3f0a27
commit 07b163389d
8 changed files with 19 additions and 19 deletions

View file

@ -1,16 +0,0 @@
{% extends 'base.html' %}
{% load humanize %}
{% load static %}
{% block content %}
<div class=jakresit>
{% include 'jakresit_1.svg' %}
{% include 'jakresit_2.svg' %}
{% include 'jakresit_3.svg' %}
</div>
{% endblock %}

View file

@ -0,0 +1,16 @@
{% extends 'base.html' %}
{% load humanize %}
{% load static %}
{% block content %}
<div class=jakresit>
{% include 'seminar/jakresit/jakresit_1.svg' %}
{% include 'seminar/jakresit/jakresit_2.svg' %}
{% include 'seminar/jakresit/jakresit_3.svg' %}
</div>
{% endblock %}

View file

Before

Width:  |  Height:  |  Size: 1.8 MiB

After

Width:  |  Height:  |  Size: 1.8 MiB

View file

Before

Width:  |  Height:  |  Size: 1.8 MiB

After

Width:  |  Height:  |  Size: 1.8 MiB

View file

Before

Width:  |  Height:  |  Size: 1.8 MiB

After

Width:  |  Height:  |  Size: 1.8 MiB

View file

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 35 KiB

View file

@ -79,7 +79,7 @@ function sousdeadline() {
<div class="graf">
<div class="graf-svg">
{% include 'graph.svg' %} <!-- TODO: aby to nemuselo být v templates -->
{% include 'seminar/titulnistrana/graph.svg' %} <!-- TODO: aby to nemuselo být v templates -->
</div>
<span class="zjistit_vic">

View file

@ -259,7 +259,7 @@ def aktualni_temata(rocnik):
class TitulniStranaView(generic.ListView):
template_name='seminar/titulnistrana.html'
template_name= 'seminar/titulnistrana/titulnistrana.html'
def get_queryset(self):
return spravne_novinky(self.request)[:3]
@ -669,7 +669,7 @@ def formularOKView(request, text=''):
#------------------ Jak řešit - možná má být udělané úplně jinak
class JakResitView(generic.ListView):
template_name = 'seminar/jak-resit.html'
template_name = 'seminar/jakresit/jak-resit.html'
def get_queryset(self):
return None