#92: Projector control: Add projector preview icon for all entries.
This commit is contained in:
parent
a35e1917a4
commit
4adb221a9d
@ -7,7 +7,7 @@
|
||||
<a href="{% url projector_activate_slide slide.sid %}" class="activate_link {% if slide.active %}active{% endif %}">
|
||||
<div></div>
|
||||
</a>
|
||||
<a href="{% url projctor_preview_slide slide.sid %}">preview</a>
|
||||
<a href="{% url projctor_preview_slide slide.sid %}" title="{% trans 'Preview' %}" class="icon preview right"><span></span></a>
|
||||
{% for p in slide.get_ancestors %}
|
||||
<span class="indentation"> </span>
|
||||
{% endfor %}
|
||||
|
@ -6,7 +6,7 @@
|
||||
<a href="{% url projector_activate_slide slides.key %}" class="activate_link {% if slides.active %}active{% endif %}">
|
||||
<div></div>
|
||||
</a>
|
||||
<a href="{% url projctor_preview_slide slides.key %}">preview</a>
|
||||
<a href="{% url projctor_preview_slide slides.key %}" title="{% trans 'Preview' %}" class="icon preview right"><span></span></a>
|
||||
{{ slides.name }}
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -7,7 +7,7 @@
|
||||
<a href="{% url projector_activate_slide slide.sid %}" class="activate_link {% if slide.active %}active{% endif %}">
|
||||
<div></div>
|
||||
</a>
|
||||
<a href="{% url projctor_preview_slide slide.sid %}">preview</a>
|
||||
<a href="{% url projctor_preview_slide slide.sid %}" title="{% trans 'Preview' %}" class="icon preview right"><span></span></a>
|
||||
<a href="{{ slide.get_absolute_url }}">{{ slide }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
Before Width: | Height: | Size: 808 B After Width: | Height: | Size: 808 B |
@ -572,10 +572,17 @@ ul.results {
|
||||
color: #585B66;
|
||||
}
|
||||
|
||||
.pdficon span {
|
||||
background-image: url("../images/icons/application-pdf.png");
|
||||
/* Icons */
|
||||
.icon span {
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
display: inline-block;
|
||||
}
|
||||
.right {
|
||||
float: right
|
||||
}
|
||||
.preview {
|
||||
background:url("../images/icons/preview.png") no-repeat 0px 0px;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user