diff options
author | Jan-Philipp Litza <janphilipp@litza.de> | 2011-12-27 22:13:17 +0100 |
---|---|---|
committer | Jan-Philipp Litza <janphilipp@litza.de> | 2011-12-27 22:13:17 +0100 |
commit | 037f19a137cec99a1ba14c138b5cf97e425767f0 (patch) | |
tree | b816168297cb2ff5e72df83069bc0470be0628c7 /public | |
parent | 82592662978903a50ad2b31669c0ed56e0fb9129 (diff) |
Give MANY more filter options on shift view
Diffstat (limited to 'public')
-rw-r--r-- | public/css/base.css | 18 | ||||
-rw-r--r-- | public/css/forms.js | 17 | ||||
-rw-r--r-- | public/css/style11.css | 11 |
3 files changed, 45 insertions, 1 deletions
diff --git a/public/css/base.css b/public/css/base.css index 6fe914c4..30227ce5 100644 --- a/public/css/base.css +++ b/public/css/base.css @@ -351,3 +351,21 @@ tr:hover .hidden { .form ul { list-style: none; } + +.selection ul { + list-style: none; + padding: 0; +} + +.selection.rooms, +.selection.days, +.selection.types, +.selection.filled { + display: inline-block; + vertical-align: top; + margin-right: 15px; +} + +#filter { + padding: 10px; +} diff --git a/public/css/forms.js b/public/css/forms.js new file mode 100644 index 00000000..8a6e2c69 --- /dev/null +++ b/public/css/forms.js @@ -0,0 +1,17 @@ +function check_all(id) { + var obj = document.getElementById(id); + var boxes = obj.getElementsByTagName("input"); + for(var i = 0; i < boxes.length; i++) { + if(boxes[i].type == "checkbox") + boxes[i].checked = true; + } +} + +function uncheck_all(id) { + var obj = document.getElementById(id); + var boxes = obj.getElementsByTagName("input"); + for(var i = 0; i < boxes.length; i++) { + if(boxes[i].type == "checkbox") + boxes[i].checked = false; + } +} diff --git a/public/css/style11.css b/public/css/style11.css index b983d632..86720e6a 100644 --- a/public/css/style11.css +++ b/public/css/style11.css @@ -8,4 +8,13 @@ tr:hover > td { background: #f0f0f0; -}
\ No newline at end of file +} + +.selection ul li.heading { + text-align: center; + font-weight: bold; +} + +.selection ul li:nth-child(even) { + background: #f0f0f0; +} |