From 7f6cde15d4c3761a6a49bb1f6b898dd596c8c5d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Sat, 24 Nov 2018 10:17:49 +0100 Subject: [PATCH] Use vue template MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- lib/Controller/PageController.php | 2 +- templates/vue.php | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 templates/vue.php diff --git a/lib/Controller/PageController.php b/lib/Controller/PageController.php index e457c154f..76f3dc542 100644 --- a/lib/Controller/PageController.php +++ b/lib/Controller/PageController.php @@ -66,7 +66,7 @@ class PageController extends Controller { $this->defaultBoardService->createDefaultBoard($this->l10n->t('Personal'), $this->userId, '000000'); } - return new TemplateResponse('deck', 'main', $params); + return new TemplateResponse('deck', 'vue', $params); } } diff --git a/templates/vue.php b/templates/vue.php new file mode 100644 index 000000000..c293f74e2 --- /dev/null +++ b/templates/vue.php @@ -0,0 +1,27 @@ + + * + * @author Julius Härtl + * + * @license GNU AGPL version 3 or any later version + * + * This program 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. + * + * This program 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 this program. If not, see . + * + */ +style('deck', 'style'); +script('deck', 'deck'); +?> + + \ No newline at end of file