Browse Source

galerie | pridani tlacitek plus a minus

remotes/origin/imagekit
Bc. Petr Pecha 9 years ago
parent
commit
b04caee566
  1. 8
      galerie/templates/galerie/GalerieNahled.html
  2. 18
      mamweb/static/css/mamweb.css

8
galerie/templates/galerie/GalerieNahled.html

@ -56,13 +56,13 @@ Galerie {{galerie.nazev}}
</div>
<!--</div>-->
</a>
{% comment %}
{% if user.is_staff and galerie.zobrazit > 0 %}
<div class="mam-org-only-galerie">
({{galerie.poradi}})
<span class="plus"><a href="plus/{{galerie.pk}}/">+</a></span>
<span class="minus"><a href="minus/{{galerie.pk}}/">-</a></span>
<span class="plus"><a href="plus/{{galerie.pk}}/">+</a></span>
<span class="minus"><a href="minus/{{galerie.pk}}/">-</a></span>
</div>
{% endif %}
{% endcomment %}
{% endif %}
{% endfor %}
</div>

18
mamweb/static/css/mamweb.css

@ -601,6 +601,24 @@ div.zadani_azad_termin {
margin-bottom: 15px;
}
/* plus a minus tlacitka */
.mam-org-only-galerie {
background: #fff0d7;
padding: 10px;
margin: 10px 10px 10px -20px;
border: orange 2px dashed;
float: left;
}
.mam-org-only-galerie a{
padding: 3px 5px;
margin: 5px;
border-radius: 20px;
background-color: lightblue;
color: black;
float: left;
}
/* Odkazy na předchozí a následující podgalerii */
.galerie_predchozi_nasledujici {

Loading…
Cancel
Save