aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2016-11-09 12:51:00 +0100
committerNoah Loomans <noahloomans@gmail.com>2016-11-09 12:51:00 +0100
commit63faeefede9c0cd9a68a5a88b2fedc8ea722cd8f (patch)
tree48e993c4150c47a69979c0d084d53b08ae224028
parent839ea157446381463fbd3e93c0bf950bc29a4b2a (diff)
added print button
-rw-r--r--public/stylesheets/print.css4
-rw-r--r--views/index.jade4
2 files changed, 7 insertions, 1 deletions
diff --git a/public/stylesheets/print.css b/public/stylesheets/print.css
index ed715b6..dd17a42 100644
--- a/public/stylesheets/print.css
+++ b/public/stylesheets/print.css
@@ -43,3 +43,7 @@
#search-space-filler {
display: none;
}
+
+.mdl-menu__container {
+ display: none !important;
+}
diff --git a/views/index.jade b/views/index.jade
index a0b0db3..8f575e5 100644
--- a/views/index.jade
+++ b/views/index.jade
@@ -27,7 +27,9 @@ block content
ul.mdl-menu.mdl-menu--bottom-right.mdl-js-menu.mdl-js-ripple-effect(for='overflow-button')
a(href='http://www.meetingpointmco.nl/Roosters-AL/doc/')
- li.mdl-menu__item.mdl-menu__item--full-bleed-divider Oud rooster gebruiken
+ li.mdl-menu__item Oud rooster gebruiken
+ a(href='javascript:window.print()')
+ li.mdl-menu__item.mdl-menu__item--full-bleed-divider#print-page Pagina printen
li.mdl-menu__item(disabled) Gemaakt door Noah Loomans
.autocomplete-wrapper
ul.autocomplete