Do not print menubar

This commit is contained in:
Emmanuel Viennet 2023-08-02 18:29:14 +02:00
parent 53e16176df
commit 968d4f3064
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
@media print{
body{
width: 21cm;
height: 29.7cm;
}
}
div.but_bul_court { div.but_bul_court {
width: 17cm; width: 17cm;

View File

@ -1,7 +1,7 @@
{# -*- mode: jinja-html -*- #} {# -*- mode: jinja-html -*- #}
{# Description un semestre (barre de menu et infos) #} {# Description un semestre (barre de menu et infos) #}
<!-- formsemestre_header --> <!-- formsemestre_header -->
<div class="formsemestre_page_title"> <div class="formsemestre_page_title noprint">
<div class="infos"> <div class="infos">
<span class="semtitle"><a class="stdlink" title="{{sco.sem.session_id()}}" href="{{ <span class="semtitle"><a class="stdlink" title="{{sco.sem.session_id()}}" href="{{
url_for('notes.formsemestre_status', url_for('notes.formsemestre_status',

View File

@ -2,7 +2,7 @@
{# Element HTML decrivant un semestre (barre de menu et infos) #} {# Element HTML decrivant un semestre (barre de menu et infos) #}
{# was formsemestre_page_title #} {# was formsemestre_page_title #}
<div class="formsemestre_page_title"> <div class="formsemestre_page_title noprint">
<div class="infos"> <div class="infos">
<span class="semtitle"><a class="stdlink" title="{{formsemestre.session_id()}}" href="{{url_for('notes.formsemestre_status', <span class="semtitle"><a class="stdlink" title="{{formsemestre.session_id()}}" href="{{url_for('notes.formsemestre_status',
scodoc_dept=g.scodoc_dept, formsemestre_id=formsemestre.id)}}">{{formsemestre.titre}}</a> scodoc_dept=g.scodoc_dept, formsemestre_id=formsemestre.id)}}">{{formsemestre.titre}}</a>