Roughly setup html and some basic javascript. I'm probably going to redo most of this though.
This commit is contained in:
12
static/scripts.js
Normal file
12
static/scripts.js
Normal file
@@ -0,0 +1,12 @@
|
||||
function updateAlerts() {
|
||||
var text = document.querySelector('#alert_text');
|
||||
var email = document.querySelector('#alert_email');
|
||||
alert(text.checked);
|
||||
alert(email.checked);
|
||||
|
||||
fetch('/updateAlerts')
|
||||
}
|
||||
|
||||
function updateFeed() {
|
||||
return null;
|
||||
}
|
||||
Reference in New Issue
Block a user