File tree Expand file tree Collapse file tree 3 files changed +11
-6
lines changed Expand file tree Collapse file tree 3 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -176,17 +176,23 @@ table {
176
176
177
177
table > * > tr > td {
178
178
padding : 6px 14px 6px 14px ;
179
- text-align : center ;
180
179
}
181
180
182
181
table > * > tr > th {
183
182
padding : 6px 4px 6px 4px ;
184
183
border : 0 ;
184
+ }
185
+
186
+ table .points > * > tr > th {
185
187
text-align : center ;
186
188
max-width : 5rem ;
187
189
word-wrap : break-word ;
188
190
}
189
191
192
+ table .points > * > tr > td {
193
+ text-align : center ;
194
+ }
195
+
190
196
tr .table-totals > td {
191
197
font-weight : bold ;
192
198
}
Original file line number Diff line number Diff line change
1
+ @import " _breadcrumb" ;
2
+
1
3
.course-point-header {
2
4
display : flex ;
3
5
justify-content : space-around ;
6
8
}
7
9
8
10
.point-cell {
9
- border : 1px solid black ;
11
+ border : 1px solid darken ( $breadcrumb-grey , 5 % ) ;
10
12
}
11
13
12
14
.points-container {
Original file line number Diff line number Diff line change 30
30
< tr class ="table-totals ">
31
31
< td > -</ td >
32
32
<% nstudents = @summary [ :users ] . length %>
33
- < td > <%= nstudents %> </ td >
34
- <% if @user_fields %>
35
- < td colspan ="<%= @user_fields . length %> "> </ td >
36
- <% end %>
33
+ < td colspan ="<%= ( @user_fields ? @user_fields . length : 0 ) + 1 %> "> <%= nstudents %> </ td >
37
34
<% @summary [ :sheets ] . each do |sheet | %>
38
35
< td >
39
36
<%= "#{ sheet [ :total_awarded ] } /#{ sheet [ :total_available ] *nstudents } " %>
You can’t perform that action at this time.
0 commit comments