{{ result.attribute }}
{{ result.value.c }}
@@ -8,18 +11,17 @@
@@ -27,7 +29,7 @@ export default defineComponent({
.search-result {
.search-result-container {
box-shadow: var(--sl-shadow-medium);
- margin: .5rem;
+ margin: 0.5rem;
padding: 1rem;
}
@@ -37,7 +39,7 @@ export default defineComponent({
text-decoration: inherit;
div {
- margin: .5rem 0;
+ margin: 0.5rem 0;
}
.search-result-attribute {
diff --git a/ui/src/main.ts b/ui/src/main.ts
index b6f6e62..adcd822 100644
--- a/ui/src/main.ts
+++ b/ui/src/main.ts
@@ -1,8 +1,8 @@
+import { defineCustomElements, setAssetPath, SlInput } from "@shoelace-style/shoelace";
import * as Vue from "vue";
import { DirectiveBinding } from "vue";
import App from "./App.vue";
import router from "./router";
-import { defineCustomElements, setAssetPath, SlInput, } from "@shoelace-style/shoelace";
// TODO: Remove when UI settles!
defineCustomElements();
diff --git a/ui/src/router/index.ts b/ui/src/router/index.ts
index 33e5457..928e062 100644
--- a/ui/src/router/index.ts
+++ b/ui/src/router/index.ts
@@ -1,7 +1,7 @@
-import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router'
-import Home from "../views/About.vue";
-import Search from '../views/Search.vue'
import Inspect from "@/views/Inspect.vue";
+import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router';
+import Home from "../views/About.vue";
+import Search from '../views/Search.vue';
const routes: Array
= [
{
diff --git a/ui/src/types/base.ts b/ui/src/types/base.ts
index 34bea94..1de2e5d 100644
--- a/ui/src/types/base.ts
+++ b/ui/src/types/base.ts
@@ -4,7 +4,7 @@ export type VALUE_TYPE = "Value" | "Address" | "Invalid";
export interface IEntry {
entity: Address,
attribute: string,
- value: {t: VALUE_TYPE, c: string}
+ value: { t: VALUE_TYPE, c: string }
}
export interface ListingResult {
diff --git a/ui/src/views/Inspect.vue b/ui/src/views/Inspect.vue
index 5b7b7d9..40dc9f6 100644
--- a/ui/src/views/Inspect.vue
+++ b/ui/src/views/Inspect.vue
@@ -1,7 +1,11 @@
-
+
@@ -12,13 +16,17 @@
Attribute name |
Value |
-
+
-
+
|
{{ entry.attribute }} |
-
+
{{ entry.value.c }}
@@ -26,13 +34,13 @@
|
-
+
|
-
+
|
-
+
|
@@ -46,7 +54,7 @@
-
+
|
{{ entry.attribute }}
@@ -62,10 +70,10 @@
diff --git a/ui/src/views/Search.vue b/ui/src/views/Search.vue
index af3ea51..45b5461 100644
--- a/ui/src/views/Search.vue
+++ b/ui/src/views/Search.vue
@@ -9,13 +9,13 @@
|