X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=templates%2Ftherapy.html.sh;h=1821c24530c97b980d31fbad9ba50c87a116ac45;hp=9d37db88a87d7d199ca6ebdbf013ce2cdaefe936;hb=HEAD;hpb=015242823eb4a79cf615bef6951b0af6bd0a5b01
diff --git a/templates/therapy.html.sh b/templates/therapy.html.sh
deleted file mode 100755
index 9d37db8..0000000
--- a/templates/therapy.html.sh
+++ /dev/null
@@ -1,182 +0,0 @@
-# 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 .
-
-t_session_note(){
- session_n="$1"
- note_n="$2"
-
- color=session${session_n}_note${note_n}_color
- unset c0 c1 c2 c3 c4 c5 c6 c7
-
- case "$tpy[$color]" in
- c000) c0=checked;;
- c001) c1=checked;;
- c010) c2=checked;;
- c011) c3=checked;;
- c100) c4=checked;;
- c101) c5=checked;;
- c110) c6=checked;;
- *) c7=checked;;
- esac
-
-cat <
-
-
-
-
-
-
-
-
-
-
-EOF
-}
-
-t_session(){
- session_n="$1"
-
- sid=session${session_n}
-
- if [ "$tpy[${sid}_sigset]" = pos ]; then
- sig=neg
- sigcheck=checked
- elif [ "$tpy[${sid}_sigset]" = neg ]; then
- sig=pos
- unset sigcheck
- elif [ "$tpy[${sid}_signature]" = pos ]; then
- sig=neg
- sigcheck=checked
- else
- sig=pos
- unset sigcheck
- fi
-
-cat <
-
-
-