|
| 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 Email Settings |
| 14 | + </h2> |
| 15 | + <p class="mt-1 text-sm leading-6 text-gray-600"> |
| 16 | + Update your default email 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="from" class="block text-sm font-medium leading-6 text-gray-900">From Name</label> |
| 24 | + <div class="mt-2"> |
| 25 | + <input id="from" type="text" name="from" value="Stacks" 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"> |
| 26 | + </div> |
| 27 | + </div> |
| 28 | + |
| 29 | + <div class="sm:col-span-3"> |
| 30 | + <label for="address" class="block text-sm font-medium leading-6 text-gray-900">From Address</label> |
| 31 | + <div class="mt-2"> |
| 32 | + <input id="address" type="text" name="address" value="no-reply@stacksjs.org" 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"> |
| 33 | + </div> |
| 34 | + </div> |
| 35 | + |
| 36 | + <div class="sm:col-span-full"> |
| 37 | + <label for="mailboxes" class="block text-sm font-medium leading-6 text-gray-900">Mailboxes</label> |
| 38 | + <div class="mt-2"> |
| 39 | + <input id="maiboxes" type="text" name="mailboxes" value="chris@stacksjs.org,blake@stacksjs.org,glenn@stacksjs.org" 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"> |
| 40 | + </div> |
| 41 | + </div> |
| 42 | + |
| 43 | + <div class="sm:col-span-3"> |
| 44 | + <label for="url" class="block text-sm font-medium leading-6 text-gray-900">Url</label> |
| 45 | + <div class="mt-2"> |
| 46 | + <input id="url" type="text" name="url" value="http://localhost:3000" 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"> |
| 47 | + </div> |
| 48 | + </div> |
| 49 | + |
| 50 | + <div class="sm:col-span-3"> |
| 51 | + <label for="type" class="block text-sm font-medium leading-6 text-gray-900">Charset</label> |
| 52 | + <div class="mt-2"> |
| 53 | + <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"> |
| 54 | + <option selected> |
| 55 | + UTF-8 |
| 56 | + </option> |
| 57 | + </select> |
| 58 | + </div> |
| 59 | + </div> |
| 60 | + |
| 61 | + <div class="sm:col-span-2"> |
| 62 | + <label for="default-config" class="block text-sm font-medium leading-6 text-gray-900">Scan Server</label> |
| 63 | + <div class="mt-2"> |
| 64 | + <!-- Enabled: "bg-indigo-600", Not Enabled: "bg-gray-200" --> |
| 65 | + <button |
| 66 | + type="button" |
| 67 | + class="relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent bg-indigo-600 transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-indigo-600 focus:ring-offset-2" |
| 68 | + role="switch" aria-checked="false" |
| 69 | + > |
| 70 | + <span class="sr-only">Enable Docs</span> |
| 71 | + <!-- Enabled: "translate-x-5", Not Enabled: "translate-x-0" --> |
| 72 | + <span |
| 73 | + aria-hidden="true" |
| 74 | + class="pointer-events-none inline-block h-5 w-5 translate-x-5 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out" |
| 75 | + /> |
| 76 | + </button> |
| 77 | + </div> |
| 78 | + </div> |
| 79 | + </div> |
| 80 | + </div> |
| 81 | + </div> |
| 82 | + </div> |
| 83 | + </main> |
| 84 | + <div class="mt-6 flex items-center justify-end gap-x-6"> |
| 85 | + <button type="button" class="text-sm font-semibold leading-6 text-gray-900"> |
| 86 | + Cancel |
| 87 | + </button> |
| 88 | + <Button |
| 89 | + type="submit" |
| 90 | + 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" |
| 91 | + > |
| 92 | + Save |
| 93 | + </Button> |
| 94 | + </div> |
| 95 | + </form> |
| 96 | +</template> |
| 97 | + |
| 98 | +<style scoped> |
| 99 | +
|
| 100 | +</style> |
0 commit comments