#content {
/*margin-top: 1em;*/
position: relative;
- margin-left: 5%;
+ margin-left: 3%;
margin-right: 2em;
margin-bottom: 0em;
}
border-bottom: 1px solid #dfdfdf;
font-weight: normal;
}
+
+table.listing td.border-top {
+ border-top: 1px solid #dfdfdf;
+}
+
+
table.listing thead { background: #fafafa; /*background: #e8eaf0*/ }
table.listing thead th {
font-size: 0.9em;
font-weight: normal;
}
table.listing tbody td {
- padding: 0.5em 0em 0.5em 0.8em;
+ padding: 0.5em 0em 0.5em 0em;
font-weight: normal;
font-size: 0.9em;
}
table.listing tbody td a:hover, table.listing tbody th a:hover {
background-color: transparent;
}
-table.listing tbody tr { border-top: 1px solid #ddd }
+table.listing tbody tr { border-top: 1px solid #dfdfdf; }
table.listing tbody tr.even { background-color: transparent }
table.listing tbody tr.odd { background-color: transparent }
table.listing tbody tr:hover { background: transparent !important }
.desk_center {
float: left;
width:52%;
- padding: 0em 2em 0em 1em;
+ padding: 0em 2em 0em 2em;
max-height: 550px;
overflow-y: auto;
}
font-size: 0.8125em;
text-align: center;
}
-
<tbody>
{% for stream in course.livestream.all|from_course_type:type %}
<tr {% if not forloop.counter0|divisibleby:"2" %}class="odd"{% endif %}>
- <td><a href="{% url teleforma-conference-detail conference.id %}" title="{% trans "View" %}"><img src="{{ STATIC_URL }}/teleforma/images/network-wireless.png" style="vertical-align:middle" alt="" /> {{ stream.slug }}</a></td>
- <td>{% if conference.professor.user %}<a href="{% url teleforma-profile-detail conference.professor.user.username %}" target="_blank">{{ conference.professor }}</a>{% endif %}</td>
- <td><a href="{% url teleforma-conference-detail conference.id %}">{{ conference.date_begin }}</a></td>
- <td align="center">
+ <td {% if forloop.counter0 == 0 %}class="border-top"{% endif %}><a href="{% url teleforma-conference-detail conference.id %}" title="{% trans "View" %}"><img src="{{ STATIC_URL }}/teleforma/images/network-wireless.png" style="vertical-align:middle" alt="" /> {{ stream.slug }}</a></td>
+ <td {% if forloop.counter0 == 0 %}class="border-top"{% endif %}>{% if conference.professor.user %}<a href="{% url teleforma-profile-detail conference.professor.user.username %}" target="_blank">{{ conference.professor }}</a>{% endif %}</td>
+ <td {% if forloop.counter0 == 0 %}class="border-top"{% endif %}><a href="{% url teleforma-conference-detail conference.id %}">{{ conference.date_begin }}</a></td>
+ <td {% if forloop.counter0 == 0 %}class="border-top"{% endif %} align="center">
{% if conference.streaming %}
<img src="images/media-record.png" alt="yes" style="vertical-align:middle" />
{% endif %}
<tbody>
{% for document in course.document.all|from_course_type:type|from_doc_type:doc_type %}
<tr>
- <td>{% if document.file %}<a href="{% url teleforma-document-view document.id %}" target="_blank" title="{% trans "View" %}"><img src="{{ STATIC_URL }}/teleforma/images/application-msword.png" style="vertical-align:middle" alt="" />{% endif %} {{ document.title }}{% if document.file %}</a>{% endif %}</td>
+ <td {% if forloop.counter0 == 0 %}class="border-top"{% endif %}>{% if document.file %}<a href="{% url teleforma-document-view document.id %}" target="_blank" title="{% trans "View" %}"><img src="{{ STATIC_URL }}/teleforma/images/application-msword.png" style="vertical-align:middle" alt="" />{% endif %} {{ document.title }}{% if document.file %}</a>{% endif %}</td>
<!--<td align="center">
{% if document.is_annal %}
<img src="images/ok.png" alt="yes" style="vertical-align:middle" />
{% endif %}
</td>-->
- <td>{{ document.date_added }}</td>
- <td align="center">{% if document.file %}<a href="{% url teleforma-document-download document.id %}"><img src="{% url telemeta-images "download.png" %}" width="16px" style="vertical-align:middle" alt="" title="{% trans "Download" %}" /></a>{% endif %}</td>
+ <td {% if forloop.counter0 == 0 %}class="border-top"{% endif %}>{{ document.date_added }}</td>
+ <td {% if forloop.counter0 == 0 %}class="border-top"{% endif %} align="center">{% if document.file %}<a href="{% url teleforma-document-download document.id %}"><img src="{% url telemeta-images "download.png" %}" width="16px" style="vertical-align:middle" alt="" title="{% trans "Download" %}" /></a>{% endif %}</td>
</tr>
{% endfor %}
</tbody>
{% for media in course.media.all|from_course_type:type %}
{% if media.published or user.is_staff %}
<tr>
- <td><a href="{% url teleforma-media-detail media.id %}" title="{% trans "View" %}"><img src="{{ STATIC_URL }}/teleforma/images/tool-animator.png" style="vertical-align:middle" alt="" /> {{ media.title }}</a></td>
- <td><a href="{% url teleforma-media-detail media.id %}">{{ media.conference.session }}</a></td>
- <td>{% if media.conference.professor.user %}<a href="{% url teleforma-profile-detail media.conference.professor.user.username %}" target="_blank">{{ media.conference.professor }}</a>{% endif %}</td>
- <td>{% if media.conference.date_begin %}<a href="{% url teleforma-media-detail media.id %}">{{ media.conference.date_begin }}</a>{% endif %}</td>
- <td>{{ media.item.approx_duration }}</td>
+ <td {% if forloop.counter0 == 0 %}class="border-top"{% endif %}><a href="{% url teleforma-media-detail media.id %}" title="{% trans "View" %}"><img src="{{ STATIC_URL }}/teleforma/images/tool-animator.png" style="vertical-align:middle" alt="" /> {{ media.title }}</a></td>
+ <td {% if forloop.counter0 == 0 %}class="border-top"{% endif %}><a href="{% url teleforma-media-detail media.id %}">{{ media.conference.session }}</a></td>
+ <td {% if forloop.counter0 == 0 %}class="border-top"{% endif %}>{% if media.conference.professor.user %}<a href="{% url teleforma-profile-detail media.conference.professor.user.username %}" target="_blank">{{ media.conference.professor }}</a>{% endif %}</td>
+ <td {% if forloop.counter0 == 0 %}class="border-top"{% endif %}>{% if media.conference.date_begin %}<a href="{% url teleforma-media-detail media.id %}">{{ media.conference.date_begin }}</a>{% endif %}</td>
+ <td {% if forloop.counter0 == 0 %}class="border-top"{% endif %}>{{ media.item.approx_duration }}</td>
</tr>
{% endif %}
{% endfor %}