Fix: Hundebuch + Ausweis — Zurück zur App Button ergänzt (standalone Seiten ohne Navigation) (SW by-v765)
This commit is contained in:
parent
2854c60ba8
commit
b0ea805434
2 changed files with 20 additions and 4 deletions
|
|
@ -1355,7 +1355,14 @@ async def ausweis_page(dog_id: int, request: Request):
|
|||
</div>
|
||||
|
||||
<div class="body">
|
||||
<button class="print-btn no-print" onclick="window.print()">🖨 Drucken / Als PDF speichern</button>
|
||||
<div class="no-print" style="display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px">
|
||||
<button onclick="window.history.length>1?window.history.back():window.close()"
|
||||
style="background:#f0e6d3;color:#7a4a1e;border:none;border-radius:100px;
|
||||
padding:10px 20px;font-size:0.9rem;cursor:pointer;font-weight:600">
|
||||
← Zurück zur App
|
||||
</button>
|
||||
<button class="print-btn" onclick="window.print()">🖨 Drucken / Als PDF speichern</button>
|
||||
</div>
|
||||
|
||||
<div class="section">
|
||||
<h2>Impfungen</h2>
|
||||
|
|
|
|||
|
|
@ -742,9 +742,18 @@ async def get_hunde_buch(
|
|||
</head>
|
||||
<body>
|
||||
|
||||
<button class="print-btn" onclick="window.print()">
|
||||
🖨 Drucken / Als PDF speichern
|
||||
</button>
|
||||
<div class="print-btn" style="display:flex;gap:10px;flex-wrap:wrap">
|
||||
<button onclick="window.history.length>1?window.history.back():window.close()"
|
||||
style="background:#f0e6d3;color:#7a4a1e;border:none;border-radius:100px;
|
||||
padding:10px 20px;font-size:0.9rem;cursor:pointer;font-weight:600">
|
||||
← Zurück zur App
|
||||
</button>
|
||||
<button onclick="window.print()"
|
||||
style="background:#C4843A;color:#fff;border:none;border-radius:100px;
|
||||
padding:10px 20px;font-size:0.9rem;cursor:pointer;font-weight:600">
|
||||
🖨 Drucken / Als PDF speichern
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="cover">
|
||||
{cover_img}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue