Add the rest of my modules

This commit is contained in:
Joshua Coles 2023-10-02 11:13:31 +01:00
parent 58c1280309
commit fcff7ca839
2 changed files with 17 additions and 1 deletions

View File

@ -8,7 +8,7 @@
<div class="overflow-hidden shadow ring-1 ring-black ring-opacity-5 sm:rounded-lg">
<h2 class="text-2xl p-2 px-4"><%= course.title %></h2>
<table class="border-t-2 divide-y divide-gray-300">
<table class="border-t-2 divide-y divide-gray-300 w-full">
<thead class="bg-gray-50">
<tr>
<th scope="col" class="py-3.5 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 sm:pl-6">Lecture</th>

View File

@ -21,3 +21,19 @@ Course.create!(
unit_code: 'MA30253',
semester_start_date: START_OF_YEAR_5_SEMESTER_1.to_date,
)
Course.create!(
title: 'Quantum Mechanics',
panopto_folders: ['7f5198a9-8261-4e11-9007-b07500bc314b'],
toggl_project: 195518593,
unit_code: 'PH30030',
semester_start_date: START_OF_YEAR_5_SEMESTER_1.to_date,
)
Course.create!(
title: 'Measure Theory & Integration',
panopto_folders: ["af2c415a-6a21-4f08-ba76-b07500a2174c"],
toggl_project: 195519024,
unit_code: 'MA40042',
semester_start_date: START_OF_YEAR_5_SEMESTER_1.to_date,
)