[h1 $(l10n therapy)]
[div .patient
- [h2 . [a "/cards/#${id%.*}.vcf" ⬅ $(VCF FN |HTML)]]
+ [h2 . ⬅ $(VCF FN |HTML)]
]
[div .therapies
[form #report method=POST action="/therapies/update_therapy.sh"
[hidden "id" "$id"][hidden "tid" "$(transid "$tpyfile")"]
+ [button #backbutton type=submit name="vcfreturn" value="true" ⬅ $(VCF FN |HTML)]
+
[input .stickynote type=checkbox name=c_stickynote #show_stickynote]
[fieldset .stickynote
[label for="show_stickynote" $(l10n notes)]
[span #jsdebug style="display: none; position: fixed; right:0; bottom:0" Debug]
[script type="text/javascript" src="/therapies/therapy_draw.js"]
-[script type="text/javascript" src="/therapies/autosave.js"]
+[!-- script type="text/javascript" src="/therapies/autosave.js" --]
EOF
background-color: #FEE;
}
+form > button#backbutton {
+ position: absolute;
+ top: 2em;
+ left: 2%;
+ background: transparent;
+ border: none;
+ padding: 0;
+ margin: 0;
+}
+
+
input.tab { display: none; }
input.tab + label.tab { display: block; }
input.tab + label.tab::before { content: '\25b8 \00a0'; float: left;}
msg="$(transid "$tpyfile")"
printf 'HTTP/1.1 200 OK\r\nContent-Length: %i\r\n\r\n%s' \
"${#msg}" "${msg}"
+elif [ "$(POST vcfreturn)" ]; then
+ REDIRECT "/cards/#${tpy%.*}.vcf"
else
REDIRECT "/therapies/${tpy%.*}/${tpy#*.}"
fi