mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-10 04:22:09 +10:00
fix: misc fixes
This commit is contained in:
2
app.vue
2
app.vue
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<NuxtLoadingIndicator />
|
<NuxtLoadingIndicator color="#2563eb" />
|
||||||
<NuxtLayout>
|
<NuxtLayout>
|
||||||
<NuxtPage />
|
<NuxtPage />
|
||||||
</NuxtLayout>
|
</NuxtLayout>
|
||||||
|
|||||||
@ -51,7 +51,7 @@
|
|||||||
:href="nav.route"
|
:href="nav.route"
|
||||||
:class="[
|
:class="[
|
||||||
active ? 'bg-zinc-800 text-zinc-100' : 'text-zinc-400',
|
active ? 'bg-zinc-800 text-zinc-100' : 'text-zinc-400',
|
||||||
'text-left transition block px-4 py-2 text-sm',
|
'w-full text-left transition block px-4 py-2 text-sm',
|
||||||
]"
|
]"
|
||||||
@click="() => navigateTo(nav.route, close)"
|
@click="() => navigateTo(nav.route, close)"
|
||||||
>
|
>
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="grid gap-4 lg:grid-cols-3 lg:grid-rows-2">
|
<div v-if="false" class="grid gap-4 lg:grid-cols-3 lg:grid-rows-2">
|
||||||
<div class="relative lg:row-span-2">
|
<div class="relative lg:row-span-2">
|
||||||
<div
|
<div
|
||||||
class="absolute inset-px rounded-lg bg-zinc-950 lg:rounded-l-[2rem]"
|
class="absolute inset-px rounded-lg bg-zinc-950 lg:rounded-l-[2rem]"
|
||||||
|
|||||||
@ -100,7 +100,7 @@ import { IconsSimpleAuthenticationLogo } from "#components";
|
|||||||
import { Menu, MenuButton, MenuItem, MenuItems } from "@headlessui/vue";
|
import { Menu, MenuButton, MenuItem, MenuItems } from "@headlessui/vue";
|
||||||
import { EllipsisHorizontalIcon } from "@heroicons/vue/20/solid";
|
import { EllipsisHorizontalIcon } from "@heroicons/vue/20/solid";
|
||||||
import { CheckIcon, XMarkIcon } from "@heroicons/vue/24/solid";
|
import { CheckIcon, XMarkIcon } from "@heroicons/vue/24/solid";
|
||||||
import { AuthMec } from "@prisma/client";
|
import type { AuthMec } from "@prisma/client";
|
||||||
import type { Component } from "vue";
|
import type { Component } from "vue";
|
||||||
|
|
||||||
useHead({
|
useHead({
|
||||||
@ -123,7 +123,7 @@ const authenticationMechanisms: Array<{
|
|||||||
}> = [
|
}> = [
|
||||||
{
|
{
|
||||||
name: "Simple (username/password)",
|
name: "Simple (username/password)",
|
||||||
mec: AuthMec.Simple,
|
mec: "Simple" as AuthMec,
|
||||||
icon: IconsSimpleAuthenticationLogo,
|
icon: IconsSimpleAuthenticationLogo,
|
||||||
route: "/admin/users/auth/simple",
|
route: "/admin/users/auth/simple",
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user