@meddleware/dashboard 0.1.15 → 0.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/App.vue +15 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meddleware/dashboard",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.17",
|
|
4
4
|
"description": "Meddleware tools hub — Vue 3 SPA listing hosted services (Walrus, Access Gate) with white-label deploy options.",
|
|
5
5
|
"author": "Meddleware <dev@meddleware.co.uk>",
|
|
6
6
|
"license": "0BSD",
|
package/src/App.vue
CHANGED
|
@@ -56,18 +56,19 @@ const { account, disconnect } = useWallet({
|
|
|
56
56
|
</nav>
|
|
57
57
|
|
|
58
58
|
<template #body>
|
|
59
|
+
<NetworkSelector />
|
|
60
|
+
</template>
|
|
61
|
+
|
|
62
|
+
<template #foot>
|
|
59
63
|
<div v-if="account" class="wallet-connected">
|
|
60
64
|
<CopyableAddress :address="account.address" />
|
|
61
65
|
<button type="button" class="wallet-disconnect" @click="disconnect">Disconnect</button>
|
|
62
66
|
</div>
|
|
63
67
|
<div v-else class="wallet-disconnected">
|
|
64
68
|
<span class="wallet-status-dot" aria-hidden="true"></span>
|
|
65
|
-
<span class="wallet-status-label">
|
|
69
|
+
<span class="wallet-status-label">No wallet connected</span>
|
|
66
70
|
</div>
|
|
67
|
-
<
|
|
68
|
-
</template>
|
|
69
|
-
|
|
70
|
-
<template #foot>
|
|
71
|
+
<hr class="sidebar-divider" aria-hidden="true" />
|
|
71
72
|
<StatusWidget class="sidebar-status" />
|
|
72
73
|
<p class="sidebar-copyright">© {{ new Date().getFullYear() }} Meddleware</p>
|
|
73
74
|
</template>
|
|
@@ -126,8 +127,14 @@ const { account, disconnect } = useWallet({
|
|
|
126
127
|
}
|
|
127
128
|
|
|
128
129
|
/* ── Sidebar foot ──────────────────────────────────────── */
|
|
130
|
+
.sidebar-divider {
|
|
131
|
+
border: none;
|
|
132
|
+
border-top: 1px solid var(--border, #333);
|
|
133
|
+
margin: 0.5rem 0;
|
|
134
|
+
}
|
|
135
|
+
|
|
129
136
|
.sidebar-status {
|
|
130
|
-
margin-bottom: 0.
|
|
137
|
+
margin-bottom: 0.25rem;
|
|
131
138
|
}
|
|
132
139
|
|
|
133
140
|
.wallet-connected {
|
|
@@ -135,7 +142,7 @@ const { account, disconnect } = useWallet({
|
|
|
135
142
|
align-items: center;
|
|
136
143
|
justify-content: space-between;
|
|
137
144
|
gap: 0.5rem;
|
|
138
|
-
margin-bottom: 0.
|
|
145
|
+
margin-bottom: 0.5rem;
|
|
139
146
|
}
|
|
140
147
|
|
|
141
148
|
.wallet-disconnect {
|
|
@@ -158,7 +165,7 @@ const { account, disconnect } = useWallet({
|
|
|
158
165
|
display: flex;
|
|
159
166
|
align-items: center;
|
|
160
167
|
gap: 0.45rem;
|
|
161
|
-
margin-bottom: 0.
|
|
168
|
+
margin-bottom: 0.5rem;
|
|
162
169
|
}
|
|
163
170
|
|
|
164
171
|
.wallet-status-dot {
|