Placeholdery vol 2: hezké chování
This commit is contained in:
		
							parent
							
								
									289e09f558
								
							
						
					
					
						commit
						96b04b6a09
					
				
					 3 changed files with 3 additions and 4 deletions
				
			
		|  | @ -76,6 +76,8 @@ | |||
| 
 | ||||
| .galerie_nahledy img { | ||||
| 	margin: 10px; | ||||
| 	max-height: 100px; | ||||
| 	max-width: 200px; | ||||
| } | ||||
| 
 | ||||
| .galerie_nahledy div.navigace { | ||||
|  |  | |||
|  | @ -109,12 +109,9 @@ | |||
|       {% for obrazek in obrazky_predchozi %} | ||||
|       <a href="../{{obrazek.pk}}#nahoru">{% zmenseny_nahled obrazek.jako_bazmek height=100 %}</a> | ||||
|       {% endfor %} | ||||
|     </div> | ||||
| 
 | ||||
|     {% zmenseny_nahled obrazek.jako_bazmek alt=obrazek.popis class=obrazek id="prostredni" %} | ||||
|        {# height=obrazek.obrazek_maly.height width=obrazek.obrazek_maly.width #} | ||||
| 
 | ||||
|     <div class="navigace"> | ||||
|       {# nahledy nasledujicich obrazku #} | ||||
|       {% for obrazek in obrazky_dalsi %} | ||||
|       <a href="../{{obrazek.pk}}#nahoru">{% zmenseny_nahled obrazek.jako_bazmek height=100 %}</a> | ||||
|  |  | |||
|  | @ -57,7 +57,7 @@ Galerie {{galerie.nazev}} | |||
|             {% endif %} | ||||
|            class="podgalerie_nahled {% if pgalerie.zobrazit == 1 or pgalerie.zobrazit == 2 %}mam-org-only{% endif %}{% if pgalerie.zobrazit == 3 %}mam-resitel-only{% endif %}"> | ||||
|               {% if pgalerie.titulni_obrazek %} | ||||
|                 {% zmenseny_nahled pgalerie.titulni_obrazek.jako_bazmek %} | ||||
|                 {% zmenseny_nahled pgalerie.titulni_obrazek.jako_bazmek class="" %} | ||||
|               {% endif %} | ||||
|               <div class="nazev_galerie"> | ||||
|               {{ pgalerie|truncatechars:max_delka_nazvu }} | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Pavel "LEdoian" Turinsky
						Pavel "LEdoian" Turinsky