forked from coracle/caravel
Format backend, tweak frontend
This commit is contained in:
@@ -2,10 +2,12 @@
|
||||
import { render } from "solid-js/web"
|
||||
import "./index.css"
|
||||
import App from "./App"
|
||||
import { restoreAccounts } from "./lib/nostr"
|
||||
import { PLATFORM_NAME, restoreAccounts } from "./lib/nostr"
|
||||
|
||||
const root = document.getElementById("root")!
|
||||
|
||||
document.title = PLATFORM_NAME
|
||||
|
||||
import("preline").then(() => {
|
||||
restoreAccounts()
|
||||
render(() => <App />, root)
|
||||
|
||||
@@ -52,7 +52,7 @@ export default function AdminRelayList() {
|
||||
errorText="Failed to load relays."
|
||||
/>
|
||||
<Show when={!loading()}>
|
||||
<Show when={(filtered().length ?? 0) > 0} fallback={<p class="text-gray-500">No relays found.</p>}>
|
||||
<Show when={(filtered().length ?? 0) > 0} fallback={<p class="py-20 text-center text-gray-500">No relays found.</p>}>
|
||||
<ul class="space-y-3">
|
||||
<For each={filtered()}>
|
||||
{(relay) => (
|
||||
|
||||
@@ -92,7 +92,7 @@ export default function AdminTenantList() {
|
||||
errorText="Failed to load tenants."
|
||||
/>
|
||||
<Show when={!loading()}>
|
||||
<Show when={(filtered().length ?? 0) > 0} fallback={<p class="text-gray-500">No tenants found.</p>}>
|
||||
<Show when={(filtered().length ?? 0) > 0} fallback={<p class="py-20 text-center text-gray-500">No tenants found.</p>}>
|
||||
<ul class="space-y-3">
|
||||
<For each={filtered()}>
|
||||
{(tenant) => {
|
||||
|
||||
@@ -79,7 +79,7 @@ export default function RelayList() {
|
||||
/>
|
||||
|
||||
<Show when={!loading()}>
|
||||
<Show when={(filtered().length ?? 0) > 0} fallback={<p class="text-gray-500">No relays match your filters.</p>}>
|
||||
<Show when={(filtered().length ?? 0) > 0} fallback={<p class="py-20 text-center text-gray-500">No relays found.</p>}>
|
||||
<ul class="space-y-3">
|
||||
<For each={filtered()}>
|
||||
{(relay) => (
|
||||
|
||||
Reference in New Issue
Block a user