2024-02-15 22:47:56 +00:00
|
|
|
{{define "settings"}}
|
2024-02-16 12:07:29 +00:00
|
|
|
<section class="relative overflow-x-auto shadow-md sm:rounded-lg p-5 text-gray-500 bg-white">
|
|
|
|
<h1 class="text-lg font-semibold text-gray-900">
|
|
|
|
Creating new Healthcheck.
|
|
|
|
</h1>
|
|
|
|
<form class="max-w-sm mt-4" action="/settings/healthchecks/create" method="post">
|
|
|
|
<div class="mb-5">
|
|
|
|
<label for="name" class="block mb-2 text-sm font-medium text-gray-900">Name</label>
|
|
|
|
<input type="name" name="name" id="name" placeholder="Github.com" class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5"/>
|
|
|
|
</div>
|
2024-02-19 10:43:43 +00:00
|
|
|
<div class="mb-5">
|
|
|
|
<label for="workergroups" class="block mb-2 text-sm font-medium text-gray-900">Worker Groups</label>
|
|
|
|
<input type="text" name="workergroups" id="workergroups" placeholder="europe,asia" class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5"/>
|
|
|
|
</div>
|
2024-02-16 12:07:29 +00:00
|
|
|
<div class="mb-5">
|
|
|
|
<label for="schedule" class="block mb-2 text-sm font-medium text-gray-900">Schedule</label>
|
|
|
|
<input type="text" name="schedule" id="schedule" placeholder="* * * * *" class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5"/>
|
|
|
|
</div>
|
|
|
|
<div class="mb-5">
|
|
|
|
<label for="url" class="block mb-2 text-sm font-medium text-gray-900">Url</label>
|
|
|
|
<input type="url" name="url" id="url" placeholder="https://github.com" class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5"/>
|
|
|
|
</div>
|
|
|
|
<div class="mb-5">
|
|
|
|
<label for="method" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">HTTP Method</label>
|
|
|
|
<select id="method" name="method" class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500">
|
|
|
|
<option>GET</option>
|
|
|
|
<option>POST</option>
|
|
|
|
<option>PUT</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<button type="submit" class="text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm w-full sm:w-auto px-5 py-2.5 text-center">Create</button>
|
|
|
|
</form>
|
|
|
|
</section>
|
2024-02-15 22:47:56 +00:00
|
|
|
{{end}}
|