From 27e68964a0da8fe2a9882dca5dbe392955979c9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Tue, 12 Jun 2018 10:32:18 +0200 Subject: [PATCH] Indent fix and copy2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- settings/src/router.js | 2 +- settings/templates/settings-vue.php | 25 ++++++++++++++++--------- 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/settings/src/router.js b/settings/src/router.js index 90e3c27cca..66213b02b5 100644 --- a/settings/src/router.js +++ b/settings/src/router.js @@ -21,7 +21,7 @@ * */ - import Vue from 'vue'; +import Vue from 'vue'; import Router from 'vue-router'; import Users from './views/Users'; import Apps from './views/Apps'; diff --git a/settings/templates/settings-vue.php b/settings/templates/settings-vue.php index d9c74c4bd8..03bf1949e0 100644 --- a/settings/templates/settings-vue.php +++ b/settings/templates/settings-vue.php @@ -1,23 +1,30 @@ - * @author John Molakvoæ (skjnldsv) + * @copyright Copyright (c) 2018 John Molakvoæ + * + * @author John Molakvoæ * * @license GNU AGPL version 3 or any later version * - * This is the default empty template to load Vue! - * Do your cbackend computations into a php files - * then serve this file as template and include your data into - * the $serverData template variable + * 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 . * - * return new TemplateResponse('settings', 'settings', ['serverData' => $serverData]); - * */ script('settings', 'settings-vue'); style('settings', 'settings'); -// Did we have some data to inject ? +// Do we have some data to inject ? if(is_array($_['serverData'])) { ?>