seperate template into classes

This commit is contained in:
Sriram Hariharan
2019-08-13 14:55:09 -05:00
parent c72931d0ed
commit e4e3898a67
5 changed files with 145 additions and 138 deletions

View File

@@ -2,12 +2,12 @@ if ($('html').hasClass('gr__utexas_collegescheduler_com')) {
$.initialize("table.section-detail-grid", function () {
$(this).find('thead>tr').append('<th> Plus</th')
$(this).find('tbody>tr').each(function () {
$(this).append(Template.extensionButton());
$(this).append(Template.Main.extension_button());
})
});
}
curr_course = {}
$("body").prepend(Template.mainModal());
$("body").prepend(Template.Main.modal());
$("body").on('click', '#distButton', function () {
var row = $(this).closest('tr');