From 764a9dd9fedc48499517f07eb455b751149669e8 Mon Sep 17 00:00:00 2001 From: Daniel Isaksen Date: Thu, 6 Dec 2018 15:29:39 +0100 Subject: remove materialize, use Font Awesome instead --- alpine-netviz.css | 10 ++++++++++ alpine-netviz.js | 11 +++++++++-- index.html | 11 ++++++----- 3 files changed, 25 insertions(+), 7 deletions(-) diff --git a/alpine-netviz.css b/alpine-netviz.css index 2488fa6..35cf7b3 100644 --- a/alpine-netviz.css +++ b/alpine-netviz.css @@ -1,3 +1,13 @@ +body, html { + position: absolute; + height: 100%; + width: 100%; + top: 0; + left: 0; + margin: 0; + padding: 0; +} + .content { position: absolute; display: block; diff --git a/alpine-netviz.js b/alpine-netviz.js index 8b1f710..d84ed35 100644 --- a/alpine-netviz.js +++ b/alpine-netviz.js @@ -149,12 +149,19 @@ jQuery(document).ready(function($) { }, groups: { virtual_machines: { + shape: "icon", + icon: { + face: "FontAwesome", + code: "\uF233", + color: "#0074D9" + } }, clusters: { shape: "icon", icon: { - face: "Material Icons", - code: "\uE2BD", + face: "FontAwesome", + code: "\uF0C2", + color: "#FF851B" } } } diff --git a/index.html b/index.html index f18f904..3ace122 100644 --- a/index.html +++ b/index.html @@ -6,9 +6,10 @@ - - - + + + + @@ -22,8 +23,8 @@ - - + + -- cgit v1.2.3