2024-02-18 21:37:17 +00:00
|
|
|
{{define "settings"}}
|
2024-02-23 11:18:02 +00:00
|
|
|
<section class="p-5">
|
|
|
|
<form action="/settings/workers/create" method="post">
|
|
|
|
<label for="name" class="block mb-2 text-sm font-medium text-gray-900">Name</label>
|
|
|
|
<input type="text" name="name" id="name" placeholder="aws-eu-central-1"/>
|
|
|
|
<p>Worker name can be anything.</p>
|
|
|
|
<label for="group" class="block mb-2 text-sm font-medium text-gray-900">Group</label>
|
|
|
|
<input type="text" name="group" id="group" placeholder="EU"/>
|
|
|
|
<p>
|
|
|
|
Group is used to distinguish between different workers.
|
|
|
|
For example, you can have a group for different regions,
|
|
|
|
different datacenters or different environments.
|
|
|
|
</p>
|
|
|
|
<button type="submit" class="col-span-2 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>
|
2024-02-18 21:37:17 +00:00
|
|
|
</form>
|
|
|
|
</section>
|
|
|
|
{{end}}
|