diff --git a/static/script.js b/static/script.js index b8115bc..bcd8059 100644 --- a/static/script.js +++ b/static/script.js @@ -28,8 +28,8 @@ function hidetoggle(name) { }} } } -function dropDown() { - document.getElementById("Dropdown").classList.toggle("show"); +function dropDown(name) { + document.getElementById(name).classList.toggle("show"); } // Close the dropdown menu if the user clicks outside of it diff --git a/static/style.css b/static/style.css index 8dc7cdb..a50375a 100644 --- a/static/style.css +++ b/static/style.css @@ -22,7 +22,7 @@ td { height: 1.75em; } border: 1px solid #aacbe2; } .error { background: #f0d6d6; padding: 0.5em; } .hidden { display: none; } -.pointer { cursor: pointer; } +.pointer { cursor: pointer; text-decoration: underline; } /* dropdown */ diff --git a/templates/layout.html b/templates/layout.html index e6a42f1..bd15a0c 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -16,13 +16,24 @@
-