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; | 	margin:0px; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | #obrazek_cisla_archiv { | ||||||
|  | 	text-align: center; | ||||||
|  | 	margin: 10px; | ||||||
|  | } | ||||||
|  | 
 | ||||||
| 
 | 
 | ||||||
| /* galerie */ | /* galerie */ | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -9,11 +9,7 @@ | ||||||
|       Číslo {{ cislo }} |       Číslo {{ cislo }} | ||||||
|     {% endblock %}{% endblock %} |     {% endblock %}{% endblock %} | ||||||
|   </h1> |   </h1> | ||||||
| 
 |   <a href='{{ cislo.rocnik.verejne_url }}'>Zpět na ročník {{ cislo.rocnik }}</a> | ||||||
|   {% 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> |  | ||||||
| 
 | 
 | ||||||
|   {% if v_cisle_zadane %} |   {% if v_cisle_zadane %} | ||||||
|     <h2>Zadané problémy</h2> |     <h2>Zadané problémy</h2> | ||||||
|  | @ -50,12 +46,26 @@ | ||||||
|       </div> |       </div> | ||||||
|   {% endif %} |   {% 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> |   <script id="vuedata" type="application/json">{"treenode":{{cislo.cislonode.id}}}</script> | ||||||
|   <div id="app"> |   <div id="app"> | ||||||
| 	  <app></app> | 	  <app></app> | ||||||
|   </div> |   </div> | ||||||
|   {% render_bundle 'chunk-vendors' %} |   {% render_bundle 'chunk-vendors' %} | ||||||
|   {% render_bundle 'vue_app_01' %} |   {% render_bundle 'vue_app_01' %} | ||||||
|  | {% endcomment %} | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|   {% if cislo.verejna_vysledkovka %} |   {% if cislo.verejna_vysledkovka %} | ||||||
|  |  | ||||||
|  | @ -8,15 +8,17 @@ | ||||||
|     {% endblock %}{% endblock %} |     {% endblock %}{% endblock %} | ||||||
|   </h2> |   </h2> | ||||||
| 
 | 
 | ||||||
|   {% if temata_v_rocniku %} |   {% if rocnik.temata %} | ||||||
|     <h2>Témata</h2> |     <h2>Témata</h2> | ||||||
|     <ul> |     <ul> | ||||||
|     {% for tema in temata_v_rocniku %} |     {% for tema in rocnik.temata.all %} | ||||||
|       <li>{% if tema.text_zadani %}<a href="{{ tema.verejne_url }}">{% endif %}{{ tema.kod_v_rocniku }}: {{ tema.nazev }}{% if tema.text_zadani %}</a>{% endif %} |       <li>{#<a href="{{ tema.verejne_url }}">#}{{ tema.nazev }}{#</a>#} | ||||||
|     {% endfor %} |     {% endfor %} | ||||||
|     </ul> |     </ul> | ||||||
|   {% endif %} |   {% endif %} | ||||||
| 
 | 
 | ||||||
|  | <h2>Čísla</h2> | ||||||
|  | 
 | ||||||
| <div class="cisla-v-rocniku"> | <div class="cisla-v-rocniku"> | ||||||
|   {% for c in rocnik.verejna_cisla %} |   {% for c in rocnik.verejna_cisla %} | ||||||
|     <div class="cislo_pole"> |     <div class="cislo_pole"> | ||||||
|  | @ -61,6 +63,7 @@ | ||||||
|   {% endfor %} |   {% endfor %} | ||||||
| </div> | </div> | ||||||
| 
 | 
 | ||||||
|  | 
 | ||||||
|   {% if vysledkovka %} |   {% if vysledkovka %} | ||||||
|     {% if user.je_org %} |     {% if user.je_org %} | ||||||
|       <div class='mam-org-only'> |       <div class='mam-org-only'> | ||||||
|  |  | ||||||
|  | @ -8,10 +8,10 @@ | ||||||
|   </h1> |   </h1> | ||||||
| 
 | 
 | ||||||
|   {% for rocnik, temata in rocniky.items %} |   {% 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> |     <ul> | ||||||
|     {% for tema in temata %} |     {% 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 %} |     {% endfor %} | ||||||
|     </ul> |     </ul> | ||||||
|   {% endfor %} |   {% endfor %} | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Kateřina Č
						Kateřina Č