lasthourcloud/resources/views/livewire/project/application/preview/form.blade.php

14 lines
926 B
PHP
Raw Normal View History

2023-05-30 13:52:17 +00:00
<form wire:submit.prevent='submit'>
2023-06-02 10:34:45 +00:00
<div class="flex items-center gap-2">
<h2>Previews Deployments</h2>
2023-05-30 13:52:17 +00:00
<x-forms.button type="submit">Save</x-forms.button>
2023-06-08 07:31:27 +00:00
<x-forms.button wire:click="resetToDefault">Reset template to default</x-forms.button>
2023-05-30 13:52:17 +00:00
</div>
2023-06-16 10:35:40 +00:00
<div class="pb-4 ">Preview Deployments based on pull requests are here.</div>
2023-05-30 13:52:17 +00:00
<div class="flex flex-col gap-2 pb-4">
<x-forms.input id="application.preview_url_template" label="Preview URL Template"
2023-08-11 18:19:42 +00:00
helper="Templates:<span class='text-helper'>@@{{ random }}</span> to generate random sub-domain each time a PR is deployed, <span class='text-helper'>@@{{ pr_id }}</span> to use pull request ID as sub-domain or <span class='text-helper'>@@{{ domain }}</span> to replace the domain name with the application's domain name." />
2023-06-16 10:35:40 +00:00
<div class="">Domain Preview: {{ $preview_url_template }}</div>
2023-05-30 13:52:17 +00:00
</div>
</form>