Upgraded to latest mooncore packages. Upgraded to tailwind v4
This commit is contained in:
@@ -10,38 +10,38 @@
|
||||
@inject ToastService ToastService
|
||||
|
||||
<div class="grid grid-cols-1 sm:grid-cols-3 mb-8 gap-x-3 gap-y-2 sm:gap-y-0">
|
||||
<div class="col-span-1 card card-body border-l-4 border-primary-500">
|
||||
<div class="col-span-1 card card-body border-l-4 border-primary">
|
||||
<p class="font-medium tracking-wide text-slate-100">
|
||||
API Documentation
|
||||
</p>
|
||||
<a href="/api/swagger" target="_blank" class="mt-2 flex items-center justify-between text-primary-500">
|
||||
<a href="/api/swagger" target="_blank" class="mt-2 flex items-center justify-between text-primary">
|
||||
<div class="font-medium">Open</div>
|
||||
<div>
|
||||
<i class="bi bi-box-arrow-up-right text-lg text-primary-500"></i>
|
||||
<i class="bi bi-box-arrow-up-right text-lg text-primary"></i>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="col-span-1 card card-body border-l-4 border-tertiary-500">
|
||||
<div class="col-span-1 card card-body border-l-4 border-tertiary">
|
||||
<p class="font-medium tracking-wide text-slate-100">
|
||||
Learn about the api usage
|
||||
</p>
|
||||
<a href="https://help.moonlightpanel.xyz" target="_blank" class="mt-2 flex items-center justify-between text-primary-500">
|
||||
<a href="https://help.moonlightpanel.xyz" target="_blank" class="mt-2 flex items-center justify-between text-primary">
|
||||
<div class="font-medium">Open</div>
|
||||
<div>
|
||||
<i class="bi bi-box-arrow-up-right text-lg text-tertiary-500"></i>
|
||||
<i class="bi bi-box-arrow-up-right text-lg text-tertiary"></i>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="col-span-1 card card-body border-l-4 border-success-500">
|
||||
<div class="col-span-1 card card-body border-l-4 border-success">
|
||||
<p class="font-medium tracking-wide text-slate-100">
|
||||
Open API Specification
|
||||
</p>
|
||||
<a href="/api/swagger/main" target="_blank" class="mt-2 flex items-center justify-between text-primary-500">
|
||||
<a href="/api/swagger/main" target="_blank" class="mt-2 flex items-center justify-between text-primary">
|
||||
<div class="font-medium">Open</div>
|
||||
<div>
|
||||
<i class="bi bi-box-arrow-up-right text-lg text-success-500"></i>
|
||||
<i class="bi bi-box-arrow-up-right text-lg text-success"></i>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
@@ -67,12 +67,12 @@
|
||||
<DataTableColumn TItem="ApiKeyResponse">
|
||||
<ColumnTemplate>
|
||||
<div class="flex justify-end">
|
||||
<a href="/admin/api/@(context.Id)" class="text-primary-500 mr-2 sm:mr-3">
|
||||
<a href="/admin/api/@(context.Id)" class="text-primary mr-2 sm:mr-3">
|
||||
<i class="icon-pencil text-base"></i>
|
||||
</a>
|
||||
|
||||
<a href="#" @onclick="() => Delete(context)" @onclick:preventDefault
|
||||
class="text-danger-500">
|
||||
class="text-danger">
|
||||
<i class="icon-trash text-base"></i>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
@inject HttpApiClient ApiClient
|
||||
@inject DownloadService DownloadService
|
||||
|
||||
<div class="mb-3">
|
||||
<div class="mb-5">
|
||||
<NavTabs Index="4" Names="UiConstants.AdminNavNames" Links="UiConstants.AdminNavLinks" />
|
||||
</div>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
If you want to host your moonlight frontend on a static web server instead of it being hosted by the api server
|
||||
(useful for hosting on a cdn for high availability) you can use this helper. By pressing the button below moonlight
|
||||
will generate a zip file containing everything you need to host the frontend. Next to the WASM app itself it automatically
|
||||
includes your installed theme and plugins. For more information, have a look at <a class="text-primary-500" href="https://help.moonlightpanel.xyz">our docs</a>
|
||||
includes your installed theme and plugins. For more information, have a look at <a class="text-primary" href="https://help.moonlightpanel.xyz">our docs</a>
|
||||
</p>
|
||||
|
||||
<WButton OnClick="GenerateFrontend" CssClasses="btn btn-primary mt-5">Generate frontend.zip</WButton>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
@inject DownloadService DownloadService
|
||||
@inject LocalStorageService LocalStorageService
|
||||
|
||||
<div class="mb-3">
|
||||
<div class="mb-5">
|
||||
<NavTabs Index="2" Names="UiConstants.AdminNavNames" Links="UiConstants.AdminNavLinks"/>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
@inject HttpApiClient ApiClient
|
||||
|
||||
<div class="mb-3">
|
||||
<div class="mb-5">
|
||||
<NavTabs Index="3" Names="UiConstants.AdminNavNames" Links="UiConstants.AdminNavLinks"/>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
@inject HttpApiClient ApiClient
|
||||
|
||||
<div class="mb-3">
|
||||
<div class="mb-5">
|
||||
<NavTabs Index="0" Names="UiConstants.AdminNavNames" Links="UiConstants.AdminNavLinks" />
|
||||
</div>
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
@attribute [RequirePermission("admin.system.theme")]
|
||||
|
||||
<div class="mb-3">
|
||||
<div class="mb-5">
|
||||
<NavTabs Index="1" Names="UiConstants.AdminNavNames" Links="UiConstants.AdminNavLinks" />
|
||||
</div>
|
||||
|
||||
|
||||
@@ -27,12 +27,12 @@
|
||||
<DataTableColumn TItem="UserResponse">
|
||||
<ColumnTemplate>
|
||||
<div class="flex justify-end">
|
||||
<a href="/admin/users/@(context.Id)" class="text-primary-500 mr-2 sm:mr-3">
|
||||
<a href="/admin/users/@(context.Id)" class="text-primary mr-2 sm:mr-3">
|
||||
<i class="icon-pencil text-base"></i>
|
||||
</a>
|
||||
|
||||
<a href="#" @onclick="() => Delete(context)" @onclick:preventDefault
|
||||
class="text-danger-500">
|
||||
class="text-danger">
|
||||
<i class="icon-trash text-base"></i>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user