mirror of
https://github.com/PrivateCaptcha/PrivateCaptcha.git
synced 2026-02-09 07:19:08 -06:00
Cosmetic improvements
Typical SonarCloud spam
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<aside class="flex overflow-x-auto border-b border-gray-900/5 py-4 lg:block lg:w-64 lg:flex-none lg:border-0 lg:py-20">
|
||||
<nav class="flex-none px-4 sm:px-6 lg:px-0">
|
||||
<ul role="list" class="flex gap-x-3 gap-y-1 whitespace-nowrap lg:flex-col">
|
||||
<ul class="flex gap-x-3 gap-y-1 whitespace-nowrap lg:flex-col">
|
||||
{{- range .Params.Tabs }}
|
||||
<li>
|
||||
<!-- Current: "bg-gray-50 text-pclime-600", Default: "text-gray-700 hover:text-pclime-600 hover:bg-gray-50" -->
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
</a>
|
||||
</nav>
|
||||
<nav class="hidden sm:flex" aria-label="Breadcrumb">
|
||||
<ol role="list" class="flex items-center space-x-4">
|
||||
<ol class="flex items-center space-x-4">
|
||||
<li>
|
||||
<div class="flex">
|
||||
<a href="{{ relURL "/" }}" class="text-sm font-medium text-gray-400 hover:text-gray-200">
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
{{- end -}}
|
||||
<div class="mt-10">
|
||||
<h3 class="text-sm font-medium text-gray-500">Team members of this organization</h3>
|
||||
<ul role="list" class="mt-4 divide-y divide-gray-200 border-b border-t border-gray-200"
|
||||
<ul class="mt-4 divide-y divide-gray-200 border-b border-t border-gray-200"
|
||||
hx-confirm="Are you sure?" hx-target="closest li" hx-swap="outerHTML swap:1s"
|
||||
>
|
||||
<li class="flex items-center justify-between space-x-3 py-4">
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
</a>
|
||||
</nav>
|
||||
<nav class="hidden sm:flex" aria-label="Breadcrumb">
|
||||
<ol role="list" class="flex items-center space-x-4">
|
||||
<ol class="flex items-center space-x-4">
|
||||
<li>
|
||||
<div class="flex">
|
||||
<a href="{{ relURL "/" }}" class="text-sm font-medium text-gray-400 hover:text-gray-200">
|
||||
@@ -77,7 +77,7 @@
|
||||
class="absolute right-0 z-10 mt-2 w-72 origin-top-right divide-y divide-gray-200 overflow-hidden rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none" tabindex="-1" role="listbox" aria-labelledby="listbox-label">
|
||||
{{ range $org := .Params.Orgs }}
|
||||
{{ if eq $org.Level $.Const.OrgLevelInvited }}
|
||||
<li class="group text-gray-900 cursor-default select-none p-4 text-sm hover:bg-gray-100" role="option" aria-hidden="true">
|
||||
<li class="group text-gray-900 cursor-default select-none p-4 text-sm hover:bg-gray-100" role="option" aria-hidden="true" aria-selected="false">
|
||||
<a href="{{ partsURL $.Const.OrgEndpoint $org.ID }}" class="inline-block cursor-default flex justify-between">
|
||||
<p :class="orgID == '{{ $org.ID }}' ? 'font-semibold' : 'font-normal'">{{ $org.Name }}</p>
|
||||
<span
|
||||
@@ -97,6 +97,7 @@
|
||||
hx-trigger="click"
|
||||
hx-get="{{ partsURL $.Const.OrgEndpoint $org.ID $.Const.TabEndpoint $.Const.DashboardEndpoint }}"
|
||||
hx-replace-url="{{ partsURL $.Const.OrgEndpoint $org.ID }}"
|
||||
aria-selected="false"
|
||||
role="option">
|
||||
<div class="flex justify-between">
|
||||
<p :class="orgID == '{{ $org.ID }}' ? 'font-semibold' : 'font-normal'">{{ $org.Name }}</p>
|
||||
@@ -112,7 +113,7 @@
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ if $.Platform.Enterprise }}
|
||||
<li class="group text-gray-900 cursor-default select-none text-sm hover:bg-gray-100" role="option" aria-hidden="true">
|
||||
<li class="group text-gray-900 cursor-default select-none text-sm hover:bg-gray-100" role="option" aria-hidden="true" aria-selected="false">
|
||||
<a
|
||||
href="{{ partsURL $.Const.OrgEndpoint .Const.NewEndpoint }}"
|
||||
class="inline-flex items-center justify-center leading-4 text-gray-900 w-full h-full p-4 cursor-default"
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
</a>
|
||||
</nav>
|
||||
<nav class="hidden sm:flex" aria-label="Breadcrumb">
|
||||
<ol role="list" class="flex items-center space-x-4">
|
||||
<ol class="flex items-center space-x-4">
|
||||
<li>
|
||||
<div class="flex">
|
||||
<a href="{{ relURL "/" }}" class="text-sm font-medium text-gray-400 hover:text-gray-200">
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
</a>
|
||||
</nav>
|
||||
<nav class="hidden sm:flex" aria-label="Breadcrumb">
|
||||
<ol role="list" class="flex items-center space-x-4">
|
||||
<ol class="flex items-center space-x-4">
|
||||
<li>
|
||||
<div class="flex">
|
||||
<a href="{{ relURL "/" }}" class="text-sm font-medium text-gray-400 hover:text-gray-200">
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
<div class="flex items-center justify-between">
|
||||
<h2 class="text-base font-semibold leading-7 text-gray-900">Other integrations</h2>
|
||||
</div>
|
||||
<ul role="list" class="mt-6 grid grid-cols-1 gap-x-6 gap-y-8 lg:grid-cols-3 xl:gap-x-8">
|
||||
<ul class="mt-6 grid grid-cols-1 gap-x-6 gap-y-8 lg:grid-cols-3 xl:gap-x-8">
|
||||
<li class="overflow-hidden rounded-xl border border-gray-200">
|
||||
<div class="flex items-center gap-x-4 border-b border-gray-900/5 bg-gray-50 p-6">
|
||||
<img src="{{$.Ctx.CDN}}/portal/img/wordpress.png" alt="WordPress" class="h-10 w-10 p-1 flex-none rounded-lg bg-white object-contain ring-1 ring-gray-900/10">
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<ul role="list" class="divide-y divide-gray-100"
|
||||
<ul class="divide-y divide-gray-100"
|
||||
hx-confirm="Are you sure?" hx-target="closest li" hx-swap="outerHTML swap:1s">
|
||||
{{ range $key := .Params.Keys }}
|
||||
<li class="flex items-center justify-between gap-x-6 py-5">
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Private Captcha</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<script type="module" src="{{$.Ctx.CDN}}/portal/js/bundle.js"></script>
|
||||
</head>
|
||||
|
||||
@@ -37,7 +37,7 @@ export function ready(cb) {
|
||||
})
|
||||
}
|
||||
|
||||
export let WASM_SUPPORTED = b2wasm.SUPPORTED;
|
||||
export const WASM_SUPPORTED = b2wasm.SUPPORTED;
|
||||
export let WASM_LOADED = false;
|
||||
export let impl = createHash;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user