From: paul Date: Thu, 25 Feb 2016 18:01:43 +0000 (+0000) Subject: stubs for therapy section X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=fdfc261b61998249782240ecb0d40a10d44936a9;p=lobster stubs for therapy section svn path=/trunk/; revision=84 --- diff --git a/templates/therapy.css.sh b/templates/therapy.css.sh new file mode 100755 index 0000000..d6221e1 --- /dev/null +++ b/templates/therapy.css.sh @@ -0,0 +1,178 @@ +#!/bin/sh + +cat < h2 { margin: 0; border-bottom: 1px solid black; } +div > a:first-of-type { + display: block; + margin: .125em 0 .5em 0; + text-decoration: none; +} + +label.tab { + font-size: 1.25em; + font-weight: bold; + padding: .125em 1ex .25em 1ex; + color: #FFF; + background-color: #333; + margin-top: .125em; + text-align: right; +} +label.heading { + background-color: #FFF; + margin-top: 1em; + border: 2px solid black; + border-bottom-width: 1px; + color: black; +} +label.heading > span { + text-decoration: underline; +} + +label > span { + display: inline-block; + text-align: right; +} +label > span.no { + width: 10%; float: left; + border: solid 1px #FFF; + background-color: #555; + border-radius: 2ex; + padding: 0; + text-align: center; +} +label.heading > span.no { + background-color: inherit; + border: none; +} +label > span.date { width: 30%; } +label > span.therapist { width: 40%; } +label > span.signature { width: 10%; } +label > span.signature > button { display: inline-block; margin: 0; } + +button[value=pos], button[value=neg] { + display: block; + margin-bottom: .25em; + border: 1px solid black; + height: 1.5em; width: 1.5em; + vertical-align: top; + background-color: #FFF; + color: #000; + white-space: nowrap; +} +button[value=pos]::before { padding: 0 1ex 0 .25ex; content: "\2713"; } +button[value=neg]::before { padding: 0 1ex 0 .25ex; content: "\00a0 \00a0 \00a0"; } + +div.tab { + border: 2px solid #333; + border-top-width: 1px; + margin-top: -1px; + padding: .25em .5ex; +} +div.tab > fieldset.note { + border: none; + margin: 0; padding: 0; +} +div.tab > fieldset.note > textarea { + display: block; + width: 95%; height: 8em; + margin: -8em 0 .5em 1.25em; + font: normal 1em sans-serif; +} +div.tab > fieldset.note > input.color + label { margin: 0; display: block; } +div.tab > fieldset.note > input.color[value="c000"]:checked ~ textarea { background-color: #AAA; } +div.tab > fieldset.note > input.color[value="c001"]:checked ~ textarea { background-color: #88F; } +div.tab > fieldset.note > input.color[value="c010"]:checked ~ textarea { background-color: #8F8; } +div.tab > fieldset.note > input.color[value="c011"]:checked ~ textarea { background-color: #8FF; } +div.tab > fieldset.note > input.color[value="c100"]:checked ~ textarea { background-color: #F88; } +div.tab > fieldset.note > input.color[value="c101"]:checked ~ textarea { background-color: #F8F; } +div.tab > fieldset.note > input.color[value="c110"]:checked ~ textarea { background-color: #FF8; } +div.tab > fieldset.note > input.color[value="c111"]:checked ~ textarea { background-color: #FFF; } + +EOF + +# vi:set filetype=css: diff --git a/templates/therapy.html.sh b/templates/therapy.html.sh new file mode 100755 index 0000000..cb3cf26 --- /dev/null +++ b/templates/therapy.html.sh @@ -0,0 +1,142 @@ +# Copyright 2016 Paul Hänsch +# +# This file is part of Confetti. +# +# Confetti is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Confetti is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with Confetti. If not, see . + +cat < +

Behandlungen

+ +
+

Flrbrlprrf Zoidberg

+ < zur Patientenliste + Gemeinsame Betriebskrankenkasse der Gesellschaften der Textilgruppe Hof +
+ +
+

Verordnung

+ +
    +
  • 6x MT
  • +
  • 6x Fango
  • +
+ ??? + +
+ + + + + +
+ + +
+ + + + + + + + + +
+ +
+ + + + + + + + + +
+ +
+ + + + + + + + + +
+ +
+ + + + +
+ + +
+ + + + + + + + + +
+ +
+ +
+ + + + + + + + +
+ + + +EOF +# vi:set filetype=html: diff --git a/templates/therapy_background.png b/templates/therapy_background.png new file mode 100644 index 0000000..e6304fe Binary files /dev/null and b/templates/therapy_background.png differ