{% if item %}
{% block title %}
-<img src="{{ STATIC_URL }}telemeta/images/item.png" alt="item" style="vertical-align:middle" />
-Item : <a href="{% url "telemeta-item-detail" item.public_id %}">{{ item }}</a>
+<div class='row'>
+ <div class="col-md-12">
+ <img src="{{ STATIC_URL }}telemeta/images/item.png" alt="item" style="vertical-align:middle" /> Item : <a href="{% url "telemeta-item-detail" item.public_id %}">{{ item }}</a>
+ </div>
+</div>
+
{% endblock %}
{% block title_buttons %}
<div class="fixedWidthAsPlayer">
+ <a href="{% url "telemeta-item-detail" previous %}">
+ <button type="button" class="btn btn-default">
+ <span class="glyphicon glyphicon-chevron-left"></span>
+ </button>
+ </a>
{% if user.is_authenticated and perms.telemeta.change_mediaitem %}
- <a href="{% url "telemeta-item-edit" item.id %}" class="component_icon button icon_edit">{% trans "Edit" %}</a>
- <a href="{% url "telemeta-item-copy" item.public_id %}" class="component_icon button icon_copy">{% trans "Copy" %}</a>
+ <a href="{% url "telemeta-item-edit" item.id %}">
+ <button type="button" class="btn btn-default">
+ <span class="glyphicon glyphicon-edit"></span> {% trans "Edit" %}
+ </button>
+ </a>
+ <a href="{% url "telemeta-item-copy" item.public_id %}">
+ <button type="button" class="btn btn-default">
+ <span class="glyphicon glyphicon-new-window"></span> {% trans "Copy" %}
+ </button>
+ </a>
{% endif %}
{% if user.is_authenticated %}
- <a id="_add_to_playlist" href='#' class="component_icon button icon_add_to_playlist">{% trans "Add to playlist" %}</a>
+ <a id="_add_to_playlist" href='#'>
+ <button type="button" class="btn btn-default">
+ <span class="glyphicon glyphicon-pushpin"></span> {% trans "List" %}
+ </button>
+ </a>
{% endif %}
- <a href="{% url "telemeta-item-detail" previous %}" class="component_icon button icon_previous">{% trans "Previous" %}</a>
- <a href="{% url "telemeta-item-detail" next %}" class="component_icon button icon_next">{% trans "Next" %}</a>
+ <a href="{% url "telemeta-item-detail" next %}">
+ <button type="button" class="btn btn-default">
+ <span class="glyphicon glyphicon-chevron-right"></span>
+ </button>
+ </a>
</div>
-{% endblock %}
+{% endblock title_buttons %}
+
{% block content %}
<div class="{% if item.file %}{% if access == 'full' or perms.telemeta.can_play_all_items %}with-rightcol{% endif %}{% endif %}">