changeset 88:a60b71615353

clean up index.html
author drewp@bigasterisk.com
date Sat, 07 Sep 2024 16:18:55 -0700
parents 84141ef00bd7
children 9d925c49b005
files index.html
diffstat 1 files changed, 14 insertions(+), 54 deletions(-) [+]
line wrap: on
line diff
--- a/index.html	Sat Sep 07 16:15:38 2024 -0700
+++ b/index.html	Sat Sep 07 16:18:55 2024 -0700
@@ -1,58 +1,18 @@
 <!DOCTYPE html>
 <html>
-	<head>
-	    <meta name="viewport" content="width=device-width, initial-scale=1" />
-		<title>gcalendarwatch</title></head>
-		<style>
-			button { min-height: 80px; }
-		</style>
-	<body>
-
-	<p>MSG</p>
-
-	<button data-bind="click: pollNow">poll now</button>
-	<button data-bind="click: poll1Now">poll just ps4Online and vrOnline cal now</button>
-<pre  id="results">
-</pre>
-
-<hr>
-<div><a href="graph/calendar/upcoming">graph/calendar/upcoming</a></div>
-<div><a href="graph/calendar/upcoming/events">graph/calendar/upcoming/events</a></div>
-<div><a href="graph/calendar/countdown">graph/calendar/countdown</a></div>
-<div><a href="graph/calendar/countdown/events">graph/calendar/countdown/events</a></div>
-<div><a href="graph/currentEvents">graph/currentEvents</a></div>
-<div><a href="graph/currentEvents/events">graph/currentEvents/events</a></div>
-<div><a href="metrics">metrics</a></div>
+  <head>
+    <meta name="viewport" content="width=device-width, initial-scale=1" />
+    <title>gcalendarwatch</title>
+  </head>
+  <body>
+    <h1>gcalendarwatch</p>
 
-	<script type="text/javascript" src="https://bigasterisk.com/lib/jquery-2.0.3.min.js"></script>
-	<script type="text/javascript" src="https://bigasterisk.com/lib/knockout-3.1.0.js"></script>
-	<script type="text/javascript">
-// <![CDATA[
-
-var model = {
-	pollNow: function () {
-		document.querySelector("#results").innerText += "poll...\n"
-		$.post("pollNow", function (res) {
-			document.querySelector("#results").innerText += res + "\ndone.\n"
-		});
-	},
-	poll1Now: function() {
-		document.querySelector("#results").innerText += "poll...\n"
-		$.post("pollNow", JSON.stringify({
-			cals: [
-				"iem9ppgqdbleh96nkeaj4l6714@group.calendar.google.com",
-				"i08lv6mki8a23lloc139il5oh8@group.calendar.google.com",
-		]
-		}),
-		 function (res) {
-			document.querySelector("#results").innerText += res + "\ndone.\n"
-		});
-	}
-};
-
-ko.applyBindings(model);
-// ]]>
-</script>
-</body>
-
+    <div><a href="graph/calendar/upcoming">graph/calendar/upcoming</a></div>
+    <div><a href="graph/calendar/upcoming/events">graph/calendar/upcoming/events</a></div>
+    <div><a href="graph/calendar/countdown">graph/calendar/countdown</a></div>
+    <div><a href="graph/calendar/countdown/events">graph/calendar/countdown/events</a></div>
+    <div><a href="graph/currentEvents">graph/currentEvents</a></div>
+    <div><a href="graph/currentEvents/events">graph/currentEvents/events</a></div>
+    <div><a href="metrics">metrics</a></div>
+  </body>
 </html>