Add future styling
This commit is contained in:
parent
211825faf8
commit
3c55c64b3f
@ -25,7 +25,8 @@
|
||||
</tr>
|
||||
|
||||
<% lectures.each do |lecture| %>
|
||||
<tr>
|
||||
<% style = if lecture.start_time.future? then 'background: repeating-linear-gradient(45deg, #f3f4f6, #f3f4f6 10px, white 10px, white 20px);' else '' end %>
|
||||
<tr style="<%= style %>">
|
||||
<td class="whitespace-nowrap py-4 pl-4 pr-3 text-sm font-medium text-gray-900 sm:pl-6">
|
||||
<%= lecture.nice_title %>
|
||||
</td>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user