@@ -16,15 +16,15 @@ import Icons from 'uikit/dist/js/uikit-icons';
UIkit.use(Icons);
// Import components
-import IpInput from './components/IpInput.vue'
-import IpDisplay from './components/IpDisplay'
+import hostInput from './components/hostInput.vue'
+import hostDisplay from './components/hostDisplay'
// Export main app
export default {
name: 'app',
components: {
- IpInput,
- IpDisplay
+ hostInput,
+ hostDisplay
}
}
diff --git a/src/components/IpDisplay.vue b/src/components/IpDisplay.vue
deleted file mode 100644
index d13f9590..00000000
--- a/src/components/IpDisplay.vue
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
Current hostname is: {{ $store.getters.host }}
-
-
\ No newline at end of file
diff --git a/src/components/hostDisplay.vue b/src/components/hostDisplay.vue
new file mode 100644
index 00000000..ac03fd4c
--- /dev/null
+++ b/src/components/hostDisplay.vue
@@ -0,0 +1,16 @@
+
+
+
Current host is: {{ $store.state.host }}
+
Current base URI is: {{ $store.getters.uri }}
+
Connected to: {{ $store.state.apiConfig.name }}
+
+
+
+
+
+ Error: {{ $store.state.error }}
+
+
+ Enter a hostname and connect to start.
+
+
\ No newline at end of file
diff --git a/src/components/IpInput.vue b/src/components/hostInput.vue
similarity index 59%
rename from src/components/IpInput.vue
rename to src/components/hostInput.vue
index d0c08322..9bf08e59 100644
--- a/src/components/IpInput.vue
+++ b/src/components/hostInput.vue
@@ -1,6 +1,5 @@
-