Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions bases/rsptx/interactives/runestone/common/js/bookfuncs.js
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@ function createStudyCluesWidget() {
if (studyCluesConversationId === -1) {
if (sectionInfo) {
query = `Regarding section "${sectionInfo}": ${query}`;
}
}
}
rb.logBookEvent({ event: "studyclues_query", act: `query: ${query}`, div_id: `${sectionInfo}` });
appendStudyCluesMessage(messagesEl, "user", query); // todo: make this conditional on being a book page and on the book being one of the supported books
Expand Down Expand Up @@ -827,7 +827,10 @@ function shouldShowStudyCluesWidget() {


const enabledBasecourses = ["csawesome2", "py4e-int", "thinkcspy", "httlacs", "PTXSB", "cppds2"];
const enabledCourses = ["SI201-W26-MW", "SI201-W26-TTh", "DukeCS101SP26", "mcd-csa-schoology", "mcd-csa-canvas", "csawesome2-MOOC", "test_py4e-int_api", "bc_cppds_s26", "Test-py4e-int", "virginiatech_py4e-int_spring26"];
const enabledCourses = ["SI201-W26-MW", "SI201-W26-TTh", "DukeCS101SP26",
"mcd-csa-schoology", "mcd-csa-canvas", "csawesome2-MOOC",
"test_py4e-int_api", "bc_cppds_s26", "Test-py4e-int",
"virginiatech_py4e-int_spring26", "umsi101_fall26"];
Comment on lines 829 to +833
const host = window.location.hostname;

if (host === "localhost") {
Expand Down
6 changes: 3 additions & 3 deletions components/rsptx/templates/admin/auth/_auth_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
box-shadow: 0 2px 10px rgba(0,0,0,0.10);
}
.auth-card h1 {
color: #ab1059;
color: #4a90e2;
font-size: 2em;
font-weight: 300;
margin-bottom: 24px;
text-align: center;
}
.auth-card .form-group label { font-weight: 500; }
.btn-rs-primary {
background: #ab1059;
background: #4a90e2;
color: white;
border: none;
padding: 10px 28px;
Expand All @@ -37,7 +37,7 @@
width: 100%;
margin-top: 8px;
}
.btn-rs-primary:hover { background: #8a0d49; color: white; }
.btn-rs-primary:hover { background: #357abd; color: white; }
.auth-links { text-align: center; margin-top: 16px; font-size: 0.92em; }
.auth-links a { color: #4a90e2; }
</style>
Expand Down
10 changes: 5 additions & 5 deletions components/rsptx/templates/admin/auth/courses.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@
box-shadow: 0 2px 10px rgba(0,0,0,0.10);
}
.courses-container h1 {
color: #ab1059;
color: #4a90e2;
font-size: 2em;
font-weight: 300;
margin-bottom: 8px;
}
.section-title {
color: #ab1059;
color: #4a90e2;
font-size: 1.1em;
font-weight: 600;
margin-top: 28px;
margin-bottom: 10px;
border-bottom: 1px solid #f0d0de;
border-bottom: 1px solid #c8dff5;
padding-bottom: 4px;
}
.course-option {
Expand All @@ -39,7 +39,7 @@
margin-bottom: 12px;
}
.btn-rs-primary {
background: #ab1059;
background: #4a90e2;
color: white;
border: none;
padding: 10px 28px;
Expand All @@ -49,7 +49,7 @@
cursor: pointer;
margin-top: 16px;
}
.btn-rs-primary:hover { background: #8a0d49; color: white; }
.btn-rs-primary:hover { background: #357abd; color: white; }
</style>
{% endblock %}

Expand Down
24 changes: 12 additions & 12 deletions components/rsptx/templates/admin/auth/my_courses.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@
box-shadow: 0 2px 10px rgba(0,0,0,0.10);
}
.my-courses-container h1 {
color: #ab1059;
color: #4a90e2;
font-size: 2em;
font-weight: 300;
margin-bottom: 8px;
}
.section-title {
color: #ab1059;
color: #4a90e2;
font-size: 1.1em;
font-weight: 600;
margin-top: 28px;
margin-bottom: 10px;
border-bottom: 1px solid #f0d0de;
border-bottom: 1px solid #c8dff5;
padding-bottom: 4px;
}
.course-row {
Expand All @@ -40,7 +40,7 @@
font-size: 1em;
}
.badge-active {
background: #ab1059;
background: #4a90e2;
color: #fff;
font-size: 0.75em;
padding: 2px 8px;
Expand All @@ -56,7 +56,7 @@
font-weight: 600;
}
.btn-switch {
background: #ab1059;
background: #4a90e2;
color: #fff;
border: none;
padding: 5px 14px;
Expand All @@ -65,22 +65,22 @@
cursor: pointer;
white-space: nowrap;
}
.btn-switch:hover { background: #8a0d49; color: #fff; }
.btn-switch:hover { background: #357abd; color: #fff; }
.btn-switch:disabled {
background: #ccc;
cursor: default;
}
.btn-drop {
background: transparent;
color: #ab1059;
border: 1px solid #ab1059;
color: #4a90e2;
border: 1px solid #4a90e2;
padding: 5px 12px;
border-radius: 5px;
font-size: 0.9em;
cursor: pointer;
white-space: nowrap;
}
.btn-drop:hover { background: #fdf0f5; }
.btn-drop:hover { background: #f0f7ff; }
.actions-row {
margin-top: 32px;
display: flex;
Expand All @@ -89,16 +89,16 @@
}
.btn-rs-secondary {
background: transparent;
color: #ab1059;
border: 2px solid #ab1059;
color: #4a90e2;
border: 2px solid #4a90e2;
padding: 9px 22px;
border-radius: 6px;
font-size: 15px;
font-weight: 600;
cursor: pointer;
text-decoration: none;
}
.btn-rs-secondary:hover { background: #fdf0f5; color: #ab1059; }
.btn-rs-secondary:hover { background: #f0f7ff; color: #4a90e2; }
.empty-notice {
color: #999;
font-style: italic;
Expand Down
4 changes: 2 additions & 2 deletions components/rsptx/templates/admin/auth/profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
<style>
.auth-card { max-width: 580px; }
.section-label {
color: #ab1059;
color: #4a90e2;
font-size: 1em;
font-weight: 600;
margin-top: 24px;
margin-bottom: 8px;
border-bottom: 1px solid #f0d0de;
border-bottom: 1px solid #c8dff5;
padding-bottom: 4px;
}
.danger-zone {
Expand Down
4 changes: 2 additions & 2 deletions components/rsptx/templates/admin/auth/register.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
<style>
.auth-card { max-width: 600px; }
.section-label {
color: #ab1059;
color: #4a90e2;
font-size: 1em;
font-weight: 600;
margin-top: 20px;
margin-bottom: 8px;
border-bottom: 1px solid #f0d0de;
border-bottom: 1px solid #c8dff5;
padding-bottom: 4px;
}
</style>
Expand Down