}
th.school-name {
+ display: none;
}
th.course-name {
+ display: none;
}
th.instructor-name {
+ display: none;
}
/*background: url(../img/dashboard_activity_alt_on_bg.gif);*/
}
-/* underline all linksin the table body */
+/* underline all links in the table body */
table#course_list tbody td a {
text-decoration: underline;
}
width: 840px;
}
-/* hack - Provide positioning for the "sort by text" */
+/***************
+Slim Row
+***************/
table.dataTable td.sort_by {
+ /* hack - Provide positioning for the "sort by text" */
display:none;
}
td.date {
font-size: 12px;
- width: 200px;
+ width: 405px;
}
td.note-count {
font-size: 12px;
- width: 600px; /* 100% minus td.date width -- make sure the next line wraps */
-}
-
-td.school-name {
- width: 200px; /* make this the same as td.date -- line up the artificial columns */
+ width: 400px; /* 100% minus td.date width -- make sure the next line wraps */
}
+/***************
+Fat Row
+***************/
td.course-name {
width: 340px;
}
-
table#course_list td div.upload {
width: 45px;
height: 45px;
margin-top: -8px;
}
+td.school-name {
+ width: 200px; /* make this the same as td.date -- line up the artificial columns */
+}
+
+td.instructor-name {
+ width:200px;
+}
+
+
+
+
table#course_list td div.upload i {
display: block;
cursor: pointer;
visibility: visible;
}
-td.instructor-name {
- width:200px;
-}
+
<th class="sort_by">Sort by:</th>
<th class="date"> Date </th>
<th class="note-count"> #Notes </th>
- <th class="school-name"> Institution </th>
<th class="course-name"> Course Name </th>
+ <th class="school-name"> Institution </th>
<th class="instructor-name"> Instructor </th>
</tr>
</thead>
<td class="sort_by"></td>
<td class="date slim"> {{ course.updated_at|date:"F d, o" }} </td> <!-- https://docs.djangoproject.com/en/1.4/ref/templates/builtins/#date -->
<td class="note-count slim"> {{ course.file_count }} </td>
- <td class="school-name"> {{ course.school.name }} </td>
<td class="course-name"> <a href="{{ course.get_absolute_url }}">{{ course.name }}</a> </td>
<td class="upload"> <div class="upload"><a href="{{ course.get_absolute_url }}#upload-note"><i class="icon-upload"></i></a></div></td>
+ <td class="school-name"> {{ course.school.name }} </td>
<td class="instructor-name"> {{ course.instructor_name }} </td>
</tr>
{% endfor %}