113 lines
3.0 KiB
Twig
113 lines
3.0 KiB
Twig
|
{% extends 'setup.base' %}
|
||
|
|
||
|
{% block subtitle %}{{ trans('setup.wizard.info.title') }}{% endblock %}
|
||
|
|
||
|
{% block content %}
|
||
|
<p>{{ trans('setup.wizard.info.text') }}</p>
|
||
|
<form
|
||
|
id="setup"
|
||
|
method="post"
|
||
|
action="{{ url('setup/finish') }}"
|
||
|
novalidate="novalidate"
|
||
|
>
|
||
|
{{ csrf_field() }}
|
||
|
<table class="form-table">
|
||
|
<tr>
|
||
|
<th scope="row">
|
||
|
<label for="email">{{ trans('setup.wizard.info.admin-email') }}</label>
|
||
|
</th>
|
||
|
<td>
|
||
|
<input name="email" type="email" id="email" size="25">
|
||
|
<p>{{ trans('setup.wizard.info.admin-notice') }}</p>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<th scope="row">
|
||
|
<label for="email">{{ trans('setup.wizard.info.nickname') }}</label>
|
||
|
</th>
|
||
|
<td>
|
||
|
<input name="nickname" type="text" id="nickname" size="25">
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="form-field form-required">
|
||
|
<th scope="row">
|
||
|
<label for="password">{{ trans('setup.wizard.info.password') }}</label>
|
||
|
</th>
|
||
|
<td>
|
||
|
<input type="password" name="password" id="password" class="regular-text">
|
||
|
<p>{{ trans('setup.wizard.info.pwd-notice') }}</p>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="form-field form-required">
|
||
|
<th scope="row">
|
||
|
<label for="password_confirmation">
|
||
|
{{ trans('setup.wizard.info.confirm-pwd') }}
|
||
|
</label>
|
||
|
</th>
|
||
|
<td>
|
||
|
<input
|
||
|
type="password"
|
||
|
name="password_confirmation"
|
||
|
id="password_confirmation"
|
||
|
>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<th scope="row">
|
||
|
<label for="site_name">
|
||
|
{{ trans('setup.wizard.info.site-name') }}
|
||
|
</label>
|
||
|
</th>
|
||
|
<td>
|
||
|
<input
|
||
|
name="site_name"
|
||
|
type="text"
|
||
|
id="site_name"
|
||
|
size="25"
|
||
|
value="{{ config('options.site_name') }}"
|
||
|
>
|
||
|
<p>{{ trans('setup.wizard.info.site-name-notice') }}</p>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<th scope="row">
|
||
|
<label for="generate_random">{{ trans('setup.wizard.info.secure') }}</label>
|
||
|
</th>
|
||
|
<td>
|
||
|
<label for="generate_random">
|
||
|
<input
|
||
|
name="generate_random"
|
||
|
type="checkbox"
|
||
|
id="generate_random"
|
||
|
size="25"
|
||
|
value="on"
|
||
|
checked
|
||
|
>
|
||
|
{{ trans('setup.wizard.info.secure-notice') }}
|
||
|
</label>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
{% if errors.any %}
|
||
|
<div class="alert alert-warning" role="alert">
|
||
|
<ul>
|
||
|
{% for error in errors.all %}
|
||
|
<li>{{ error }}</li>
|
||
|
{% endfor %}
|
||
|
</ul>
|
||
|
</div>
|
||
|
{% endif %}
|
||
|
|
||
|
<p class="step">
|
||
|
<input
|
||
|
type="submit"
|
||
|
name="submit"
|
||
|
id="submit"
|
||
|
class="button button-large"
|
||
|
value="{{ trans('setup.wizard.info.button') }}"
|
||
|
>
|
||
|
</p>
|
||
|
</form>
|
||
|
{% endblock %}
|