diff --git a/thingifier/src/main/java/uk/co/compendiumdev/thingifier/application/DefaultGUI.java b/thingifier/src/main/java/uk/co/compendiumdev/thingifier/application/DefaultGUI.java index 54a10c73..260dc5d3 100644 --- a/thingifier/src/main/java/uk/co/compendiumdev/thingifier/application/DefaultGUI.java +++ b/thingifier/src/main/java/uk/co/compendiumdev/thingifier/application/DefaultGUI.java @@ -1,12 +1,21 @@ package uk.co.compendiumdev.thingifier.application; +import com.google.gson.GsonBuilder; +import uk.co.compendiumdev.thingifier.Thing; import uk.co.compendiumdev.thingifier.Thingifier; +import uk.co.compendiumdev.thingifier.generic.definitions.RelationshipVector; +import uk.co.compendiumdev.thingifier.generic.definitions.ThingDefinition; import uk.co.compendiumdev.thingifier.generic.instances.ThingInstance; +import uk.co.compendiumdev.thingifier.reporting.JsonThing; + +import java.util.Collection; import static spark.Spark.get; public class DefaultGUI { + // TODO: templates or tidier way to create the default GUI pages with styling + private final Thingifier thingifier; public DefaultGUI(final Thingifier thingifier) { @@ -26,11 +35,7 @@ public void setupDefaultGUI(){ response.status(200); StringBuilder html = new StringBuilder(); html.append("