mirror of
https://github.com/mentos1386/zdravko.git
synced 2024-11-26 17:27:59 +00:00
34 lines
2.4 KiB
Cheetah
34 lines
2.4 KiB
Cheetah
{{define "settings"}}
|
|
<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>
|
|
<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>
|
|
<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>
|
|
{{end}}
|