Browse Source

Only the lab page's table gets borders (login, etc. don't)

raylu 14 năm trước cách đây
mục cha
commit
819db9b23a
2 tập tin đã thay đổi với 4 bổ sung4 xóa
  1. 1 1
      pyc/templates/lab.html
  2. 3 3
      static/style.css

+ 1 - 1
pyc/templates/lab.html

@@ -4,7 +4,7 @@ Lab {{ lab.id }} due {{ lab.due }} at 11:59:59 PDT (UTC-7):
 <br>{{ lab.name }}
 <br><a href="/static/lab{{ lab.id }}.py">Download</a> the starter code
 
-<p><table>
+<p><table id="lab">
 <tr>
 	<th>User</th>
 	<th>Grade</th>

+ 3 - 3
static/style.css

@@ -1,11 +1,11 @@
-table {
+table#lab {
 	border-collapse: collapse;
 	border: 1px solid #000;
 }
-th {
+#lab th {
 	padding: 5px;
 }
-td {
+#lab td {
 	border: 1px solid #000;
 	padding: 5px;
 }