|
| 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 Queue Settings |
| 14 | + </h2> |
| 15 | + <p class="mt-1 text-sm leading-6 text-gray-600"> |
| 16 | + Update your default Queue 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">Default</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 | + sync |
| 28 | + </option> |
| 29 | + <option>database</option> |
| 30 | + <option>redis</option> |
| 31 | + <option>sqs</option> |
| 32 | + </select> |
| 33 | + </div> |
| 34 | + </div> |
| 35 | + </div> |
| 36 | + </div> |
| 37 | + </div> |
| 38 | + |
| 39 | + <div class="grid max-w-7xl grid-cols-1 gap-x-8 gap-y-10 py-16 md:grid-cols-3"> |
| 40 | + <div> |
| 41 | + <h2 class="text-base font-semibold leading-7 text-gray-900 dark:text-gray-100"> |
| 42 | + Sync Queue |
| 43 | + </h2> |
| 44 | + <p class="mt-1 text-sm leading-6 text-gray-600"> |
| 45 | + Update your Sync Queue configurations |
| 46 | + </p> |
| 47 | + </div> |
| 48 | + |
| 49 | + <div class="md:col-span-2"> |
| 50 | + <div class="w-full grid grid-cols-1 gap-x-6 gap-y-8 sm:grid-cols-6"> |
| 51 | + <div class="sm:col-span-3"> |
| 52 | + <label for="local-driver" class="block text-sm font-medium leading-6 text-gray-900">Driver</label> |
| 53 | + <div class="mt-2"> |
| 54 | + <input id="driver" type="text" name="driver" value="sync" disabled class="cursor-not-allowed bg-blue-gray-50 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"> |
| 55 | + </div> |
| 56 | + </div> |
| 57 | + </div> |
| 58 | + </div> |
| 59 | + </div> |
| 60 | + |
| 61 | + <div class="grid max-w-7xl grid-cols-1 gap-x-8 gap-y-10 py-16 md:grid-cols-3"> |
| 62 | + <div> |
| 63 | + <h2 class="text-base font-semibold leading-7 text-gray-900 dark:text-gray-100"> |
| 64 | + Database Queue |
| 65 | + </h2> |
| 66 | + <p class="mt-1 text-sm leading-6 text-gray-600"> |
| 67 | + Update your database queue configurations |
| 68 | + </p> |
| 69 | + </div> |
| 70 | + |
| 71 | + <div class="md:col-span-2"> |
| 72 | + <div class="w-full grid grid-cols-1 gap-x-6 gap-y-8 sm:grid-cols-6"> |
| 73 | + <div class="sm:col-span-3"> |
| 74 | + <label for="local-driver" class="block text-sm font-medium leading-6 text-gray-900">Driver</label> |
| 75 | + <div class="mt-2"> |
| 76 | + <input id="driver" type="text" name="driver" value="database" disabled class="cursor-not-allowed bg-blue-gray-50 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"> |
| 77 | + </div> |
| 78 | + </div> |
| 79 | + |
| 80 | + <div class="sm:col-span-3"> |
| 81 | + <label for="local-root" class="block text-sm font-medium leading-6 text-gray-900">Table</label> |
| 82 | + <div class="mt-2"> |
| 83 | + <input id="local-root" type="text" name="local-root" value="jobs" 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"> |
| 84 | + </div> |
| 85 | + </div> |
| 86 | + |
| 87 | + <div class="sm:col-span-3"> |
| 88 | + <label for="local-root" class="block text-sm font-medium leading-6 text-gray-900">Queue</label> |
| 89 | + <div class="mt-2"> |
| 90 | + <input id="local-root" type="text" name="local-root" value="default" 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"> |
| 91 | + </div> |
| 92 | + </div> |
| 93 | + </div> |
| 94 | + </div> |
| 95 | + </div> |
| 96 | + |
| 97 | + |
| 98 | + |
| 99 | + <div class="grid max-w-7xl grid-cols-1 gap-x-8 gap-y-10 py-16 md:grid-cols-3"> |
| 100 | + <div> |
| 101 | + <h2 class="text-base font-semibold leading-7 text-gray-900 dark:text-gray-100"> |
| 102 | + Redis Queue |
| 103 | + </h2> |
| 104 | + <p class="mt-1 text-sm leading-6 text-gray-600"> |
| 105 | + Update your redis queue configurations |
| 106 | + </p> |
| 107 | + </div> |
| 108 | + |
| 109 | + <div class="md:col-span-2"> |
| 110 | + <div class="w-full grid grid-cols-1 gap-x-6 gap-y-8 sm:grid-cols-6"> |
| 111 | + <div class="sm:col-span-3"> |
| 112 | + <label for="local-driver" class="block text-sm font-medium leading-6 text-gray-900">Driver</label> |
| 113 | + <div class="mt-2"> |
| 114 | + <input id="driver" type="text" name="driver" value="redis" disabled class="cursor-not-allowed bg-blue-gray-50 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"> |
| 115 | + </div> |
| 116 | + </div> |
| 117 | + |
| 118 | + <div class="sm:col-span-3"> |
| 119 | + <label for="local-root" class="block text-sm font-medium leading-6 text-gray-900">Connection</label> |
| 120 | + <div class="mt-2"> |
| 121 | + <input id="local-root" type="text" name="local-root" value="default" 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"> |
| 122 | + </div> |
| 123 | + </div> |
| 124 | + |
| 125 | + <div class="sm:col-span-3"> |
| 126 | + <label for="local-root" class="block text-sm font-medium leading-6 text-gray-900">Queue</label> |
| 127 | + <div class="mt-2"> |
| 128 | + <input id="local-root" type="text" name="local-root" value="default" 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"> |
| 129 | + </div> |
| 130 | + </div> |
| 131 | + </div> |
| 132 | + </div> |
| 133 | + </div> |
| 134 | + |
| 135 | + |
| 136 | + <div class="grid max-w-7xl grid-cols-1 gap-x-8 gap-y-10 py-16 md:grid-cols-3"> |
| 137 | + <div> |
| 138 | + <h2 class="text-base font-semibold leading-7 text-gray-900 dark:text-gray-100"> |
| 139 | + SQS Queue |
| 140 | + </h2> |
| 141 | + <p class="mt-1 text-sm leading-6 text-gray-600"> |
| 142 | + Update your sqs queue configurations |
| 143 | + </p> |
| 144 | + </div> |
| 145 | + |
| 146 | + <div class="md:col-span-2"> |
| 147 | + <div class="w-full grid grid-cols-1 gap-x-6 gap-y-8 sm:grid-cols-6"> |
| 148 | + <div class="sm:col-span-3"> |
| 149 | + <label for="local-driver" class="block text-sm font-medium leading-6 text-gray-900">Driver</label> |
| 150 | + <div class="mt-2"> |
| 151 | + <input id="driver" type="text" name="driver" value="sqs" disabled class="cursor-not-allowed bg-blue-gray-50 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"> |
| 152 | + </div> |
| 153 | + </div> |
| 154 | + |
| 155 | + <div class="sm:col-span-3"> |
| 156 | + <label for="local-root" class="block text-sm font-medium leading-6 text-gray-900">Key</label> |
| 157 | + <div class="mt-2"> |
| 158 | + <input id="local-root" type="text" name="local-root" value="" 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"> |
| 159 | + </div> |
| 160 | + </div> |
| 161 | + |
| 162 | + <div class="sm:col-span-3"> |
| 163 | + <label for="local-root" class="block text-sm font-medium leading-6 text-gray-900">Secret</label> |
| 164 | + <div class="mt-2"> |
| 165 | + <input id="local-root" type="text" name="local-root" value="" 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"> |
| 166 | + </div> |
| 167 | + </div> |
| 168 | + |
| 169 | + <div class="sm:col-span-3"> |
| 170 | + <label for="local-root" class="block text-sm font-medium leading-6 text-gray-900">Prefix</label> |
| 171 | + <div class="mt-2"> |
| 172 | + <input id="local-root" type="text" name="local-root" value="" 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"> |
| 173 | + </div> |
| 174 | + </div> |
| 175 | + |
| 176 | + <div class="sm:col-span-3"> |
| 177 | + <label for="local-root" class="block text-sm font-medium leading-6 text-gray-900">Suffix</label> |
| 178 | + <div class="mt-2"> |
| 179 | + <input id="local-root" type="text" name="local-root" value="" 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"> |
| 180 | + </div> |
| 181 | + </div> |
| 182 | + |
| 183 | + <div class="sm:col-span-3"> |
| 184 | + <label for="local-root" class="block text-sm font-medium leading-6 text-gray-900">Queue</label> |
| 185 | + <div class="mt-2"> |
| 186 | + <input id="local-root" type="text" name="local-root" value="default" 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"> |
| 187 | + </div> |
| 188 | + </div> |
| 189 | + |
| 190 | + <div class="sm:col-span-3"> |
| 191 | + <label for="local-root" class="block text-sm font-medium leading-6 text-gray-900">Region</label> |
| 192 | + <div class="mt-2"> |
| 193 | + <input id="local-root" type="text" name="local-root" value="us-east-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"> |
| 194 | + </div> |
| 195 | + </div> |
| 196 | + </div> |
| 197 | + </div> |
| 198 | + </div> |
| 199 | + |
| 200 | + |
| 201 | + </div> |
| 202 | + </main> |
| 203 | + <div class="mt-6 flex items-center justify-end gap-x-6"> |
| 204 | + <button type="button" class="text-sm font-semibold leading-6 text-gray-900"> |
| 205 | + Cancel |
| 206 | + </button> |
| 207 | + <Button |
| 208 | + type="submit" |
| 209 | + 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" |
| 210 | + > |
| 211 | + Save |
| 212 | + </Button> |
| 213 | + </div> |
| 214 | + </form> |
| 215 | +</template> |
| 216 | + |
| 217 | +<style scoped> |
| 218 | +
|
| 219 | +</style> |
0 commit comments