summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CommandsSettings.js36
-rw-r--r--src/GeneralSettings.js36
-rw-r--r--src/SignalingServerSettings.js36
-rw-r--r--src/StunServerSettings.js36
-rw-r--r--src/TurnServerSettings.js36
-rw-r--r--src/components/AdminSettings/AllowedGroups.vue (renamed from src/views/AdminSettings/AllowedGroups.vue)0
-rw-r--r--src/components/AdminSettings/Commands.vue (renamed from src/views/AdminSettings/Commands.vue)0
-rw-r--r--src/components/AdminSettings/GeneralSettings.vue (renamed from src/views/AdminSettings/GeneralSettings.vue)0
-rw-r--r--src/components/AdminSettings/SignalingServers.vue (renamed from src/views/AdminSettings/SignalingServers.vue)0
-rw-r--r--src/components/AdminSettings/StunServers.vue (renamed from src/views/AdminSettings/StunServers.vue)0
-rw-r--r--src/components/AdminSettings/TurnServers.vue (renamed from src/views/AdminSettings/TurnServers.vue)0
-rw-r--r--src/mainAdminSettings.js (renamed from src/AllowedGroupsSettings.js)7
-rw-r--r--src/views/AdminSettings.vue54
13 files changed, 57 insertions, 184 deletions
diff --git a/src/CommandsSettings.js b/src/CommandsSettings.js
deleted file mode 100644
index 4ed1a1a0c..000000000
--- a/src/CommandsSettings.js
+++ /dev/null
@@ -1,36 +0,0 @@
-/**
- * @copyright Copyright (c) 2018 Joas Schilling <coding@schilljs.com>
- *
- * @author Joas Schilling <coding@schilljs.com>
- *
- * @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 <http://www.gnu.org/licenses/>.
- *
- */
-
-import Vue from 'vue'
-import Commands from './views/AdminSettings/Commands'
-
-Vue.prototype.t = t
-Vue.prototype.n = n
-Vue.prototype.OC = OC
-Vue.prototype.OCA = OCA
-Vue.prototype.OCP = OCP
-
-export default new Vue({
- el: '#chat_commands',
- name: 'CommandsSettings',
- render: h => h(Commands),
-})
diff --git a/src/GeneralSettings.js b/src/GeneralSettings.js
deleted file mode 100644
index c9e4373ad..000000000
--- a/src/GeneralSettings.js
+++ /dev/null
@@ -1,36 +0,0 @@
-/**
- * @copyright Copyright (c) 2019 Joas Schilling <coding@schilljs.com>
- *
- * @author Joas Schilling <coding@schilljs.com>
- *
- * @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 <http://www.gnu.org/licenses/>.
- *
- */
-
-import Vue from 'vue'
-import GeneralSettings from './views/AdminSettings/GeneralSettings'
-
-Vue.prototype.t = t
-Vue.prototype.n = n
-Vue.prototype.OC = OC
-Vue.prototype.OCA = OCA
-Vue.prototype.OCP = OCP
-
-export default new Vue({
- el: '#general_settings',
- name: 'GeneralSettings',
- render: h => h(GeneralSettings),
-})
diff --git a/src/SignalingServerSettings.js b/src/SignalingServerSettings.js
deleted file mode 100644
index ade20d3db..000000000
--- a/src/SignalingServerSettings.js
+++ /dev/null
@@ -1,36 +0,0 @@
-/**
- * @copyright Copyright (c) 2018 Joas Schilling <coding@schilljs.com>
- *
- * @author Joas Schilling <coding@schilljs.com>
- *
- * @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 <http://www.gnu.org/licenses/>.
- *
- */
-
-import Vue from 'vue'
-import SignalingServers from './views/AdminSettings/SignalingServers'
-
-Vue.prototype.t = t
-Vue.prototype.n = n
-Vue.prototype.OC = OC
-Vue.prototype.OCA = OCA
-Vue.prototype.OCP = OCP
-
-export default new Vue({
- el: '#signaling_server',
- name: 'SignalingServerSettings',
- render: h => h(SignalingServers),
-})
diff --git a/src/StunServerSettings.js b/src/StunServerSettings.js
deleted file mode 100644
index e99a057b1..000000000
--- a/src/StunServerSettings.js
+++ /dev/null
@@ -1,36 +0,0 @@
-/**
- * @copyright Copyright (c) 2018 Joas Schilling <coding@schilljs.com>
- *
- * @author Joas Schilling <coding@schilljs.com>
- *
- * @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 <http://www.gnu.org/licenses/>.
- *
- */
-
-import Vue from 'vue'
-import StunServers from './views/AdminSettings/StunServers'
-
-Vue.prototype.t = t
-Vue.prototype.n = n
-Vue.prototype.OC = OC
-Vue.prototype.OCA = OCA
-Vue.prototype.OCP = OCP
-
-export default new Vue({
- el: '#stun_server',
- name: 'StunServerSettings',
- render: h => h(StunServers),
-})
diff --git a/src/TurnServerSettings.js b/src/TurnServerSettings.js
deleted file mode 100644
index a2c59e3d9..000000000
--- a/src/TurnServerSettings.js
+++ /dev/null
@@ -1,36 +0,0 @@
-/**
- * @copyright Copyright (c) 2018 Joas Schilling <coding@schilljs.com>
- *
- * @author Joas Schilling <coding@schilljs.com>
- *
- * @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 <http://www.gnu.org/licenses/>.
- *
- */
-
-import Vue from 'vue'
-import TurnServers from './views/AdminSettings/TurnServers'
-
-Vue.prototype.t = t
-Vue.prototype.n = n
-Vue.prototype.OC = OC
-Vue.prototype.OCA = OCA
-Vue.prototype.OCP = OCP
-
-export default new Vue({
- el: '#turn_server',
- name: 'TurnServerSettings',
- render: h => h(TurnServers),
-})
diff --git a/src/views/AdminSettings/AllowedGroups.vue b/src/components/AdminSettings/AllowedGroups.vue
index 2f8381eb6..2f8381eb6 100644
--- a/src/views/AdminSettings/AllowedGroups.vue
+++ b/src/components/AdminSettings/AllowedGroups.vue
diff --git a/src/views/AdminSettings/Commands.vue b/src/components/AdminSettings/Commands.vue
index cf3cb7653..cf3cb7653 100644
--- a/src/views/AdminSettings/Commands.vue
+++ b/src/components/AdminSettings/Commands.vue
diff --git a/src/views/AdminSettings/GeneralSettings.vue b/src/components/AdminSettings/GeneralSettings.vue
index e8e633eea..e8e633eea 100644
--- a/src/views/AdminSettings/GeneralSettings.vue
+++ b/src/components/AdminSettings/GeneralSettings.vue
diff --git a/src/views/AdminSettings/SignalingServers.vue b/src/components/AdminSettings/SignalingServers.vue
index 57ae330a4..57ae330a4 100644
--- a/src/views/AdminSettings/SignalingServers.vue
+++ b/src/components/AdminSettings/SignalingServers.vue
diff --git a/src/views/AdminSettings/StunServers.vue b/src/components/AdminSettings/StunServers.vue
index cdad3cb26..cdad3cb26 100644
--- a/src/views/AdminSettings/StunServers.vue
+++ b/src/components/AdminSettings/StunServers.vue
diff --git a/src/views/AdminSettings/TurnServers.vue b/src/components/AdminSettings/TurnServers.vue
index f2d966c06..f2d966c06 100644
--- a/src/views/AdminSettings/TurnServers.vue
+++ b/src/components/AdminSettings/TurnServers.vue
diff --git a/src/AllowedGroupsSettings.js b/src/mainAdminSettings.js
index 7ac652810..d925ca9ae 100644
--- a/src/AllowedGroupsSettings.js
+++ b/src/mainAdminSettings.js
@@ -21,7 +21,7 @@
*/
import Vue from 'vue'
-import AllowedGroups from './views/AdminSettings/AllowedGroups'
+import AdminSettings from './views/AdminSettings'
Vue.prototype.t = t
Vue.prototype.n = n
@@ -30,7 +30,6 @@ Vue.prototype.OCA = OCA
Vue.prototype.OCP = OCP
export default new Vue({
- el: '#allowed_groups',
- name: 'AllowedGroupsSettings',
- render: h => h(AllowedGroups),
+ el: '#admin_settings',
+ render: h => h(AdminSettings),
})
diff --git a/src/views/AdminSettings.vue b/src/views/AdminSettings.vue
new file mode 100644
index 000000000..95ca02aee
--- /dev/null
+++ b/src/views/AdminSettings.vue
@@ -0,0 +1,54 @@
+<!--
+ - @copyright Copyright (c) 2019 Joas Schilling <coding@schilljs.com>
+ -
+ - @author Joas Schilling <coding@schilljs.com>
+ -
+ - @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 <http://www.gnu.org/licenses/>.
+ -
+ -->
+
+<template>
+ <div>
+ <GeneralSettings />
+ <AllowedGroups />
+ <Commands />
+ <StunServers />
+ <TurnServers />
+ <SignalingServers />
+ </div>
+</template>
+
+<script>
+import GeneralSettings from '../components/AdminSettings/GeneralSettings'
+import AllowedGroups from '../components/AdminSettings/AllowedGroups'
+import Commands from '../components/AdminSettings/Commands'
+import StunServers from '../components/AdminSettings/StunServers'
+import TurnServers from '../components/AdminSettings/TurnServers'
+import SignalingServers from '../components/AdminSettings/SignalingServers'
+
+export default {
+ name: 'AdminSettings',
+
+ components: {
+ GeneralSettings,
+ AllowedGroups,
+ Commands,
+ StunServers,
+ TurnServers,
+ SignalingServers,
+ },
+}
+</script>