Private
Public Access
1
0
This commit is contained in:
Sander Roosendaal
2018-04-08 17:17:25 +02:00
parent 1dce1cbfcb
commit f8fcc83e6d
2 changed files with 15 additions and 1 deletions

View File

@@ -63,7 +63,7 @@
<a class="button small gray" href="/rowers/list-courses">Courses</a> <a class="button small gray" href="/rowers/list-courses">Courses</a>
</div> </div>
{% for ps in plannedsessions %} {% for ps in plannedsessions %}
<div class="grid_12 alpha"> <div class="grid_12 alpha" style="page-break-before: always, page-break-inside: avoid">
<h1><a href="/rowers/sessions/{{ ps.id }}">Session {{ ps.name }}</a></h1> <h1><a href="/rowers/sessions/{{ ps.id }}">Session {{ ps.name }}</a></h1>
<table class="listtable shortpadded" width="80%"> <table class="listtable shortpadded" width="80%">
<tr> <tr>

View File

@@ -85,7 +85,21 @@ a:hover {
text-decoration: underline; text-decoration: underline;
} }
@media print {
h1 {
page-break-before: always;
page-break-after: avoid;
}
h3, h4 {
page-break-after: avoid;
}
pre, blockquote, table {
page-break-inside: avoid;
}
}
h1 { h1 {