diff --git a/punch_list/eventManage.js b/punch_list/eventManage.js index e03d659..f5f13e5 100644 --- a/punch_list/eventManage.js +++ b/punch_list/eventManage.js @@ -205,6 +205,33 @@ function createNewEvent() { // document.getElementById("newEventList").innerHTML = jsonStr; } +function genDaily() { + punchList = window.punches; + + var daily = [ "Check Workday", "Check Expenses", "Check Change Cases", "Check TD's", "Check at-mentions" ]; + console.log(`${daily[1]}`); + + for (x = 0; x < daily.length; x++) { + var newEventJson = { uuid: genUid(), nDate: "EOD", subject: daily[x], priority: "1", progress: "new", notes: "", tags: [ "work", "daily", "today" ] }; + punchList.push(newEventJson); + jsonStr = JSON.stringify(punchList); + putJson(jsonStr); + } +} + +function genWeekly() { + punchList = window.punches; + + var weekly = [ "Update ORB Notes", "Prep Weekly Meeting", "Build out Broadcast Timer" ]; + + for (x = 0; x < weekly.length; x++) { + var newEventJson = { uuid: genUid(), nDate: "Tuesday", subject: weekly[x], priority: "1", progress: "new", notes: "", tags: [ "work", "weekly" ] }; + punchList.push(newEventJson); + jsonStr = JSON.stringify(punchList); + putJson(jsonStr); + } +} + function deletePunch(uuid) { // console.log(`${punchList}`); // console.log(`${window.punches}`); diff --git a/punch_list/index.html b/punch_list/index.html index 5c5395c..6552194 100644 --- a/punch_list/index.html +++ b/punch_list/index.html @@ -27,6 +27,8 @@
+ + Time Boxer
diff --git a/punch_list/metadata.js b/punch_list/metadata.js index ed7c70a..68e50d7 100644 --- a/punch_list/metadata.js +++ b/punch_list/metadata.js @@ -1,4 +1,4 @@ -var version = "0.3.048", +var version = "0.4.003", debug = false, jsonUrl = "https://api.myjson.com/bins/1dodsj", showDone = false,