This commit is contained in:
Oliver Kennedy 2019-01-27 19:57:40 -05:00
parent a647ab0265
commit 566886d646

View file

@ -68,10 +68,10 @@ In this course, you will learn...
<% $db["teaching/cse4_562/2019sp/schedule"].each do |data| %>
<li style="list-style-type: none;list-style-type; margin-top: 3px;">
<div style="display: inline-block; vertical-align: top; text-align: right; padding-right: 20px; width: 100px; font-style: italic;"><%=data["date"]%></div>
<div style="display: inline-block; width: 300px; padding-left: 10px; border-left: solid 1px black;">
<div style="display: inline-block; padding-left: 10px; border-left: solid 1px black;">
<% if data.fetch("due", "") != "" %>Due: <u><%= data["due"] %></u><br/><% end %>
<% if data["type"] != "Lecture" and data["type"] != "Break" %><%=data["type"]%> <% end %>
<%=data["topic"]%>
<%=data["topic"]%>
<% unless data.fetch("materials", {}).empty? %> ( <%= data["materials"].map { |r,url| "<a href=\"#{url}\">#{r}</a>" }.join(" | ") %> )<% end %>
<% if data.has_key? "textbook" then %>
<div style="font-size:70%; margin-left:20px;"><%= data["textbook"] %></div>