From 50f98abfd3a9843c8e4ac0433a4fbf41757be46e Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Mon, 16 Mar 2015 22:12:16 -0400 Subject: Merge and improve pull-request #666 (custom stylesheet) --- app/Template/config/application.php | 3 +++ app/Template/layout.php | 4 ++++ 2 files changed, 7 insertions(+) (limited to 'app/Template') diff --git a/app/Template/config/application.php b/app/Template/config/application.php index 26f3743e..f6c9db94 100644 --- a/app/Template/config/application.php +++ b/app/Template/config/application.php @@ -20,6 +20,9 @@ formSelect('application_date_format', $date_formats, $values, $errors) ?>

+ formLabel(t('Custom Stylesheet'), 'application_stylesheet') ?> + formTextarea('application_stylesheet', $values, $errors) ?>
+
diff --git a/app/Template/layout.php b/app/Template/layout.php index 9290a21e..68028240 100644 --- a/app/Template/layout.php +++ b/app/Template/layout.php @@ -17,6 +17,10 @@ css($this->u('app', 'colors'), false) ?> css('assets/css/app.css') ?> + config->get('application_stylesheet')): ?> + + + -- cgit v1.2.3