zkráškolvání archivu
This commit is contained in:
		
							parent
							
								
									43d0ca7e91
								
							
						
					
					
						commit
						255ba78d2f
					
				
					 4 changed files with 28 additions and 10 deletions
				
			
		|  | @ -929,6 +929,11 @@ div.zadani_termin .datum { | |||
| 	margin:0px; | ||||
| } | ||||
| 
 | ||||
| #obrazek_cisla_archiv { | ||||
| 	text-align: center; | ||||
| 	margin: 10px; | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
| /* galerie */ | ||||
| 
 | ||||
|  |  | |||
|  | @ -9,11 +9,7 @@ | |||
|       Číslo {{ cislo }} | ||||
|     {% endblock %}{% endblock %} | ||||
|   </h1> | ||||
| 
 | ||||
|   {% if cislo.pdf %} | ||||
|     <p><a href='{{ cislo.pdf.url }}'>Číslo v pdf</a> | ||||
|   {% endif %} | ||||
|   <p><a href='{{ cislo.rocnik.verejne_url }}'>Ročník {{ cislo.rocnik }}</a> | ||||
|   <a href='{{ cislo.rocnik.verejne_url }}'>Zpět na ročník {{ cislo.rocnik }}</a> | ||||
| 
 | ||||
|   {% if v_cisle_zadane %} | ||||
|     <h2>Zadané problémy</h2> | ||||
|  | @ -50,12 +46,26 @@ | |||
|       </div> | ||||
|   {% endif %} | ||||
| 
 | ||||
|   <hr> | ||||
| 
 | ||||
|  <div id="obrazek_cisla_archiv"> | ||||
|   {% if cislo.titulka_nahled %} | ||||
| 		    <a href="{{ cislo.pdf.url }}"><img src="{{ cislo.titulka_nahled.url }}" alt=Titulní strana {{ cislo.poradi }}. čísla></a> | ||||
|   {% elif cislo.pdf %} | ||||
|     <a href='{{ cislo.pdf.url }}'>Číslo v pdf</a>    | ||||
|   {% endif %} | ||||
|   </div> | ||||
| 
 | ||||
|   <hr> | ||||
| 
 | ||||
| {% comment %} | ||||
|   <script id="vuedata" type="application/json">{"treenode":{{cislo.cislonode.id}}}</script> | ||||
|   <div id="app"> | ||||
| 	  <app></app> | ||||
|   </div> | ||||
|   {% render_bundle 'chunk-vendors' %} | ||||
|   {% render_bundle 'vue_app_01' %} | ||||
| {% endcomment %} | ||||
| 
 | ||||
| 
 | ||||
|   {% if cislo.verejna_vysledkovka %} | ||||
|  |  | |||
|  | @ -8,15 +8,17 @@ | |||
|     {% endblock %}{% endblock %} | ||||
|   </h2> | ||||
| 
 | ||||
|   {% if temata_v_rocniku %} | ||||
|   {% if rocnik.temata %} | ||||
|     <h2>Témata</h2> | ||||
|     <ul> | ||||
|     {% for tema in temata_v_rocniku %} | ||||
|       <li>{% if tema.text_zadani %}<a href="{{ tema.verejne_url }}">{% endif %}{{ tema.kod_v_rocniku }}: {{ tema.nazev }}{% if tema.text_zadani %}</a>{% endif %} | ||||
|     {% for tema in rocnik.temata.all %} | ||||
|       <li>{#<a href="{{ tema.verejne_url }}">#}{{ tema.nazev }}{#</a>#} | ||||
|     {% endfor %} | ||||
|     </ul> | ||||
|   {% endif %} | ||||
| 
 | ||||
| <h2>Čísla</h2> | ||||
| 
 | ||||
| <div class="cisla-v-rocniku"> | ||||
|   {% for c in rocnik.verejna_cisla %} | ||||
|     <div class="cislo_pole"> | ||||
|  | @ -61,6 +63,7 @@ | |||
|   {% endfor %} | ||||
| </div> | ||||
| 
 | ||||
| 
 | ||||
|   {% if vysledkovka %} | ||||
|     {% if user.je_org %} | ||||
|       <div class='mam-org-only'> | ||||
|  |  | |||
|  | @ -8,10 +8,10 @@ | |||
|   </h1> | ||||
| 
 | ||||
|   {% for rocnik, temata in rocniky.items %} | ||||
|     <h2>Ročník {{ rocnik }}</h2> | ||||
|     <h2><a href="{{ rocnik.verejne_url }}">Ročník {{ rocnik }}</a></h2> | ||||
|     <ul> | ||||
|     {% for tema in temata %} | ||||
|     <li><a href="{{ tema.verejne_url }}"> {{ tema.kod_v_rocniku }}: {{ tema.nazev }} </a></li> | ||||
|     <li>{# <a href="{{ tema.verejne_url }}"> #}{{ tema.nazev }}{# </a> #}</li> | ||||
|     {% endfor %} | ||||
|     </ul> | ||||
|   {% endfor %} | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Kateřina Č
						Kateřina Č