#collection_player {
background: transparent;
- /* background-image: url(../images/grid_bg.png); */
+ /* background-image: url(../images/grid_bg_2.png); */
}
#collection_player .title {
background-color: #000000 ;
font: normal verdana,'Bitstream Vera Sans',helvetica,arial,sans-serif;
border-top: .25em solid #000000;
- padding-left:26px;
+ padding-left:200px;
}
#menu a, #menu a:visited{
#module-set .module {
border: 1px solid #000;
- background-image: url(../images/grid_bg.png);
+ background-image: url(../images/grid_bg_2.png);
padding: 0.3em 0.8em 0.8em 0.8em;
margin: 3.5em 0em 1.5em 1.5em;
-moz-border-radius: 8px 8px 8px 8px;
.course_title {
border-bottom:1px solid #6A0307;
color:#FFFFFF;
- background-image: url(../images/grid_bg.png);
+ background-image: url(../images/grid_bg_2.png);
+ -moz-border-radius: 8px 8px 8px 8px;
+ -webkit-border-radius: 8px 8px 8px 8px;
+ border-radius: 8px 8px 8px 8px;
}
#module-set-left {
#module-set-left .module {
border: 1px solid #000;
- background-image: url(../images/grid_bg.png);
+ background-image: url(../images/grid_bg_2.png);
padding: 0em 0.8em 0em 0.8em;
margin: 0em 0em 1.5em 0em;
-moz-border-radius: 8px 8px 8px 8px;
{% block course %}
-
- <table class="listing" style="width:100%;margin-top: 1em">
- <tr>
- <td class="course_title" style="font-size: 120%;">{{ course.title }}{% if course.description %} - {{ course.description }}{% endif %}</td>
- </tr>
- </table>
-
- <h2><img src="{% url telemeta-images "item_title.png" %}" style="vertical-align:middle" /> {% trans "Documents"%}</h2>
- <table class="listing" width="100%">
- <tr>
- <th class="highlight">{% trans "Title" %}</th>
- <th>{% trans "Description" %}</th>
- <th>{% trans "Date added" %}</th>
- </tr>
- {% for document in course.document.all %}
- <tr {% if not forloop.counter0|divisibleby:"2" %}class="odd"{% endif %}>
- <td>{{ document.title }}</td>
- <td>{{ document.description }}</td>
- <td>{{ document.date_added }}</td>
- </tr>
- {% endfor %}
- </table>
-
- <h2><img src="{% url telemeta-images "item_title.png" %}" style="vertical-align:middle" /> {% trans "Medias"%}</h2>
- <table class="listing" width="100%">
- <tr>
- <th class="highlight">{% trans "Title" %}</th>
- <th>{% trans "Description" %}</th>
- <th>{% trans "Date added" %}</th>
- </tr>
- {% for media in course.media.all %}
- <tr {% if not forloop.counter0|divisibleby:"2" %}class="odd"{% endif %}>
- <td><a href="{% url telemeta-item-detail media.item.public_id %}">{{ media.item.title }}</a></td>
- <td>{{ media.item.description }}</td>
- <td>{{ media.date_added }}</td>
- </tr>
- {% endfor %}
- </table>
-
-
- <h2><img src="{% url telemeta-images "item_title.png" %}" style="vertical-align:middle" /> {% trans "Conferences"%}</h2>
- <table class="listing" width="100%">
- <tr>
- <th class="highlight">{% trans "Session" %}</th>
- <th>{% trans "Professor" %}</th>
- <th>{% trans "Date added" %}</th>
- </tr>
- {% for conference in course.conference.all %}
- <tr {% if not forloop.counter0|divisibleby:"2" %}class="odd"{% endif %}>
- <td>{{ conference.session }}</td>
- <td>{{ conference.professor.user.first_name }} {{ conference.professor.user.last_name }}</td>
- <td>{{ conference.date_begin }}</td>
- </tr>
- {% endfor %}
- </table>
-
+<table class="listing" style="width:100%;margin-top: 1em">
+<tr>
+<td class="course_title" style="font-size: 120%;">{{ course.title }}{% if course.description %} - {{ course.description }}{% endif %}</td>
+</tr>
+</table>
+
+
+{% block document %}
+{% with course as course and %}
+{% include "teleforma/inc/document_list.html" %}
+{% endwith %}
+{% endblock %}
+
+{% block media %}
+{% with course as course and %}
+{% include "teleforma/inc/media_list.html" %}
+{% endwith %}
+{% endblock %}
+
+{% block conference %}
+{% with course as course and %}
+{% include "teleforma/inc/conference_list.html" %}
+{% endwith %}
+{% endblock %}
{% endblock course %}
<div id="module-set-left" style="width: 30%">
<div class="module">
<h3><img src="{% url telemeta-images "module_playlist.png" %}" alt="playlists" style="vertical-align:middle" />{% trans "My courses" %}</h3>
-
+
<div style="background: white;">
<ul>
{% block courses %}
</div>
</div>
</div>
-
+
<div class="desk_center">
{% block course %}
+
{% for course in object_list %}
-
+
<table class="listing" style="width:100%;margin-top: 1em">
<tr>
<td class="course_title" style="font-size: 120%;">{{ course.title }}{% if course.description %} - {{ course.description }}{% endif %}</td>
</tr>
</table>
- <h2><img src="{% url telemeta-images "item_title.png" %}" style="vertical-align:middle" /> {% trans "Documents"%}</h2>
- <table class="listing" width="100%">
- <tr>
- <th class="highlight">{% trans "Title" %}</th>
- <th>{% trans "Description" %}</th>
- <th>{% trans "Date added" %}</th>
- </tr>
- {% for document in course.document.all %}
- <tr {% if not forloop.counter0|divisibleby:"2" %}class="odd"{% endif %}>
- <td>{{ document.title }}</td>
- <td>{{ document.description }}</td>
- <td>{{ document.date_added }}</td>
- </tr>
- {% endfor %}
- </table>
+ {% block document %}
+ {% with course as course and %}
+ {% include "teleforma/inc/document_list.html" %}
+ {% endwith %}
+ {% endblock %}
+
+ {% block media %}
+ {% with course as course and %}
+ {% include "teleforma/inc/media_list.html" %}
+ {% endwith %}
+ {% endblock %}
+
+ {% block conference %}
+ {% with course as course and %}
+ {% include "teleforma/inc/conference_list.html" %}
+ {% endwith %}
+ {% endblock %}
- <h2><img src="{% url telemeta-images "item_title.png" %}" style="vertical-align:middle" /> {% trans "Medias"%}</h2>
- <table class="listing" width="100%">
- <tr>
- <th class="highlight">{% trans "Title" %}</th>
- <th>{% trans "Description" %}</th>
- <th>{% trans "Date added" %}</th>
- </tr>
- {% for media in course.media.all %}
- <tr {% if not forloop.counter0|divisibleby:"2" %}class="odd"{% endif %}>
- <td><a href="{% url telemeta-item-detail media.item.public_id %}">{{ media.item.title }}</a></td>
- <td>{{ media.item.description }}</td>
- <td>{{ media.date_added }}</td>
- </tr>
- {% endfor %}
- </table>
-
-
- <h2><img src="{% url telemeta-images "item_title.png" %}" style="vertical-align:middle" /> {% trans "Conferences"%}</h2>
- <table class="listing" width="100%">
- <tr>
- <th class="highlight">{% trans "Session" %}</th>
- <th>{% trans "Professor" %}</th>
- <th>{% trans "Date added" %}</th>
- </tr>
- {% for conference in course.conference.all %}
- <tr {% if not forloop.counter0|divisibleby:"2" %}class="odd"{% endif %}>
- <td>{{ conference.session }}</td>
- <td>{{ conference.professor.user.first_name }} {{ conference.professor.user.last_name }}</td>
- <td>{{ conference.date_begin }}</td>
- </tr>
- {% endfor %}
- </table>
{% endfor %}
{% endblock course %}
--- /dev/null
+{% load i18n %}
+
+ <h2><img src="{% url telemeta-images "item_title.png" %}" style="vertical-align:middle" /> {% trans "Conferences"%}</h2>
+ <table class="listing" width="100%">
+ <thead>
+ <tr>
+ <th class="highlight">{% trans "Session" %}</th>
+ <th>{% trans "Professor" %}</th>
+ <th>{% trans "Date added" %}</th>
+ </tr>
+ </thead>
+ <tbody>
+ {% for conference in course.conference.all %}
+ <tr {% if not forloop.counter0|divisibleby:"2" %}class="odd"{% endif %}>
+ <td>{{ conference.session }}</td>
+ <td>{{ conference.professor.user.first_name }} {{ conference.professor.user.last_name }}</td>
+ <td>{{ conference.date_begin }}</td>
+ </tr>
+ {% endfor %}
+ </tbody>
+ </table>
--- /dev/null
+{% load i18n %}
+
+<h2><img src="{% url telemeta-images "item_title.png" %}" style="vertical-align:middle" /> {% trans "Documents"%}</h2>
+<table class="listing" width="100%">
+ <thead>
+ <tr>
+ <th class="highlight">{% trans "Title" %}</th>
+ <th>{% trans "Description" %}</th>
+ <th>{% trans "Date added" %}</th>
+ </tr>
+ </thead>
+ <tbody>
+ {% for document in course.document.all %}
+ <tr {% if not forloop.counter0|divisibleby:"2" %}class="odd"{% endif %}>
+ <td>{{ document.title }}</td>
+ <td>{{ document.description }}</td>
+ <td>{{ document.date_added }}</td>
+ </tr>
+ {% endfor %}
+ </tbody>
+</table>
--- /dev/null
+{% load i18n %}
+
+
+ <h2><img src="{% url telemeta-images "item_title.png" %}" style="vertical-align:middle" /> {% trans "Medias"%}</h2>
+ <table class="listing" width="100%">
+ <thead>
+ <tr>
+ <th class="highlight">{% trans "Title" %}</th>
+ <th>{% trans "Description" %}</th>
+ <th>{% trans "Date added" %}</th>
+ </tr>
+ </thead>
+ <tbody>
+ {% for media in course.media.all %}
+ <tr {% if not forloop.counter0|divisibleby:"2" %}class="odd"{% endif %}>
+ <td><a href="{% url telemeta-item-detail media.item.public_id %}">{{ media.item.title }}</a></td>
+ <td>{{ media.item.description }}</td>
+ <td>{{ media.date_added }}</td>
+ </tr>
+ {% endfor %}
+ </tbody>
+ </table>
<ul id="nav">
<div id="logo" style="padding-right:8em; float: left;">
-<img src="{% url telemeta-images "logo_mini_wh.png" %}" style="vertical-align:middle"
-alt="Telemeta Powered"/>
+<!--<img src="{% url telemeta-images "logo_mini_wh.png" %}" style="vertical-align:middle"
+alt="Telemeta Powered"/>-->
</div>
{% if user.is_authenticated %}