Skip to content

Commit

Permalink
Merge pull request UseInterstellar#574 from airtag8892/upstream
Browse files Browse the repository at this point in the history
gamer
  • Loading branch information
MadjikDotPng authored Mar 29, 2024
2 parents 8521caf + bd3608d commit d1b0adb
Show file tree
Hide file tree
Showing 15 changed files with 115 additions and 1 deletion.
Binary file added static/assets/media/favicon/deltamath.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/assets/media/favicon/goguardian-lock.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/assets/media/favicon/goguardian.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/assets/media/favicon/googleforms.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/assets/media/favicon/kami.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added static/assets/media/favicon/nearpod.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/assets/media/favicon/newsela.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/assets/media/favicon/noredink.webp
Binary file not shown.
Binary file added static/assets/media/favicon/powerschool.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/assets/media/favicon/quizlet.webp
Binary file not shown.
Binary file added static/assets/media/favicon/studentvue.ico
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
95 changes: 95 additions & 0 deletions static/assets/scripts/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,101 @@ document.addEventListener('DOMContentLoaded', function (event) {
name.textContent = 'Minga – Creating Amazing Schools'
localStorage.setItem('name', 'Minga – Creating Amazing Schools')
localStorage.setItem('icon', '/assets/media/favicon/minga.png')
} else if (selectedValue === 'i-Ready Learning Games') {
icon.setAttribute('href', '/assets/media/favicon/i-ready.ico')
name.textContent = 'Learning Games, i-Ready'
localStorage.setItem('name', 'Learning Games, i-Ready')
localStorage.setItem('icon', '/assets/media/favicon/i-ready.ico')
} else if (selectedValue === 'NoRedInk Home') {
icon.setAttribute('href', '/assets/media/favicon/noredink.webp')
name.textContent = 'Student Home | NoRedInk'
localStorage.setItem('name', 'Student Home | NoRedInk')
localStorage.setItem('icon', '/assets/media/favicon/noredink.webp')
} else if (selectedValue === 'Newsela Binder') {
icon.setAttribute('href', '/assets/media/favicon/newsela.png')
name.textContent = 'Newsela | Binder'
localStorage.setItem('name', 'Newsela | Binder')
localStorage.setItem('icon', '/assets/media/favicon/newsela.png')
} else if (selectedValue === 'Newsela Assignments') {
icon.setAttribute('href', '/assets/media/favicon/newsela.png')
name.textContent = 'Newsela | Assignments'
localStorage.setItem('name', 'Newsela | Assignments')
localStorage.setItem('icon', '/assets/media/favicon/newsela.png')
} else if (selectedValue === 'Newsela Home') {
icon.setAttribute('href', '/assets/media/favicon/newsela.png')
name.textContent = 'Newsela | Instructional Content Platform'
localStorage.setItem('name', 'Newsela | Instructional Content Platform')
localStorage.setItem('icon', '/assets/media/favicon/newsela.png')
} else if (selectedValue === 'PowerSchool Sign In') {
icon.setAttribute('href', '/assets/media/favicon/powerschool.png')
name.textContent = 'Student and Parent Sign In'
localStorage.setItem('name', 'Student and Parent Sign In')
localStorage.setItem('icon', '/assets/media/favicon/powerschool.png')
} else if (selectedValue === 'PowerSchool Grades and Attendance') {
icon.setAttribute('href', '/assets/media/favicon/powerschool.png')
name.textContent = 'Grades and Attendance'
localStorage.setItem('name', 'Grades and Attendance')
localStorage.setItem('icon', '/assets/media/favicon/powerschool.png')
} else if (selectedValue === 'PowerSchool Teacher Comments') {
icon.setAttribute('href', '/assets/media/favicon/powerschool.png')
name.textContent = 'Teacher Comments'
localStorage.setItem('name', 'Teacher Comments')
localStorage.setItem('icon', '/assets/media/favicon/powerschool.png')
} else if (selectedValue === 'PowerSchool Standards Grades') {
icon.setAttribute('href', '/assets/media/favicon/powerschool.png')
name.textContent = 'Standards Grades'
localStorage.setItem('name', 'Standards Grades')
localStorage.setItem('icon', '/assets/media/favicon/powerschool.png')
} else if (selectedValue === 'PowerSchool Attendance') {
icon.setAttribute('href', '/assets/media/favicon/powerschool.png')
name.textContent = 'Attendance'
localStorage.setItem('name', 'Attendance')
localStorage.setItem('icon', '/assets/media/favicon/powerschool.png')
} else if (selectedValue === 'Nearpod') {
icon.setAttribute('href', '/assets/media/favicon/nearpod.png')
name.textContent = 'Nearpod'
localStorage.setItem('name', 'Nearpod')
localStorage.setItem('icon', '/assets/media/favicon/nearpod.png')
} else if (selectedValue === 'StudentVUE') {
icon.setAttribute('href', '/assets/media/favicon/studentvue.ico')
name.textContent = 'StudentVUE'
localStorage.setItem('name', 'StudentVUE')
localStorage.setItem('icon', '/assets/media/favicon/studentvue.ico')
} else if (selectedValue === 'Quizlet Home') {
icon.setAttribute('href', '/assets/media/favicon/quizlet.webp')
name.textContent = 'Flashcards, learning tools and textbook solutions | Quizlet'
localStorage.setItem('name', 'Flashcards, learning tools and textbook solutions | Quizlet')
localStorage.setItem('icon', '/assets/media/favicon/quizlet.webp')
} else if (selectedValue === 'Google Forms Locked Mode') {
icon.setAttribute('href', '/assets/media/favicon/googleforms.png')
name.textContent = 'Start your quiz'
localStorage.setItem('name', 'Start your quiz')
localStorage.setItem('icon', '/assets/media/favicon/googleforms.png')
} else if (selectedValue === 'DeltaMath') {
icon.setAttribute('href', '/assets/media/favicon/deltamath.png')
name.textContent = 'DeltaMath'
localStorage.setItem('name', 'DeltaMath')
localStorage.setItem('icon', '/assets/media/favicon/deltamath.png')
} else if (selectedValue === 'Kami') {
icon.setAttribute('href', '/assets/media/favicon/kami.png')
name.textContent = 'Kami'
localStorage.setItem('name', 'Kami')
localStorage.setItem('icon', '/assets/media/favicon/kami.png')
} else if (selectedValue === 'GoGuardian Admin Restricted') {
icon.setAttribute('href', '/assets/media/favicon/goguardian-lock.png')
name.textContent = 'Restricted'
localStorage.setItem('name', 'Restricted')
localStorage.setItem('icon', '/assets/media/favicon/goguardian-lock.png')
} else if (selectedValue === 'GoGuardian Teacher Block') {
icon.setAttribute('href', '/assets/media/favicon/goguardian.png')
name.textContent = 'Uh oh!'
localStorage.setItem('name', 'Uh oh!')
localStorage.setItem('icon', '/assets/media/favicon/goguardian.png')
} else if (selectedValue === 'World History Encyclopedia') {
icon.setAttribute('href', '/assets/media/favicon/worldhistoryencyclopedia.png')
name.textContent = 'World History Encyclopedia'
localStorage.setItem('name', 'World History Encyclopedia')
localStorage.setItem('icon', '/assets/media/favicon/worldhistoryencyclopedia.png')
}
})
// Key
Expand Down
21 changes: 20 additions & 1 deletion static/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,25 @@ <h3>Tab Cloaker</h3>
<option value="Britannica">Britannica</option>
<option value="Ducksters">Ducksters</option>
<option value="Minga">Minga</option>
<option value="i-Ready Learning Games">i-Ready Learning Games</option>
<option value="NoRedInk Home">NoRedInk Home</option>
<option value="Newsela Binder">Newsela Binder</option>
<option value="Newsela Assignments">Newsela Assignments</option>
<option value="Newsela Home">Newsela Home</option>
<option value="PowerSchool Sign In">PowerSchool Sign In</option>
<option value="PowerSchool Grades and Attendance">PowerSchool Grades and Attendance</option>
<option value="PowerSchool Teacher Comments">PowerSchool Teacher Comments</option>
<option value="PowerSchool Standards Grades">PowerSchool Standards Grades</option>
<option value="PowerSchool Attendance">PowerSchool Attendance</option>
<option value="Nearpod">Nearpod</option>
<option value="StudentVUE">StudentVUE</option>
<option value="Quizlet Home">Quizlet Home</option>
<option value="Google Forms Locked Mode">Google Forms - Locked Mode</option>
<option value="DeltaMath">DeltaMath</option>
<option value="Kami">Kami</option>
<option value="GoGuardian Admin Restricted">GoGuardian Admin Block</option>
<option value="GoGuardian Teacher Block">GoGuardian Teacher Block</option>
<option value="World History Encyclopedia">World History Encyclopedia</option>
</select>
<input class="key-form" type="text" id="icon" placeholder="Change Tab Icon" name="icon" />
<input class="key-form" type="text" id="name" name="name" placeholder="Change Tab Name" />
Expand Down Expand Up @@ -147,7 +166,7 @@ <h3>Themes!</h3>
<div class="settings-card">
<h3>Site Info</h3>
<p>Version: 5.1.5</p>
<p id="last-updated">Last Updated: March 23rd, 2024</p>
<p id="last-updated">Last Updated: March 28th, 2024</p>
<p>
Questions? Need more links? Join our community at
<a style="color: white" href="https://discord.gg/interstellar">discord.gg/interstellar</a>!
Expand Down

0 comments on commit d1b0adb

Please sign in to comment.