From dc198923623c793a22253c23af42560ebaa55325 Mon Sep 17 00:00:00 2001 From: Kameron Kenny Date: Wed, 12 Jun 2019 11:37:43 -0400 Subject: [PATCH] js form and css --- punch_list/css/custom.css | 1 + punch_list/eventManage.js | 9 ++++++--- punch_list/index.html | 9 +++++---- punch_list/metadata.js | 2 +- 4 files changed, 13 insertions(+), 8 deletions(-) diff --git a/punch_list/css/custom.css b/punch_list/css/custom.css index 05ea465..73a71f7 100644 --- a/punch_list/css/custom.css +++ b/punch_list/css/custom.css @@ -233,6 +233,7 @@ textarea { /* Larger than tablet */ @media (min-width: 750px) { + body { width: 800px; } /* Navbar */ .clock-wrapper { display: block; diff --git a/punch_list/eventManage.js b/punch_list/eventManage.js index 7e0bcc6..12f0fe1 100644 --- a/punch_list/eventManage.js +++ b/punch_list/eventManage.js @@ -200,7 +200,7 @@ function enablePunchDetail(item) { enableElement("punchDetail"); console.log(`punchDetail Enabled`); // html = ""; - html = "

subject: " + punchList[item].subject + "
Created: " + punchList[item].cDate + "
Modified Date: " + punchList[item].mDate + "
Priority: " + punchList[item].priority + "
Progress: " + punchList[item].progress + "

"; + html = "

subject: " + punchList[item].subject + "
Created: " + punchList[item].cDate + "
Modified Date: " + punchList[item].mDate + "
Priority: " + punchList[item].priority + "
Progress: " + punchList[item].progress + "

"; document.getElementById("punchDetail").innerHTML = html; } @@ -348,6 +348,9 @@ function addTag() { enableElement("punchListAll"); } - - +function clearDefault(a){ + if (a.defaultValue == a.value) { + a.value=""; + } +} diff --git a/punch_list/index.html b/punch_list/index.html index 455a851..fcadb25 100644 --- a/punch_list/index.html +++ b/punch_list/index.html @@ -33,21 +33,22 @@
+



- +
- - + + - +
diff --git a/punch_list/metadata.js b/punch_list/metadata.js index 24078bf..031c9f7 100644 --- a/punch_list/metadata.js +++ b/punch_list/metadata.js @@ -1,4 +1,4 @@ -var version = "0.3.021", +var version = "0.3.022", debug = false, jsonUrl = "https://api.myjson.com/bins/1dodsj", showDone = false,