Přesun svg + zasložkování (aby bylo jasné, k čemu patří graph a templatů jak-resit už bylo hodně)
|  | @ -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
									
									
									
									
									
										Normal 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 %} | ||||
| Before Width: | Height: | Size: 1.8 MiB After Width: | Height: | Size: 1.8 MiB | 
| Before Width: | Height: | Size: 1.8 MiB After Width: | Height: | Size: 1.8 MiB | 
| Before Width: | Height: | Size: 1.8 MiB After Width: | Height: | Size: 1.8 MiB | 
| Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB | 
|  | @ -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"> | ||||
|  | @ -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 | ||||
|  |  | |||