|
| 1 | +<script setup lang="ts"> |
| 2 | +
|
| 3 | +</script> |
| 4 | + |
| 5 | +<template> |
| 6 | + <form> |
| 7 | + <main class="border-b border-gray-900/10"> |
| 8 | + <!-- Settings forms --> |
| 9 | + <div class="divide-y divide-gray-900/10"> |
| 10 | + <div class="grid max-w-7xl grid-cols-1 gap-x-8 gap-y-10 py-16 md:grid-cols-3"> |
| 11 | + <div> |
| 12 | + <h2 class="text-base font-semibold leading-7 text-gray-900 dark:text-gray-100"> |
| 13 | + Default Hashing Settings |
| 14 | + </h2> |
| 15 | + <p class="mt-1 text-sm leading-6 text-gray-600"> |
| 16 | + Update your default Hashing settings |
| 17 | + </p> |
| 18 | + </div> |
| 19 | + |
| 20 | + <div class="md:col-span-2"> |
| 21 | + <div class="w-full grid grid-cols-1 gap-x-6 gap-y-8 sm:grid-cols-6"> |
| 22 | + <div class="sm:col-span-3"> |
| 23 | + <label for="type" class="block text-sm font-medium leading-6 text-gray-900">Driver</label> |
| 24 | + <div class="mt-2"> |
| 25 | + <select id="type" name="type" class="block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:max-w-xs sm:text-sm sm:leading-6"> |
| 26 | + <option selected> |
| 27 | + argon2 |
| 28 | + </option> |
| 29 | + <option>bcrypt</option> |
| 30 | + </select> |
| 31 | + </div> |
| 32 | + </div> |
| 33 | + </div> |
| 34 | + </div> |
| 35 | + </div> |
| 36 | + |
| 37 | + <div class="grid max-w-7xl grid-cols-1 gap-x-8 gap-y-10 py-16 md:grid-cols-3"> |
| 38 | + <div> |
| 39 | + <h2 class="text-base font-semibold leading-7 text-gray-900 dark:text-gray-100"> |
| 40 | + Bcrypt Hashing |
| 41 | + </h2> |
| 42 | + <p class="mt-1 text-sm leading-6 text-gray-600"> |
| 43 | + Update your Bcrypt Hashing configurations |
| 44 | + </p> |
| 45 | + </div> |
| 46 | + |
| 47 | + <div class="md:col-span-2"> |
| 48 | + <div class="w-full grid grid-cols-1 gap-x-6 gap-y-8 sm:grid-cols-6"> |
| 49 | + <div class="sm:col-span-3"> |
| 50 | + <label for="local-driver" class="block text-sm font-medium leading-6 text-gray-900">rounds</label> |
| 51 | + <div class="mt-2"> |
| 52 | + <input id="local-driver" type="text" name="local-driver" value="10" class="block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6"> |
| 53 | + </div> |
| 54 | + </div> |
| 55 | + |
| 56 | + <div class="sm:col-span-3"> |
| 57 | + <label for="local-root" class="block text-sm font-medium leading-6 text-gray-900">Cost</label> |
| 58 | + <div class="mt-2"> |
| 59 | + <input id="local-root" type="text" name="local-root" value="4" class="block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6"> |
| 60 | + </div> |
| 61 | + </div> |
| 62 | + </div> |
| 63 | + </div> |
| 64 | + </div> |
| 65 | + |
| 66 | + <div class="grid max-w-7xl grid-cols-1 gap-x-8 gap-y-10 py-16 md:grid-cols-3"> |
| 67 | + <div> |
| 68 | + <h2 class="text-base font-semibold leading-7 text-gray-900 dark:text-gray-100"> |
| 69 | + Argon2 Hashing |
| 70 | + </h2> |
| 71 | + <p class="mt-1 text-sm leading-6 text-gray-600"> |
| 72 | + Update your Argon2 Hashing configurations |
| 73 | + </p> |
| 74 | + </div> |
| 75 | + |
| 76 | + <div class="md:col-span-2"> |
| 77 | + <div class="w-full grid grid-cols-1 gap-x-6 gap-y-8 sm:grid-cols-6"> |
| 78 | + <div class="sm:col-span-3"> |
| 79 | + <label for="local-driver" class="block text-sm font-medium leading-6 text-gray-900">Memory</label> |
| 80 | + <div class="mt-2"> |
| 81 | + <input id="local-driver" type="text" name="local-driver" value="65596" class="block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6"> |
| 82 | + </div> |
| 83 | + </div> |
| 84 | + |
| 85 | + <div class="sm:col-span-3"> |
| 86 | + <label for="local-root" class="block text-sm font-medium leading-6 text-gray-900">Threads</label> |
| 87 | + <div class="mt-2"> |
| 88 | + <input id="local-root" type="text" name="local-root" value="1" class="block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6"> |
| 89 | + </div> |
| 90 | + </div> |
| 91 | + |
| 92 | + <div class="sm:col-span-3"> |
| 93 | + <label for="local-root" class="block text-sm font-medium leading-6 text-gray-900">Time</label> |
| 94 | + <div class="mt-2"> |
| 95 | + <input id="local-root" type="text" name="local-root" value="1" class="block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6"> |
| 96 | + </div> |
| 97 | + </div> |
| 98 | + </div> |
| 99 | + </div> |
| 100 | + </div> |
| 101 | + </div> |
| 102 | + </main> |
| 103 | + <div class="mt-6 flex items-center justify-end gap-x-6"> |
| 104 | + <button type="button" class="text-sm font-semibold leading-6 text-gray-900"> |
| 105 | + Cancel |
| 106 | + </button> |
| 107 | + <Button |
| 108 | + type="submit" |
| 109 | + class="rounded-md bg-indigo-600 px-3 py-2 text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600" |
| 110 | + > |
| 111 | + Save |
| 112 | + </Button> |
| 113 | + </div> |
| 114 | + </form> |
| 115 | +</template> |
| 116 | + |
| 117 | +<style scoped> |
| 118 | +
|
| 119 | +</style> |
0 commit comments