fix the previous commit's bugs
This commit is contained in:
parent
e3d5477bdf
commit
f6cc95820d
2 changed files with 3 additions and 8 deletions
|
@ -9,8 +9,10 @@
|
|||
<script src="https://unpkg.com/htmx.org@2.0.4"
|
||||
integrity="sha384-HGfztofotfshcF7+8n44JQL2oJmowVChPTg48S+jvZoztPfvwD79OC/LTtG6dMp+"
|
||||
crossorigin="anonymous"></script>
|
||||
|
||||
</head>
|
||||
|
||||
|
||||
<body class="grid place-center w-dvw h-dvh bg-zinc-900">
|
||||
<script>
|
||||
const totp_length = 6;
|
||||
|
@ -111,7 +113,7 @@
|
|||
<label for="totp">TOTP</label>
|
||||
<div class="flex flex-row gap-3 w-full px-auto justify-center box-border" id="totp">
|
||||
<template id="totp_cell">
|
||||
<input type="number"
|
||||
<input type="text" inputmode="numeric" pattern="[0-9]{1}"
|
||||
class="block rounded outline-none ring-2 border-box w-7 h-7 text-center totp"
|
||||
data-index-number="0" maxlength="1" minlength="1" />
|
||||
</template>
|
||||
|
|
|
@ -12,13 +12,6 @@
|
|||
crossorigin="anonymous"></script>
|
||||
<script src="/admin/panel/api.js"></script>
|
||||
</head>
|
||||
<style>
|
||||
input[type=number]::-webkit-inner-spin-button,
|
||||
input[type=number]::-webkit-outer-spin-button {
|
||||
-webkit-appearance: none;
|
||||
margin: 0;
|
||||
}
|
||||
</style>
|
||||
|
||||
<body class="m-0 w-dvw h-dvh bg-zinc-800 grid place-center">
|
||||
<div class="mx-auto h-dvh w-[90dvw] lg:w-[70dvw]">
|
||||
|
|
Loading…
Add table
Reference in a new issue