diff --git a/.env.development b/.env.development index 7997ffd..6126860 100644 --- a/.env.development +++ b/.env.development @@ -2,3 +2,4 @@ VITE_SSO_ORIGIN=http://localhost:9090 VITE_API_VIOLET=http://localhost:9095/v1/violet VITE_API_ORCHID=http://localhost:9095/v1/orchid +VITE_API_SITE_HOSTING=http://localhost:9095/v1/sites diff --git a/.env.production b/.env.production index d9011dc..88f5f35 100644 --- a/.env.production +++ b/.env.production @@ -2,3 +2,4 @@ VITE_SSO_ORIGIN=https://sso.1f349.com VITE_API_VIOLET=https://api.1f349.com/v1/violet VITE_API_ORCHID=https://api.1f349.com/v1/orchid +VITE_API_SITE_HOSTING=https://sites.1f349.com/api.php diff --git a/src/app.scss b/src/app.scss index b07455e..5a9f9ce 100644 --- a/src/app.scss +++ b/src/app.scss @@ -91,3 +91,71 @@ code, .btn-green { background-color: #04aa6d; } + +table.main-table { + border-collapse: collapse; + border-spacing: 0; + width: 100%; + + thead { + background-color: #333333; + position: sticky; + top: 0; + z-index: 9999; + box-shadow: 0 4px 8px #0003, 0 6px 20px #00000030; + } + + th, + td { + padding: 6px 8px 6px 8px; + text-align: center; + } + + tr:nth-child(2n) { + background-color: #2a2a2a; + } + + tr:nth-child(2n + 1) { + background-color: #242424; + } + + .invert-rows { + tr:nth-child(2n) { + background-color: #242424; + } + + tr:nth-child(2n + 1) { + background-color: #2a2a2a; + } + } +} + +.wrapper { + display: flex; + flex-direction: column; + width: 100%; + height: 100%; + overflow: hidden; + + .scrolling-area { + overflow: auto; + height: 100%; + } +} + +.text-padding { + padding: 4px 16px; +} + +.footer { + height: 50px; + background-color: #2c2c2c; + box-shadow: 0 -4px 8px #0003, 0 -6px 20px #00000030; + display: flex; + flex-direction: row; + + .meta-info { + line-height: 50px; + padding-inline: 16px; + } +} diff --git a/src/components/RedirectRow.svelte b/src/components/RedirectRow.svelte index 7e2367b..5255364 100644 --- a/src/components/RedirectRow.svelte +++ b/src/components/RedirectRow.svelte @@ -47,14 +47,6 @@ {/if} diff --git a/src/views/TargetManagementView.svelte b/src/views/TargetManagementView.svelte index c9380d2..80e500f 100644 --- a/src/views/TargetManagementView.svelte +++ b/src/views/TargetManagementView.svelte @@ -118,7 +118,7 @@