Skip to content

Commit

Permalink
Remove unneeded thing
Browse files Browse the repository at this point in the history
  • Loading branch information
NHAS committed Nov 23, 2024
1 parent 6360698 commit 4bf9d28
Showing 1 changed file with 17 additions and 19 deletions.
36 changes: 17 additions & 19 deletions adminui2/src/pages/Diagnostics/Acls.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { useToast } from 'vue-toastification'
import { useToastError } from '@/composables/useToastError'
import { checkFirewallRule, getUserAcls, type AclsTestRequestDTO, type AclsTestResponseDTO } from '@/api'
import { getUserAcls, type AclsTestRequestDTO, type AclsTestResponseDTO } from '@/api'
const toast = useToast()
const { catcher } = useToastError()
Expand Down Expand Up @@ -35,33 +35,31 @@ async function loadUserAcls() {
<template>
<main class="w-full p-4">
<h1 class="text-4xl font-bold mb-4">Check ACLs</h1>
<p>
Here you can test the wag acl composition engine, submit a username and see what real acls are applied.
</p>
<p>Here you can test the wag acl composition engine, submit a username and see what real acls are applied.</p>
<div class="mt-6 flex flex-wrap w-full">
<div class="card bg-base-100 shadow-xl min-w-[800px] max-w-full">
<div class="card-body">
<div class="gap-4">
<div class="row">
<div class="col">
<div class="flex flex-wrap -mx-3 mb-6">
<div class="px-3">
<input
v-model="inputMode.username"
class="input input-bordered "
id="username"
type="text"
placeholder="Username"
required
/>
<div class="flex flex-wrap -mx-3 mb-6">
<div class="px-3">
<input
v-model="inputMode.username"
class="input input-bordered"
id="username"
type="text"
placeholder="Username"
required
/>
</div>
<button type="submit" class="btn btn-primary" @click="loadUserAcls()">
<span class="loading loading-spinner loading-md" v-if="isLoadingAcls"></span>
Fetch
</button>
</div>
<button type="submit" class="btn btn-primary" @click="loadUserAcls()">
<span class="loading loading-spinner loading-md" v-if="isLoadingAcls"></span>
Fetch
</button>
</div>
</div>
</div>
<div class="row">
<div class="col">
<pre>{{ result.acls }}</pre>
Expand Down

0 comments on commit 4bf9d28

Please sign in to comment.