Browse Source

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

okenkove_obalky
Jonas Havelka 2 years ago
parent
commit
07b163389d
  1. 16
      seminar/templates/seminar/jak-resit.html
  2. 16
      seminar/templates/seminar/jakresit/jak-resit.html
  3. 0
      seminar/templates/seminar/jakresit/jakresit_1.svg
  4. 0
      seminar/templates/seminar/jakresit/jakresit_2.svg
  5. 0
      seminar/templates/seminar/jakresit/jakresit_3.svg
  6. 0
      seminar/templates/seminar/titulnistrana/graph.svg
  7. 2
      seminar/templates/seminar/titulnistrana/titulnistrana.html
  8. 4
      seminar/views/views_all.py

16
seminar/templates/seminar/jak-resit.html

@ -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 %}

16
seminar/templates/seminar/jakresit/jak-resit.html

@ -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 %}

0
mamweb/templates/jakresit_1.svg → seminar/templates/seminar/jakresit/jakresit_1.svg

Before

Width:  |  Height:  |  Size: 1.8 MiB

After

Width:  |  Height:  |  Size: 1.8 MiB

0
mamweb/templates/jakresit_2.svg → seminar/templates/seminar/jakresit/jakresit_2.svg

Before

Width:  |  Height:  |  Size: 1.8 MiB

After

Width:  |  Height:  |  Size: 1.8 MiB

0
mamweb/templates/jakresit_3.svg → seminar/templates/seminar/jakresit/jakresit_3.svg

Before

Width:  |  Height:  |  Size: 1.8 MiB

After

Width:  |  Height:  |  Size: 1.8 MiB

0
mamweb/templates/graph.svg → seminar/templates/seminar/titulnistrana/graph.svg

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 35 KiB

2
seminar/templates/seminar/titulnistrana.html → seminar/templates/seminar/titulnistrana/titulnistrana.html

@ -79,7 +79,7 @@ function sousdeadline() {
<div class="graf"> <div class="graf">
<div class="graf-svg"> <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> </div>
<span class="zjistit_vic"> <span class="zjistit_vic">

4
seminar/views/views_all.py

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

Loading…
Cancel
Save