TELEMETA_DOWNLOAD_FORMATS = ('wav', 'mp3', 'webm')
TELEMETA_PUBLIC_ACCESS_PERIOD = 51
TELEMETA_DEFAULT_GRAPHER_SIZES = ['360x130', '640x130']
-TELEMETA_DEFAULT_GRAPHER_ID = 'waveform_joydiv'
+TELEMETA_DEFAULT_GRAPHER_ID = 'waveform_contour_wh'
AUTH_PROFILE_MODULE = 'telemeta.userprofile'
LOGIN_URL = '/login/'
color: #000000 !important;
text-decoration: none;
margin: 0;
- background: #fff url(images/more.png) no-repeat left top;
+ background: transparent url(/static/telemeta/css/more.png) no-repeat left top;
background-position: 0 -16px;
padding-bottom: 2px;
padding-left: 16px;
border-bottom: none !important;
outline: none;
- background: transparent;
}
.extraInfos h4 a:hover {
- background-color: transparent;
border-bottom: none;
color: #000000 !important;
text-decoration:none;
{% elif "audio" in mime_type %}
<div class="audio">
-<iframe width='640' height='200' frameborder='0' scrolling='no' marginheight='0' marginwidth='0' src="{% url telemeta-item-player-simple media.item.public_id 640 130 %}"></iframe>
+<iframe width='640' height='200' frameborder='0' scrolling='no' marginheight='0' marginwidth='0' src="{% url telemeta-item-player-contour media.item.public_id 640 130 %}"></iframe>
</div>
{% endif %}
</div>
{% block notes %}
-<div class="module">
+<!--<div class="module">
<h3><img src="{{ STATIC_URL }}telemeta/images/view-pim-notes.png" alt="playlists" style="vertical-align:middle" />{% trans "My notes" %}</h3>
<div style="background: white;">
<ul>
</div>
<div class="module_action">
<a href="#" class="component_icon button" id="action_violet">{% trans "New note" %}</a>
-</div>
+</div>-->
{% endblock notes %}
</div>
{% if stream.streaming %}
<img src="{{ STATIC_URL }}teleforma/images/network-wireless.png" style="vertical-align:middle" title="streaming" />
<img src="{{ STATIC_URL }}telemeta/images/media-record.png" style="vertical-align:middle" title="recording" />
- <script type="text/javascript">
- function update_snapshots_callback_{{ stream.course.code }}_{{ stream.course_type }}() {
- var d = 3000;
- var refresh = function(){
- $("#snapshot-{{ stream.course.code }}-{{ stream.course_type }}").attr("src","{{ stream.snapshot_url }}");
- };
- setInterval(refresh,d);
- };
- update_snapshots_callback_{{ stream.course.code }}_{{ stream.course_type }}();
- </script>
{% endif %}
</td>
{% else %}
<ul id="nav">
{% if user.is_authenticated %}
- <li><a href="{% url teleforma-desk %}" class="violet">{% trans "Desk" %}</a>
+ <li><a href="{% url teleforma-desk %}" class="red">{% trans "Desk" %}</a>
</li>
{% else %}
- <li><a href="{% url teleforma-login %}" class="violet">{% trans "Home" %}</a></li>
+ <li><a href="{% url teleforma-login %}" class="red">{% trans "Home" %}</a></li>
{% endif %}
{% if user.is_authenticated %}
- <li><a href="/messages" class="red">{% trans "Messaging" %}{% if postman_unread_count %} ({{ postman_unread_count }}){% endif %}</a></li>
+ <li><a href="/messages" class="orange">{% trans "Messaging" %}{% if postman_unread_count %} ({{ postman_unread_count }}){% endif %}</a></li>
- <li><a href="{% url teleforma-users %}" class="orange">{% trans "Users" %}</a></li>
+ {% if user.is_staff %}
+ <li><a href="{% url teleforma-users %}" class="yellow">{% trans "Users" %}</a></li>
+ {% endif %}
- <li><a href="{% url telemeta-search-criteria %}" class="yellow">{% trans "Search" %}</a></li>
- {% if user.is_staff %}
- <li><a href="#archives#" class="green">{% trans "Archives" %}</a>
+ {% if user.is_authenticated %}
+ {% if user.is_staff %}
+ <li><a href="#archives#" class="green">{% trans "Archives" %}</a>
<ul>
+ <li><a href="{% url telemeta-search-criteria %}">{% trans "Search" %}</a></li>
<li><a href="{% url telemeta-collections %}">{% trans "Collections" %}</a></li>
<li><a href="{% url telemeta-items %}">{% trans "Items" %}</a></li>
</ul>
</li>
-
- {% else %}
- <li><a href="{% url telemeta-flatpage "help" %}" class="green">{% trans "Help" %}</a></li>
- {% endif %}
-
- {% if user.is_authenticated %}
- {% if user.is_staff %}
<li><a href="{% url telemeta-admin-general %}" class="blue">{% trans "Admin" %}</a></li>
+ {% else %}
+ <li><a href="{% url telemeta-flatpage "help" %}" class="green">{% trans "Help" %}</a></li>
{% endif %}
<li style="a.active{background-image:{{ STATIC_URL }}telemeta/images/user_tr_bk.png; background-repeat: no-repeat;
{{ user.username }}
{% endif %}</a>
<ul>
- <li><a href="{% url telemeta-profile-detail user.username %}">{% trans "Profile" %}</a></li>
+ <li><a href="{% url telemeta-profile-detail user.username %}" class="yellow">{% trans "Profile" %}</a></li>
{% if user.is_staff %}
<li><a href="{% url telemeta-desk-lists %}">{% trans "Lists" %}</a></li>
<li><a href="{% url telemeta-flatpage "help" %}">{% trans "Help" %}</a></li>