2021-09-02 16:34:25 +00:00
|
|
|
<?= $this->extend('_layout') ?>
|
2020-10-08 16:38:30 +00:00
|
|
|
|
|
|
|
<?= $this->section('content') ?>
|
2020-10-26 16:13:43 +00:00
|
|
|
|
2024-04-28 16:39:01 +00:00
|
|
|
<form action="<?= '/' . config('Install')->gateway . '/instance-config' ?>" class="flex flex-col w-full max-w-sm gap-y-4" method="post" accept-charset="utf-8">
|
2021-09-20 15:45:38 +00:00
|
|
|
<?= csrf_field() ?>
|
2020-10-08 16:38:30 +00:00
|
|
|
|
2021-10-20 14:22:58 +00:00
|
|
|
<div class="flex items-center mb-2">
|
2021-11-05 14:36:34 +00:00
|
|
|
<span class="inline-flex items-center justify-center w-12 h-12 mr-2 text-sm font-semibold tracking-wider border-4 rounded-full text-accent-base border-accent-base">1/4</span>
|
2024-05-09 17:55:41 +00:00
|
|
|
<x-Heading tagName="h1"><?= lang('Install.form.instance_config') ?></x-Heading>
|
2021-09-20 15:45:38 +00:00
|
|
|
</div>
|
|
|
|
|
2024-05-09 17:55:41 +00:00
|
|
|
<x-Forms.Field
|
2021-09-20 15:45:38 +00:00
|
|
|
name="hostname"
|
2024-01-24 16:48:23 +00:00
|
|
|
label="<?= esc(lang('Install.form.hostname')) ?>"
|
2024-04-28 16:39:01 +00:00
|
|
|
value="<?= host_url() === null ? config('App')->baseURL : host_url() ?>"
|
2024-05-09 17:55:41 +00:00
|
|
|
isRequired="true" />
|
2021-09-20 15:45:38 +00:00
|
|
|
|
2024-05-09 17:55:41 +00:00
|
|
|
<x-Forms.Field
|
2021-09-20 15:45:38 +00:00
|
|
|
name="media_base_url"
|
2024-01-24 16:48:23 +00:00
|
|
|
label="<?= esc(lang('Install.form.media_base_url')) ?>"
|
|
|
|
hint="<?= esc(lang('Install.form.media_base_url_hint')) ?>" />
|
2021-09-20 15:45:38 +00:00
|
|
|
|
2024-05-09 17:55:41 +00:00
|
|
|
<x-Forms.Field
|
2021-09-20 15:45:38 +00:00
|
|
|
name="admin_gateway"
|
2024-01-24 16:48:23 +00:00
|
|
|
label="<?= esc(lang('Install.form.admin_gateway')) ?>"
|
|
|
|
hint="<?= esc(lang('Install.form.admin_gateway_hint')) ?>"
|
2024-04-28 16:39:01 +00:00
|
|
|
value="<?= config('Admin')->gateway ?>"
|
2024-05-09 17:55:41 +00:00
|
|
|
isRequired="true" />
|
2021-09-20 15:45:38 +00:00
|
|
|
|
2024-05-09 17:55:41 +00:00
|
|
|
<x-Forms.Field
|
2021-09-20 15:45:38 +00:00
|
|
|
name="auth_gateway"
|
2024-01-24 16:48:23 +00:00
|
|
|
label="<?= esc(lang('Install.form.auth_gateway')) ?>"
|
|
|
|
hint="<?= esc(lang('Install.form.auth_gateway_hint')) ?>"
|
2024-04-28 16:39:01 +00:00
|
|
|
value="<?= config('Auth')->gateway ?>"
|
2024-05-09 17:55:41 +00:00
|
|
|
isRequired="true" />
|
2024-12-17 15:06:08 +00:00
|
|
|
<?php // @icon("arrow-right-fill")?>
|
2024-05-09 17:55:41 +00:00
|
|
|
<x-Button class="self-end" variant="primary" type="submit" iconRight="arrow-right-fill"><?= lang('Install.form.next') ?></x-Button>
|
2021-09-20 15:45:38 +00:00
|
|
|
</form>
|
2020-10-08 16:38:30 +00:00
|
|
|
|
|
|
|
<?= $this->endSection() ?>
|