2019-08-18 23:29:46 +01:00
< div class = " row " >
2019-10-15 10:17:29 +01:00
< div class = " col-lg-12 " >
< div class = " card " >
2019-11-01 09:08:49 +00:00
< div class = " card-header " >
< div class = " row " >
< div class = " col " >
2024-10-24 00:06:13 -07:00
< i class = " fas fa-cube me-2 " ></ i >< ? php echo _ ( " System " ); ?>
2019-11-01 09:08:49 +00:00
</ div >
</ div ><!-- /. row -->
</ div ><!-- /. card - header -->
2019-10-15 10:17:29 +01:00
< div class = " card-body " >
2019-11-08 08:41:55 +00:00
< ? php $status -> showMessages (); ?>
2020-12-15 13:48:51 +00:00
< form role = " form " action = " system_info " method = " POST " >
2019-11-08 08:41:55 +00:00
< ? php echo CSRFTokenFieldTag () ?>
< ul class = " nav nav-tabs " role = " tablist " >
2024-10-24 00:06:13 -07:00
< li role = " presentation " class = " nav-item " >< a class = " nav-link active " id = " basictab " href = " #basic " aria - controls = " basic " role = " tab " data - bs - toggle = " tab " >< ? php echo _ ( " Basic " ); ?> </a></li>
< li role = " presentation " class = " nav-item " >< a class = " nav-link " id = " languagetab " href = " #language " aria - controls = " language " role = " tab " data - bs - toggle = " tab " >< ? php echo _ ( " Language " ); ?> </a></li>
< li role = " presentation " class = " nav-item " >< a class = " nav-link " id = " themetab " href = " #theme " aria - controls = " theme " role = " tab " data - bs - toggle = " tab " >< ? php echo _ ( " Theme " ); ?> </a></li>
< li role = " presentation " class = " nav-item " >< a class = " nav-link " id = " advancedtab " href = " #advanced " aria - controls = " advanced " role = " tab " data - bs - toggle = " tab " >< ? php echo _ ( " Advanced " ); ?> </a></li>
< li role = " presentation " class = " nav-item " >< a class = " nav-link " id = " toolstab " href = " #tools " aria - controls = " tools " role = " tab " data - bs - toggle = " tab " >< ? php echo _ ( " Tools " ); ?> </a></li>
2024-12-20 13:34:58 -08:00
< li role = " presentation " class = " nav-item " >< a class = " nav-link " id = " pluginstab " href = " #plugins " aria - controls = " plugins " role = " tab " data - bs - toggle = " tab " >< ? php echo _ ( " Plugins " ); ?> </a></li>
2019-11-08 08:41:55 +00:00
</ ul >
2020-07-29 08:37:27 +01:00
<!-- Tab panes -->
< div class = " tab-content " >
< ? php echo renderTemplate ( " system/basic " , $__template_data ) ?>
< ? php echo renderTemplate ( " system/language " , $__template_data ) ?>
2023-03-22 20:39:00 +01:00
< ? php echo renderTemplate ( " system/theme " , $__template_data ) ?>
2020-07-29 08:37:27 +01:00
< ? php echo renderTemplate ( " system/advanced " , $__template_data ) ?>
2023-10-31 14:40:10 +00:00
< ? php echo renderTemplate ( " system/tools " , $__template_data ) ?>
2024-12-20 13:34:58 -08:00
< ? php echo renderTemplate ( " system/plugins " , $__template_data ) ?>
2020-07-29 08:37:27 +01:00
</ div ><!-- /. tab - content -->
2019-11-08 08:41:55 +00:00
</ form >
2019-10-15 10:17:29 +01:00
</ div ><!-- /. card - body -->
2024-10-31 00:19:53 -07:00
< div class = " card-footer " >< ? php echo _ ( " Information provided by raspap.sysinfo " ); ?> </div>
2019-10-15 10:17:29 +01:00
</ div ><!-- /. card -->
</ div ><!-- /. col - lg - 12 -->
2019-08-18 23:29:46 +01:00
</ div ><!-- /. row -->
2023-04-03 18:48:45 +02:00
<!-- modal confirm - reset -->
< div class = " modal fade " id = " system-confirm-reset " tabindex = " -1 " role = " dialog " aria - labelledby = " ModalLabel " aria - hidden = " true " >
< div class = " modal-dialog " role = " document " >
< div class = " modal-content " >
< div class = " modal-header " >
2024-10-24 00:06:13 -07:00
< div class = " modal-title " id = " ModalLabel " >< i class = " fas fa-history me-2 " ></ i >< ? php echo _ ( " System reset " ); ?> </div>
2023-04-03 18:48:45 +02:00
</ div >
< div class = " modal-body " >
2023-04-04 22:30:03 +02:00
< div class = " col-md-12 mb-3 mt-1 " data - message = " <?php echo _( " Reset complete . Restart the hotspot for the changes to take effect . " ); ?> " id = " system-reset-message " >< ? php echo _ ( " Reset RaspAP to its initial configuration? This action cannot be undone. " ); ?> </div>
2023-04-03 18:48:45 +02:00
</ div >
< div class = " modal-footer " >
2024-10-24 00:06:13 -07:00
< button type = " button " id = " js-system-reset-cancel " data - message = " <?php echo _( " Close " ); ?> " class = " btn btn-outline-secondary " data - bs - dismiss = " modal " >< ? php echo _ ( " Cancel " ); ?> </button>
2023-04-03 18:48:45 +02:00
< button type = " button " id = " js-system-reset-confirm " data - message = " <?php echo _( " System reset in progress ... " ); ?> " class = " btn btn-outline-danger btn-delete " >< ? php echo _ ( " Reset " ); ?> </button>
</ div >
</ div >
</ div >
</ div >
2023-10-08 19:54:56 +02:00
<!-- modal confirm - reboot -->
< div class = " modal fade " id = " system-confirm-reboot " tabindex = " -1 " role = " dialog " aria - labelledby = " ModalLabel " aria - hidden = " true " >
< div class = " modal-dialog " role = " document " >
< div class = " modal-content " >
< div class = " modal-header " >
2024-10-24 00:06:13 -07:00
< div class = " modal-title " id = " ModalLabel " >< i class = " fas fa-sync me-2 " ></ i >< ? php echo _ ( " System reboot " ); ?> </div>
2023-10-08 19:54:56 +02:00
</ div >
< div class = " modal-body " >
< div class = " col-md-12 mb-3 mt-1 " id = " system-reboot-message " >< ? php echo _ ( " Reboot now? The system will be temporarily unavailable. " ); ?> </div>
</ div >
< div class = " modal-footer " >
2024-10-24 00:06:13 -07:00
< button type = " button " data - message = " <?php echo _( " Close " ); ?> " class = " btn btn-outline-secondary " data - bs - dismiss = " modal " >< ? php echo _ ( " Cancel " ); ?> </button>
2023-10-08 19:54:56 +02:00
< button type = " button " id = " js-sys-reboot " data - action = " reboot " class = " btn btn-outline-danger btn-delete " >< ? php echo _ ( " Reboot " ); ?> </button>
</ div >
</ div >
</ div >
</ div >
<!-- modal confirm - shutdown -->
< div class = " modal fade " id = " system-confirm-shutdown " tabindex = " -1 " role = " dialog " aria - labelledby = " ModalLabel " aria - hidden = " true " >
< div class = " modal-dialog " role = " document " >
< div class = " modal-content " >
< div class = " modal-header " >
2024-10-24 00:06:13 -07:00
< div class = " modal-title " id = " ModalLabel " >< i class = " fas fa-power-off me-2 " ></ i >< ? php echo _ ( " System shutdown " ); ?> </div>
2023-10-08 19:54:56 +02:00
</ div >
< div class = " modal-body " >
< div class = " col-md-12 mb-3 mt-1 " id = " system-reboot-message " >< ? php echo _ ( " Shutdown now? The system will be unavailable. " ); ?> </div>
</ div >
< div class = " modal-footer " >
2024-10-24 00:06:13 -07:00
< button type = " button " data - message = " <?php echo _( " Close " ); ?> " class = " btn btn-outline-secondary " data - bs - dismiss = " modal " >< ? php echo _ ( " Cancel " ); ?> </button>
2023-10-08 19:54:56 +02:00
< button type = " button " id = " js-sys-shutdown " data - action = " shutdown " class = " btn btn-outline-danger btn-delete " >< ? php echo _ ( " Shutdown " ); ?> </button>
</ div >
</ div >
</ div >
</ div >
2023-10-31 14:40:10 +00:00
<!-- modal progress - debug -->
< div class = " modal fade " id = " debugModal " tabindex = " -1 " role = " dialog " aria - labelledby = " ModalLabel " aria - hidden = " true " >
< div class = " modal-dialog " role = " document " >
< div class = " modal-content " >
< div class = " modal-header " >
2024-10-24 00:06:13 -07:00
< div class = " modal-title " id = " ModalLabel " >< i class = " fas fa-sync-alt fa-spin me-2 " ></ i >< ? php echo _ ( " Generate debug log " ); ?> </div>
2023-10-31 14:40:10 +00:00
</ div >
< div class = " modal-body " >
2023-10-31 17:52:17 +00:00
< div class = " col-md-12 mb-3 mt-1 " id = " system-debug-message " >< ? php echo _ ( " Debug log generation in progress... " ); ?> </div>
2023-10-31 14:40:10 +00:00
</ div >
< div class = " modal-footer " >
2024-10-24 00:06:13 -07:00
< button type = " button " data - message = " <?php echo _( " Close " ); ?> " class = " btn btn-outline-secondary " data - bs - dismiss = " modal " >< ? php echo _ ( " Close " ); ?> </button>
2023-10-31 14:40:10 +00:00
</ div >
</ div >
</ div >
</ div >
2024-12-21 22:42:34 -08:00
<!-- modal install - plugin -->
< div class = " modal fade " id = " install-user-plugin " tabindex = " -1 " role = " dialog " aria - labelledby = " ModalLabel " aria - hidden = " true " >
< div class = " modal-dialog modal-lg " role = " document " >
< div class = " modal-content " >
< div class = " modal-header " >
2024-12-24 22:46:17 -08:00
< div class = " modal-title " id = " ModalLabel " >< i class = " fas fa-plug me-2 " ></ i >< ? php echo _ ( " Plugin details " ); ?> </div>
2024-12-21 22:42:34 -08:00
</ div >
< div class = " modal-body " >
< i id = " plugin-icon " class = " fas fa-plug link-secondary me-2 " ></ i >< span id = " plugin-name " class = " h4 mb-0 " ></ span >
< p id = " plugin-description " class = " mb-3 " ></ p >
< table class = " table table-bordered " >
< tbody >
2024-12-22 09:27:40 -08:00
< tr >
< th >< ? php echo _ ( " Plugin source " ); ?> </th>
< td >< span id = " plugin-uri " ></ span ></ td >
</ tr >
2024-12-21 22:42:34 -08:00
< tr >
< th >< ? php echo _ ( " Version " ); ?> </th>
< td >< span id = " plugin-version " ></ span ></ td >
</ tr >
< tr >
< th >< ? php echo _ ( " Author " ); ?> </th>
< td >< span id = " plugin-author " ></ span ></ td >
</ tr >
< tr >
< th >< ? php echo _ ( " License " ); ?> </th>
< td >< span id = " plugin-license " ></ span ></ td >
</ tr >
< tr >
< th >< ? php echo _ ( " Language locale " ); ?> </th>
2024-12-24 22:46:17 -08:00
< td >< small >< code >< span id = " plugin-locale " ></ span ></ span ></ code ></ td >
2024-12-21 22:42:34 -08:00
</ tr >
< tr >
< th >< ? php echo _ ( " Configuration files " ); ?> </th>
2024-12-22 09:27:40 -08:00
< td >< small >< code >< span id = " plugin-configuration " class = " mb-0 " ></ span ></ code ></ small ></ td >
2024-12-21 22:42:34 -08:00
</ td >
</ tr >
< tr >
< th >< ? php echo _ ( " Dependencies " ); ?> </th>
< td >< small >< code >< span id = " plugin-dependencies " class = " mb-0 " ></ span ></ code ></ small ></ td >
</ tr >
< tr >
< th >< ? php echo _ ( " Permissions " ); ?> </th>
< td >< small >< code >< span id = " plugin-sudoers " class = " mb-0 " ></ span ></ code ></ small ></ td >
</ tr >
< tr >
< th >< ? php echo _ ( " Non-privileged users " ); ?> </th>
< td >< small >< code >< span id = " plugin-user-name " ></ span ></ small ></ code ></ p ></ td >
</ tr >
</ tbody >
</ table >
</ div >
< div class = " modal-footer " >
< button type = " button " class = " btn btn-outline-secondary " data - bs - dismiss = " modal " >< ? php echo _ ( " Cancel " ); ?> </button>
2024-12-26 09:41:52 -08:00
< button type = " button " id = " js-install-plugin-confirm " class = " btn btn-outline-success btn-activate " ></ button >
2024-12-24 22:46:17 -08:00
</ div >
</ div >
</ div >
</ div >
<!-- modal plugin - install - progress -->
< div class = " modal fade " id = " install-plugin-progress " tabindex = " -1 " role = " dialog " aria - labelledby = " ModalLabel " aria - hidden = " true " >
< div class = " modal-dialog " role = " document " >
< div class = " modal-content " >
< div class = " modal-header " >
< div class = " modal-title " id = " ModalLabel " >< i class = " fas fa-download me-2 " ></ i >< ? php echo _ ( " Installing plugin " ); ?> </div>
</ div >
< div class = " modal-body " >
< div class = " col-md-12 mb-3 mt-1 " data - message = " <?php echo _( " Plugin install completed . " ); ?> " id = " plugin-install-message " >< ? php echo _ ( " Plugin installation in progress... " ); ?> <i class="fas fa-cog fa-spin link-secondary ms-2"></i></div>
</ div >
< div class = " modal-footer " >
2024-12-25 19:00:41 -08:00
< button type = " button " id = " js-install-plugin-ok " class = " btn btn-outline-success btn-activate " disabled >< ? php echo _ ( " OK " ); ?> </button>
2024-12-21 22:42:34 -08:00
</ div >
</ div >
</ div >
</ div >