2020-04-11 15:17:40 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
require_once 'app/lib/Parsedown.php';
|
|
|
|
|
|
|
|
?>
|
2019-08-18 22:20:47 +00:00
|
|
|
<div class="row">
|
2019-10-14 20:21:56 +00:00
|
|
|
<div class="col-lg-12">
|
2019-10-11 19:37:59 +00:00
|
|
|
<div class="card">
|
2019-11-01 09:08:49 +00:00
|
|
|
<div class="card-header">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col">
|
2024-10-24 07:06:13 +00:00
|
|
|
<i class="fas fa-info-circle me-2"></i><?php echo _("About RaspAP"); ?>
|
2019-11-01 09:08:49 +00:00
|
|
|
</div>
|
|
|
|
</div><!-- ./row -->
|
|
|
|
</div><!-- ./card-header -->
|
2020-04-11 15:17:40 +00:00
|
|
|
<div class="card-body">
|
|
|
|
|
|
|
|
<!-- Nav tabs -->
|
|
|
|
<ul class="nav nav-tabs">
|
2024-10-24 07:06:13 +00:00
|
|
|
<li class="nav-item"><a class="nav-link active" href="#aboutgeneral" data-bs-toggle="tab"><?php echo _("About"); ?></a></li>
|
|
|
|
<li class="nav-item"><a class="nav-link" href="#aboutsponsors" data-bs-toggle="tab"><?php echo _("Insiders"); ?></a></li>
|
|
|
|
<li class="nav-item"><a class="nav-link" href="#aboutcontrib" data-bs-toggle="tab"><?php echo _("Contributing"); ?></a></li>
|
2020-04-11 15:17:40 +00:00
|
|
|
</ul>
|
|
|
|
<!-- /.nav-tabs -->
|
|
|
|
|
|
|
|
<!-- Tab panes -->
|
|
|
|
<div class="tab-content">
|
|
|
|
<?php echo renderTemplate("about/general", $__template_data) ?>
|
2021-02-10 17:06:51 +00:00
|
|
|
<?php echo renderTemplate("about/insiders", $__template_data) ?>
|
2023-11-06 06:38:35 +00:00
|
|
|
<?php echo renderTemplate("about/contributing", $__template_data) ?>
|
2020-04-11 15:17:40 +00:00
|
|
|
</div>
|
|
|
|
<!-- /.tab-content -->
|
|
|
|
|
2019-10-12 23:23:00 +00:00
|
|
|
</div><!-- /.card-body -->
|
2019-10-11 19:37:59 +00:00
|
|
|
<div class="card-footer"></div>
|
2019-10-12 23:23:00 +00:00
|
|
|
</div><!-- /.card -->
|
2019-08-18 23:56:35 +00:00
|
|
|
</div><!-- /.col-lg-12 -->
|
2019-08-18 22:20:47 +00:00
|
|
|
</div><!-- /.row -->
|
2023-11-20 14:45:55 +00:00
|
|
|
|
|
|
|
<!-- modal check-update-->
|
|
|
|
<div class="modal fade" id="chkupdateModal" tabindex="-1" role="dialog" aria-labelledby="ModalLabel" aria-hidden="true">
|
|
|
|
<div class="modal-dialog" role="document">
|
|
|
|
<div class="modal-content">
|
2023-11-24 18:10:16 +00:00
|
|
|
<form id="performUpdate" class="needs-validation" novalidate>
|
2023-11-23 07:51:43 +00:00
|
|
|
<div class="modal-header">
|
2024-10-24 07:06:13 +00:00
|
|
|
<div class="modal-title" id="ModalLabel"><i class="fas fa-sync-alt fa-spin me-2" id="updateSync"></i><?php echo _("Check for update"); ?></div>
|
2023-11-23 07:51:43 +00:00
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
2023-11-24 18:10:16 +00:00
|
|
|
<div class="col-md-12 mb-3 mt-1" id="msg-check-update"><?php echo _("New release check in progress..."); ?></div>
|
|
|
|
</div>
|
2023-11-23 07:51:43 +00:00
|
|
|
<div class="modal-footer">
|
2023-11-24 18:10:16 +00:00
|
|
|
<div id="msgUpdate" data-message="<?php echo _("A new release is available: Version"); ?>"></div>
|
|
|
|
<div id="msgLatest" data-message="<?php echo _("Installed version is the latest release."); ?>"></div>
|
|
|
|
<div id="msgInstall" data-message="<?php echo _("Install this update now?"); ?>"></div>
|
2024-10-24 07:06:13 +00:00
|
|
|
<button type="button" data-message="<?php echo _("OK"); ?>" id="js-check-dismiss" class="btn btn-outline-secondary" data-bs-dismiss="modal"><?php echo _("Cancel"); ?></button>
|
2023-11-24 18:10:16 +00:00
|
|
|
<button type="submit" id="js-sys-check-update" class="btn btn-outline btn-primary collapse"><?php echo _("OK"); ?></button>
|
2023-11-23 07:51:43 +00:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2023-11-20 14:45:55 +00:00
|
|
|
<!-- modal update-cmd -->
|
2023-11-23 07:51:43 +00:00
|
|
|
<div class="modal fade" id="performupdateModal" tabindex="-1" role="dialog" aria-labelledby="ModalLabel" aria-hidden="true">
|
2023-11-20 14:45:55 +00:00
|
|
|
<div class="modal-dialog" role="document">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
2024-10-24 07:06:13 +00:00
|
|
|
<div class="modal-title" id="ModalLabel"><i class="fas fa-sync-alt fa-spin me-2" id="updateSync2"></i><?php echo _("Update in progress"); ?></div>
|
2023-11-20 14:45:55 +00:00
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
2023-11-23 07:51:43 +00:00
|
|
|
<div class="col-md-12 mb-3 mt-1" id="msg-check-update"><?php echo _("Application is being updated..."); ?></div>
|
2024-10-24 07:06:13 +00:00
|
|
|
<div class="ms-5"><i class="fas fa-check me-2 invisible" id="updateStep1"></i><?php echo _("Configuring update"); ?></div>
|
|
|
|
<div class="ms-5"><i class="fas fa-check me-2 invisible" id="updateStep2"></i><?php echo _("Updating sources"); ?></div>
|
|
|
|
<div class="ms-5"><i class="fas fa-check me-2 invisible" id="updateStep3"></i><?php echo _("Installing package updates"); ?></div>
|
|
|
|
<div class="ms-5"><i class="fas fa-check me-2 invisible" id="updateStep4"></i><?php echo _("Downloading latest files"); ?></div>
|
|
|
|
<div class="ms-5"><i class="fas fa-check me-2 invisible" id="updateStep5"></i><?php echo _("Installing application"); ?></div>
|
|
|
|
<div class="ms-5 mb-1"><i class="fas fa-check me-2 invisible" id="updateStep6"></i><?php echo _("Update complete"); ?></div>
|
|
|
|
<div class="ms-5 mb-3"><i class="fas me-2 invisible" id="updateMsg"></i></div>
|
2023-11-23 07:51:43 +00:00
|
|
|
<div id="errorMsg" data-message="<?php echo _("An error occurred. Check the log at <code>/tmp/raspap_install.log</code>"); ?>"></div>
|
2023-11-23 11:43:38 +00:00
|
|
|
<div id="successMsg" data-message="<?php echo _("Success. Refresh this page to confirm the new version."); ?>"></div>
|
2023-11-20 14:45:55 +00:00
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
2024-10-24 07:06:13 +00:00
|
|
|
<button type="button" class="btn btn-outline btn-primary" data-bs-dismiss="modal" disabled id="updateOk" /><?php echo _("OK"); ?></button>
|
2023-11-20 14:45:55 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-11-23 07:51:43 +00:00
|
|
|
|