-
Notifications
You must be signed in to change notification settings - Fork 0
/
sci-course-shell-page.js
31 lines (30 loc) · 1.22 KB
/
sci-course-shell-page.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
(function () {
if (window.jQuery) {
$().ready(function () {
// are we reading Page activity? if so, make the page title slightly bigger
$("body#page-mod-page-view div[role=main] > h2").addClass(
"cop-page-activity-title"
);
// make tables more readable
// ading table classes for tables in Pages
$("#page-mod-page-view div[role=main] .box.generalbox .no-overflow table")
.not("table.activity-alert")
.addClass("table table-bordered table-hover");
$(
"#page-mod-page-view div[role=main] .box.generalbox .no-overflow table"
).attr("cellpadding", "10");
$(
"#page-mod-page-view div[role=main] .box.generalbox .no-overflow table.activity-alert"
).addClass("w-100 mw-100 alert alert-primary");
$(
"#page-mod-page-view div[role=main] .box.generalbox .no-overflow table.activity-alert"
).attr("role", "alert");
$(
"#page-mod-page-view div[role=main] .box.generalbox .no-overflow table.activity-alert"
).attr("border", "0");
$(
"#page-mod-page-view div[role=main] .box.generalbox .no-overflow table.activity-alert"
).attr("cellpadding", "10");
});
}
})();