Skip to content
Snippets Groups Projects
Commit dd0756ba authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Add print button

parent 276d9cab
No related branches found
No related tags found
1 merge request!86Merge school-apps
......@@ -3,7 +3,6 @@
<script type="text/javascript">
function updateDatepicker() {
$("#date").val(formatDate(activeDate));
}
function update() {
......@@ -28,6 +27,11 @@
$("#date-before").click(onDateBeforeClick);
$("#date-next").click(onDateNextClick);
// Print the site
$("#print").click(function () {
window.print();
});
update();
})
</script>
......@@ -52,6 +56,13 @@
</a>
</div>
</div>
<div class="col l4 xl6">
</div>
<div class="col s12 m6 l4 xl3 right align-right">
<a class="waves-effect waves-teal btn-flat btn-flat-medium right" id="print">
<i class="material-icons center">print</i>
</a>
</div>
</div>
<p class="flow-text">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment