Commit 9b0290a3 authored by Zac Wood's avatar Zac Wood

fixed course card header

parent 6c8d6b74
Pipeline #3219 failed with stage
in 2 minutes and 12 seconds
......@@ -2,12 +2,19 @@
<div class="card" id="course-<%= course.id %>" onclick="toggleSections(this)">
<div class="card-header">
<div class="row">
<div class="col">
<h4 class="title"><%= "#{course.subject} #{course.course_number}" %></h4>
<h5><em><%= course.title %></em>. <%= course.credits %> credits.</h5>
<h4 id="add-course-btn" onclick="addCourse(event, '<%= course.id %>');">
</div>
<div class="col">
<h4 id="add-course-btn" class="text-right" onclick="addCourse(event, '<%= course.id %>');">
<i class="fas fa-plus" style="color: green"></i>
</h4>
</div>
</div>
<h5><em><%= course.title %></em></h5>
</div>
<div class="card-body">
<div class="attr-list">
<div class="attr"><i class="fa fa-book"></i> 3 credits</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment