2019-09-19 22:13:25 +08:00
|
|
|
{% 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() }}
|
2020-02-01 12:44:39 +08:00
|
|
|
<table>
|
|
|
|
<tr class="form-group">
|
|
|
|
<th>
|
|
|
|
<label class="form-label" for="email">{{ trans('setup.wizard.info.admin-email') }}</label>
|
2019-09-19 22:13:25 +08:00
|
|
|
</th>
|
|
|
|
<td>
|
2020-02-01 12:44:39 +08:00
|
|
|
<input class="form-input" name="email" type="email" id="email" size="25">
|
2019-09-19 22:13:25 +08:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2020-02-01 12:44:39 +08:00
|
|
|
<th></th>
|
|
|
|
<td><p><small>{{ trans('setup.wizard.info.admin-notice') }}</small></p></td>
|
|
|
|
</tr>
|
|
|
|
<tr class="form-group">
|
|
|
|
<th>
|
|
|
|
<label class="form-label" for="email">{{ trans('setup.wizard.info.nickname') }}</label>
|
2019-09-19 22:13:25 +08:00
|
|
|
</th>
|
|
|
|
<td>
|
2020-02-01 12:44:39 +08:00
|
|
|
<input class="form-input my-2" name="nickname" type="text" id="nickname" size="25">
|
2019-09-19 22:13:25 +08:00
|
|
|
</td>
|
|
|
|
</tr>
|
2020-02-01 12:44:39 +08:00
|
|
|
<tr class="form-group">
|
|
|
|
<th>
|
|
|
|
<label class="form-label" for="password">{{ trans('setup.wizard.info.password') }}</label>
|
2019-09-19 22:13:25 +08:00
|
|
|
</th>
|
|
|
|
<td>
|
2020-02-01 12:44:39 +08:00
|
|
|
<input class="form-input" type="password" name="password" id="password" class="regular-text">
|
2019-09-19 22:13:25 +08:00
|
|
|
</td>
|
|
|
|
</tr>
|
2020-02-01 12:44:39 +08:00
|
|
|
<tr>
|
|
|
|
<th></th>
|
|
|
|
<td><p><small>{{ trans('setup.wizard.info.pwd-notice') }}</small></p></td>
|
|
|
|
</tr>
|
|
|
|
<tr class="form-group">
|
|
|
|
<th>
|
|
|
|
<label class="form-label" for="password_confirmation">
|
2019-09-19 22:13:25 +08:00
|
|
|
{{ trans('setup.wizard.info.confirm-pwd') }}
|
|
|
|
</label>
|
|
|
|
</th>
|
|
|
|
<td>
|
|
|
|
<input
|
2020-02-01 12:44:39 +08:00
|
|
|
class="form-input my-2"
|
2019-09-19 22:13:25 +08:00
|
|
|
type="password"
|
|
|
|
name="password_confirmation"
|
|
|
|
id="password_confirmation"
|
|
|
|
>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2020-02-01 12:44:39 +08:00
|
|
|
<tr class="form-group">
|
|
|
|
<th>
|
|
|
|
<label class="form-label" for="site_name">
|
2019-09-19 22:13:25 +08:00
|
|
|
{{ trans('setup.wizard.info.site-name') }}
|
|
|
|
</label>
|
|
|
|
</th>
|
|
|
|
<td>
|
|
|
|
<input
|
2020-02-01 12:44:39 +08:00
|
|
|
class="form-input"
|
2019-09-19 22:13:25 +08:00
|
|
|
name="site_name"
|
|
|
|
type="text"
|
|
|
|
id="site_name"
|
|
|
|
size="25"
|
|
|
|
value="{{ config('options.site_name') }}"
|
|
|
|
>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2020-02-01 12:44:39 +08:00
|
|
|
<th></th>
|
|
|
|
<td><p><small>{{ trans('setup.wizard.info.site-name-notice') }}</small></p></td>
|
2019-09-19 22:13:25 +08:00
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
{% if errors.any %}
|
2020-02-01 12:44:39 +08:00
|
|
|
<div class="toast toast-error" role="alert">
|
2019-09-19 22:13:25 +08:00
|
|
|
<ul>
|
|
|
|
{% for error in errors.all %}
|
|
|
|
<li>{{ error }}</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<p class="step">
|
|
|
|
<input
|
|
|
|
type="submit"
|
|
|
|
name="submit"
|
|
|
|
id="submit"
|
2020-02-01 12:44:39 +08:00
|
|
|
class="btn btn-primary"
|
2019-09-19 22:13:25 +08:00
|
|
|
value="{{ trans('setup.wizard.info.button') }}"
|
|
|
|
>
|
|
|
|
</p>
|
|
|
|
</form>
|
|
|
|
{% endblock %}
|