From 9cba97c9f8c82df36379d4eeb2917c51e38d22d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A2=D0=BE=D0=BF=D0=BE=D0=BD=D0=B5=D0=BD=20=D0=9D=D0=B8?= =?UTF-8?q?=D0=BA=D0=B8=D1=82=D0=B0?= Date: Tue, 13 Sep 2022 11:12:58 +0300 Subject: [PATCH] Add copyright, resolve eslint comments --- src/adminSettings.js | 28 ++++++- src/views/AdminSettings.vue | 154 ++++++++++++++++++++---------------- 2 files changed, 111 insertions(+), 71 deletions(-) diff --git a/src/adminSettings.js b/src/adminSettings.js index 1c6303a85..a1139b79e 100644 --- a/src/adminSettings.js +++ b/src/adminSettings.js @@ -1,10 +1,30 @@ +/** + * @copyright Copyright (c) 2022 Nikita Toponen + * + * @license AGPL-3.0-or-later + * + * 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 . + * + */ + import Vue from 'vue' -import AdminSettings from './views/AdminSettings' +import AdminSettings from './views/AdminSettings.vue' Vue.prototype.t = t Vue.prototype.n = n export default new Vue({ - el: '#notifications-admin-settings', - render: h => h(AdminSettings), -}) \ No newline at end of file + el: '#notifications-admin-settings', + render: h => h(AdminSettings), +}) diff --git a/src/views/AdminSettings.vue b/src/views/AdminSettings.vue index 27221c212..fd23a9975 100644 --- a/src/views/AdminSettings.vue +++ b/src/views/AdminSettings.vue @@ -1,85 +1,105 @@ + + \ No newline at end of file +