view index.html @ 16:a87969972d85

lib updates, auth update and cleanup, reformat
author drewp@bigasterisk.com
date Sun, 13 Sep 2020 23:31:25 -0700
parents c3f5b0236d0f
children 4d578c67bf79
line wrap: on
line source

<!DOCTYPE html>
<html>
	<head><title>gcalendarwatch</title></head>
	<body>

	<p>MSG</p>

	<button data-bind="click: pollNow">poll now</button>

	<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 () {
		$.post("pollNow", function () {
			window.location.reload();
		});
	}
};

ko.applyBindings(model);
// ]]>
</script>
</body>

</html>