diff --git a/webapp/package.json b/webapp/package.json
index 39f8465..7212f98 100644
--- a/webapp/package.json
+++ b/webapp/package.json
@@ -10,6 +10,7 @@
"dependencies": {
"@popperjs/core": "^2.11.5",
"bootstrap": "^5.1.3",
+ "bootstrap-icons-vue": "^1.8.1",
"core-js": "^3.8.3",
"vue": "^3.2.13",
"vue-router": "^4.0.14"
diff --git a/webapp/src/components/InverterAdminView.vue b/webapp/src/components/InverterAdminView.vue
new file mode 100644
index 0000000..ebf25fe
--- /dev/null
+++ b/webapp/src/components/InverterAdminView.vue
@@ -0,0 +1,239 @@
+
+
+
+
+
+ {{ this.alertMessage }}
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/webapp/src/components/NavBar.vue b/webapp/src/components/NavBar.vue
index 1922437..0064b6b 100644
--- a/webapp/src/components/NavBar.vue
+++ b/webapp/src/components/NavBar.vue
@@ -45,6 +45,11 @@
>MqTT Settings
+
+ Inverter Settings
+
diff --git a/webapp/src/main.js b/webapp/src/main.js
index 15569ba..e3673e5 100644
--- a/webapp/src/main.js
+++ b/webapp/src/main.js
@@ -1,8 +1,9 @@
import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
+import { BootstrapIconsPlugin } from 'bootstrap-icons-vue';
import "bootstrap/dist/css/bootstrap.min.css"
import "bootstrap/dist/js/bootstrap.js"
-createApp(App).use(router).mount('#app')
+createApp(App).use(router).use(BootstrapIconsPlugin).mount('#app')
diff --git a/webapp/src/router/index.js b/webapp/src/router/index.js
index 60f7dc0..2bfdc3d 100644
--- a/webapp/src/router/index.js
+++ b/webapp/src/router/index.js
@@ -8,53 +8,58 @@ import NetworkAdminView from '@/components/NetworkAdminView'
import NtpAdminView from '@/components/NtpAdminView'
import MqttAdminView from '@/components/MqttAdminView'
import MqttInfoView from '@/components/MqttInfoView'
+import InverterAdminView from '@/components/InverterAdminView'
const routes = [{
- path: '/',
- name: 'Home',
- component: HomeView
- },
- {
- path: '/about',
- name: 'About',
- component: AboutView
- },
- {
- path: '/info/network',
- name: 'Network',
- component: NetworkInfoView
- },
- {
- path: '/info/system',
- name: 'System',
- component: SystemInfoView
- },
- {
- path: '/info/ntp',
- name: 'NTP',
- component: NtpInfoView
- },
- {
- path: '/info/mqtt',
- name: 'MqTT',
- component: MqttInfoView
- },
- {
- path: '/settings/network',
- name: 'Network Settings',
- component: NetworkAdminView
- },
- {
- path: '/settings/ntp',
- name: 'NTP Settings',
- component: NtpAdminView
- },
- {
- path: '/settings/mqtt',
- name: 'MqTT Settings',
- component: MqttAdminView
- }
-];
+ path: '/',
+ name: 'Home',
+ component: HomeView
+},
+{
+ path: '/about',
+ name: 'About',
+ component: AboutView
+},
+{
+ path: '/info/network',
+ name: 'Network',
+ component: NetworkInfoView
+},
+{
+ path: '/info/system',
+ name: 'System',
+ component: SystemInfoView
+},
+{
+ path: '/info/ntp',
+ name: 'NTP',
+ component: NtpInfoView
+},
+{
+ path: '/info/mqtt',
+ name: 'MqTT',
+ component: MqttInfoView
+},
+{
+ path: '/settings/network',
+ name: 'Network Settings',
+ component: NetworkAdminView
+},
+{
+ path: '/settings/ntp',
+ name: 'NTP Settings',
+ component: NtpAdminView
+},
+{
+ path: '/settings/mqtt',
+ name: 'MqTT Settings',
+ component: MqttAdminView
+},
+{
+ path: '/settings/inverter',
+ name: 'Inverter Settings',
+ component: InverterAdminView
+}];
const router = createRouter({
history: createWebHistory(),
diff --git a/webapp/yarn.lock b/webapp/yarn.lock
index 19d1ce0..fc1d836 100644
--- a/webapp/yarn.lock
+++ b/webapp/yarn.lock
@@ -2077,6 +2077,11 @@ boolbase@^1.0.0:
resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e"
integrity sha1-aN/1++YMUes3cl6p4+0xDcwed24=
+bootstrap-icons-vue@^1.8.1:
+ version "1.8.1"
+ resolved "https://registry.yarnpkg.com/bootstrap-icons-vue/-/bootstrap-icons-vue-1.8.1.tgz#ce4a0c1f6efe41dabcc1341f2cb191d307fbaf50"
+ integrity sha512-uItRULwQz0epETi9x/RBEqfjHmTAmkIIczpH1R6L9T6yyaaijk0826PzTWnWNm15tw66JT/8GNuXjB0HI5PHLw==
+
bootstrap@^5.1.3:
version "5.1.3"
resolved "https://registry.yarnpkg.com/bootstrap/-/bootstrap-5.1.3.tgz#ba081b0c130f810fa70900acbc1c6d3c28fa8f34"