diff --git a/ui/src/App.vue b/ui/src/App.vue
index 2413334..dce5edd 100644
--- a/ui/src/App.vue
+++ b/ui/src/App.vue
@@ -6,14 +6,7 @@
-
+
@@ -57,10 +50,6 @@ import TickerBar from "./components/TickerBar.vue";
})
export default class App extends Vue {
// API data
- private image_urls: string[] = require("@/assets/image_testdata.json");
- private image_height = 300;
- private image_contain = false;
- private image_speed = 10000;
private message_html = require("@/assets/message_testdata.json");
private calendar_data: CalendarData[] = require("@/assets/calendar_testdata.json");
@@ -79,26 +68,6 @@ export default class App extends Vue {
}
protected update(): void {
- // Update Images
- this.$ovdashboard.api_get_list("image/list", (names) => {
- this.image_urls = names.map((name: string) =>
- this.$ovdashboard.api_url(`image/get/${name}`)
- );
- });
-
- // Update Image Config
- type ImageConfig = {
- height: number;
- contain: boolean;
- speed: number;
- };
-
- this.$ovdashboard.api_get_object("image/config", (cfg) => {
- this.image_height = cfg.height;
- this.image_contain = cfg.contain;
- this.image_speed = cfg.speed;
- });
-
// Update Message
this.$ovdashboard.api_get_string(
"text/get/html/message",
diff --git a/ui/src/components/ImageCarousel.vue b/ui/src/components/ImageCarousel.vue
index 727e611..dc5c3de 100644
--- a/ui/src/components/ImageCarousel.vue
+++ b/ui/src/components/ImageCarousel.vue
@@ -1,6 +1,7 @@