Skip to content

Commit

Permalink
Added Google Classroom
Browse files Browse the repository at this point in the history
  • Loading branch information
dave9123 committed May 11, 2024
1 parent 7ad3727 commit fa0dbcb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions static/worksheets/api/newloader.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ function saveSettings() {
siteName: siteNameInput.value
};
localStorage.setItem('site-settings', JSON.stringify(settings));
console.log("Settings saved!");
}
Binary file added static/worksheets/assets/favicon/classroom-32-32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion static/worksheets/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,13 @@ <h1>Search Engine</h1>
<button type="submit">Save</button>
</form>
<h1>Tab Cloak</h1>
<form id="settings-form">
<form id="settings-form" onsubmit="return event.preventDefault();">
<label for="favicon">Favicon:</label>
<br>
<select id="favicon" name="favicon">
<option value="/worksheets/assets/favicon/logo.png">Astroid Logo</option>
<option value="/worksheets/assets/favicon/gmail-16-16.png">Gmail Logo</option>
<option value="/worksheets/assets/favicon/classroom-32-32.png">Classroom Logo</option>
</select>
<br>
<label for="site-name">Site Name:</label>
Expand Down

0 comments on commit fa0dbcb

Please sign in to comment.