From bea66ef5029455845cd3fc66252b8b0aad4cd053 Mon Sep 17 00:00:00 2001 From: paul Date: Mon, 4 Jul 2016 21:46:19 +0000 Subject: [PATCH] make css files static svn path=/trunk/; revision=120 --- templates/cards.css.sh => static/cards.css | 8 ++------ templates/categories.css.sh => static/categories.css | 7 ++----- templates/courses.css.sh => static/courses.css | 7 ++----- templates/email.css.sh => static/email.css | 7 ++----- .../prescriptions.css.sh => static/prescriptions.css | 10 +++------- templates/therapy.css.sh => static/therapy.css | 7 ------- templates/frame.html.sh | 6 +----- 7 files changed, 12 insertions(+), 40 deletions(-) rename templates/cards.css.sh => static/cards.css (99%) mode change 100755 => 100644 rename templates/categories.css.sh => static/categories.css (98%) mode change 100755 => 100644 rename templates/courses.css.sh => static/courses.css (99%) mode change 100755 => 100644 rename templates/email.css.sh => static/email.css (98%) mode change 100755 => 100644 rename templates/prescriptions.css.sh => static/prescriptions.css (99%) mode change 100755 => 100644 rename templates/therapy.css.sh => static/therapy.css (99%) mode change 100755 => 100644 diff --git a/templates/cards.css.sh b/static/cards.css old mode 100755 new mode 100644 similarity index 99% rename from templates/cards.css.sh rename to static/cards.css index b7c800e..d85123f --- a/templates/cards.css.sh +++ b/static/cards.css @@ -1,3 +1,4 @@ +/* # Copyright 2014, 2015 Paul Hänsch # # This file is part of Confetti. @@ -14,8 +15,7 @@ # # You should have received a copy of the GNU Affero General Public License # along with Confetti. If not, see . - -cat <. - -cat <. - -cat <. - -cat <. +*/ -. ${0%/*}/cards.css.sh +@import url("?static=cards.css"); -cat < fieldset.note > input.color[value="#AA0"]:checked ~ textarea { backgro div.tab > fieldset.note > input.color[value="#FFF"]:checked ~ textarea { background-color: #FFF; } div.tab > button.delete {float: right; display: inline-block; margin-top: -1em;} -EOF - -# vi:set filetype=css: diff --git a/templates/frame.html.sh b/templates/frame.html.sh index 53c7269..c1d3b4c 100755 --- a/templates/frame.html.sh +++ b/templates/frame.html.sh @@ -28,11 +28,7 @@ cat <$(l10n p_${PAGE}) - +