raspap-webgui-mirror/templates/admin.php

47 lines
1.9 KiB
PHP
Raw Normal View History

2019-08-18 22:39:22 +00:00
<div class="row">
<div class="col-lg-12">
2019-10-12 22:04:27 +00:00
<div class="card">
2019-11-01 09:08:49 +00:00
<div class="card-header">
<div class="row">
<div class="col">
<i class="fas fa-user-lock mr-2"></i><?php echo _("Configure Auth"); ?>
</div>
</div><!-- /.row -->
</div><!-- /.card-header -->
2019-10-12 22:04:27 +00:00
<div class="card-body">
<?php $status->showMessages(); ?>
<h4><?php echo _("Authentication settings") ;?></h4>
2019-08-18 22:39:22 +00:00
<form role="form" action="?page=auth_conf" method="POST">
<?php echo CSRFTokenFieldTag() ?>
2019-08-18 22:39:22 +00:00
<div class="row">
2019-10-24 20:42:03 +00:00
<div class="form-group col-md-6">
2019-08-18 22:39:22 +00:00
<label for="username"><?php echo _("Username"); ?></label>
<input type="text" class="form-control" name="username" value="<?php echo htmlspecialchars($username, ENT_QUOTES); ?>"/>
</div>
</div>
<div class="row">
2019-10-24 20:42:03 +00:00
<div class="form-group col-md-6">
2019-08-18 22:39:22 +00:00
<label for="password"><?php echo _("Old password"); ?></label>
<input type="password" class="form-control" name="oldpass"/>
</div>
</div>
<div class="row">
2019-10-24 20:42:03 +00:00
<div class="form-group col-md-6">
2019-08-18 22:39:22 +00:00
<label for="password"><?php echo _("New password"); ?></label>
<input type="password" class="form-control" name="newpass"/>
</div>
</div>
<div class="row">
2019-10-24 20:42:03 +00:00
<div class="form-group col-md-6">
2019-08-18 22:39:22 +00:00
<label for="password"><?php echo _("Repeat new password"); ?></label>
<input type="password" class="form-control" name="newpassagain"/>
</div>
</div>
<input type="submit" class="btn btn-outline btn-primary" name="UpdateAdminPassword" value="<?php echo _("Save settings"); ?>" />
</form>
2019-10-12 22:04:27 +00:00
</div><!-- /.card-body -->
2019-10-13 22:49:37 +00:00
<div class="card-footer"></div>
2019-10-12 22:04:27 +00:00
</div><!-- /.card -->
2019-08-18 22:39:22 +00:00
</div><!-- /.col-lg-12 -->
</div><!-- /.row -->