2015-02-27 11:07:11 +01:00
|
|
|
{% extends "module/install/main.tpl.html" %}
|
|
|
|
{% use "module/install/results.tpl.html" %}
|
2016-01-31 00:20:52 +01:00
|
|
|
{% import 'main/macros.tpl.html' as macro %}
|
2015-02-27 11:07:11 +01:00
|
|
|
|
|
|
|
{% block install %}
|
|
|
|
<p>Sweet, your database connection is up and running!</p>
|
|
|
|
<p>Next, please set up a new account to access your monitor:</p>
|
|
|
|
{{ block('results') }}
|
|
|
|
<p> </p>
|
2019-02-08 15:43:22 +01:00
|
|
|
<form name="psm_config" class="col-md-6 pl-0 pr-0" action="install.php?action=install" id="psm_config" method="post">
|
|
|
|
{{ macro.input_csrf() }}
|
|
|
|
<fieldset>
|
|
|
|
<legend>Administrator</legend>
|
|
|
|
<div class="col">
|
|
|
|
<!-- Username -->
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="username">Username</label>
|
|
|
|
<input type="text" class="form-control" autocomplete="nickname" name="username" id="username" maxlength="255"
|
|
|
|
required autofocus>
|
|
|
|
</div>
|
|
|
|
<!-- Password -->
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="password">Password</label>
|
|
|
|
<input type="password" class="form-control" name="password" id="password" maxlength="255"
|
|
|
|
required>
|
|
|
|
</div>
|
|
|
|
<!-- Password repeat -->
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="password_repeat">Password repeat</label>
|
|
|
|
<input type="password" class="form-control" name="password_repeat" id="password_repeat" maxlength="255"
|
|
|
|
required>
|
|
|
|
</div>
|
|
|
|
<!-- Email -->
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="email">Email</label>
|
|
|
|
<input type="email" class="form-control" autocomplete="email" name="email" id="email" maxlength="255"
|
|
|
|
required>
|
|
|
|
</div>
|
|
|
|
<button class="btn btn-success btn-lg" type="submit">Install</button>
|
|
|
|
</fieldset>
|
2014-08-01 16:40:20 +02:00
|
|
|
{% endblock %}
|