mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-14 12:07:46 +02:00
refactor(modules): extract castopod parts into a modules/ folder for a scalable HMVC structure
- create Admin, Analytics, Auth, Fediverse and Install modules in the root modules/ folder - rename ActivityPub to Fediverse
This commit is contained in:
parent
94872f2338
commit
5083cd2fda
268 changed files with 4221 additions and 2186 deletions
52
modules/Install/Views/create_superadmin.php
Normal file
52
modules/Install/Views/create_superadmin.php
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
<?= $this->extend('Modules\Install\Views\_layout') ?>
|
||||
|
||||
<?= $this->section('content') ?>
|
||||
|
||||
<?= form_open(route_to('create-superadmin'), [
|
||||
'class' => 'flex flex-col max-w-sm w-full',
|
||||
]) ?>
|
||||
<?= csrf_field() ?>
|
||||
|
||||
<h1 class="mb-4 text-xl font-bold font-display"><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-pine-700 border-pine-700 font-body">4/4</span><?= lang(
|
||||
'Install.form.create_superadmin',
|
||||
) ?></h1>
|
||||
|
||||
<?= form_label(lang('Install.form.email'), 'email') ?>
|
||||
<?= form_input([
|
||||
'id' => 'email',
|
||||
'name' => 'email',
|
||||
'class' => 'form-input mb-4',
|
||||
'type' => 'email',
|
||||
'required' => 'required',
|
||||
'value' => old('email'),
|
||||
]) ?>
|
||||
|
||||
<?= form_label(lang('Install.form.username'), 'username') ?>
|
||||
<?= form_input([
|
||||
'id' => 'username',
|
||||
'name' => 'username',
|
||||
'class' => 'form-input mb-4',
|
||||
'required' => 'required',
|
||||
'value' => old('username'),
|
||||
]) ?>
|
||||
|
||||
<?= form_label(lang('Install.form.password'), 'password') ?>
|
||||
<?= form_input([
|
||||
'id' => 'password',
|
||||
'name' => 'password',
|
||||
'class' => 'form-input mb-4',
|
||||
'type' => 'password',
|
||||
'required' => 'required',
|
||||
'autocomplete' => 'new-password',
|
||||
]) ?>
|
||||
|
||||
<?= button(
|
||||
icon('check', 'mr-2') . lang('Install.form.submit'),
|
||||
'',
|
||||
['variant' => 'primary'],
|
||||
['type' => 'submit', 'class' => 'self-end'],
|
||||
) ?>
|
||||
|
||||
<?= form_close() ?>
|
||||
|
||||
<?= $this->endSection() ?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue