diff --git a/public/home.js b/public/home.js deleted file mode 100644 index 0edf2d0..0000000 --- a/public/home.js +++ /dev/null @@ -1,47 +0,0 @@ -function http(method, remote, callback, body) { - var xmlhttp = new XMLHttpRequest(); - xmlhttp.onreadystatechange = function() { - if (xmlhttp.readyState == XMLHttpRequest.DONE) { // XMLHttpRequest.DONE == 4 - callback(xmlhttp.responseText, xmlhttp.status) - } - }; - xmlhttp.open(method, remote, true); - if (typeof body == "undefined") { - body = null - } - xmlhttp.send(body); -} - -function populate_schedule(csv, status_code) { - console.log("status_code", status_code) - csv = csv.split("\n") - var first = true; - var table = ""; - for (var i in csv) { - table += "\n" - i = csv[i].split('","') - for (var j in i) { - j = i[j] - j = j.replace(/(^"|"$)/g, "") - table += first ? "" : "" - table += j - table += first ? "" : "" - } - table += "\n" - first = false; - } - document.getElementById("schedule").innerHTML = table -} - -var cors_anywhere = "https://cors-anywhere.herokuapp.com" -var google_doc_pre = "https://docs.google.com/spreadsheets/d/" -var google_doc_id = "14F7zRrwGT6JkCeZqZLPM2r2GScrm9FLFxlPtDINbNWg" -var google_doc_post = "/gviz/tq?tqx=out:csv" - //"https://www.googleapis.com/drive/v3/files/14F7zRrwGT6JkCeZqZLPM2r2GScrm9FLFxlPtDINbNWg/export?mimeType=text/csv&key=AIzaSyCFIWSe7vBnZ-1KRR9yVMbCPW08oCOHRJI", - -http( - "get", - `${cors_anywhere}/${google_doc_pre}/${google_doc_id}/${google_doc_post}`, - populate_schedule, - JSON.stringify({"cc": "cc"}), -) diff --git a/public/index.html b/public/index.html index 52c11bf..5339bb3 100644 --- a/public/index.html +++ b/public/index.html @@ -1,18 +1,8 @@ -
- - - -
- this css -
-

Utah Velo Club

-

The club is located in Utah County. Just South of Salt Lake City, Utah!

-
-
+
+

Utah Velo Club

+

The club is located in Utah County. Just South of Salt Lake City, Utah!

+

Site last Updated: May 10, 2019

@@ -71,4 +65,69 @@
+ + + + diff --git a/public/light.css b/public/light.css deleted file mode 120000 index 9fb1c5d..0000000 --- a/public/light.css +++ /dev/null @@ -1 +0,0 @@ -../private/water.css/dist/light.css \ No newline at end of file diff --git a/public/uvc.css b/public/uvc.css deleted file mode 120000 index e01d0e6..0000000 --- a/public/uvc.css +++ /dev/null @@ -1 +0,0 @@ -../private/water.css/dist/uvc.css \ No newline at end of file