2019-08-19 00:29:46 +02:00
< div class = " row " >
2019-10-15 11:17:29 +02:00
< div class = " col-lg-12 " >
< div class = " card " >
2019-11-01 10:08:49 +01:00
< div class = " card-header " >
< div class = " row " >
< div class = " col " >
< i class = " fas fa-cube mr-2 " ></ i >< ? php echo _ ( " System " ); ?>
</ div >
</ div ><!-- /. row -->
</ div ><!-- /. card - header -->
2019-10-15 11:17:29 +02:00
< div class = " card-body " >
2019-11-08 09:41:55 +01:00
< ? php $status -> showMessages (); ?>
2020-12-15 14:48:51 +01:00
< form role = " form " action = " system_info " method = " POST " >
2019-11-08 09:41:55 +01:00
< ? php echo CSRFTokenFieldTag () ?>
< ul class = " nav nav-tabs " role = " tablist " >
2020-07-29 09:37:27 +02:00
< li role = " presentation " class = " nav-item " >< a class = " nav-link active " id = " basictab " href = " #basic " aria - controls = " basic " role = " tab " data - toggle = " tab " >< ? php echo _ ( " Basic " ); ?> </a></li>
2019-11-08 09:41:55 +01:00
< li role = " presentation " class = " nav-item " >< a class = " nav-link " id = " languagetab " href = " #language " aria - controls = " language " role = " tab " data - toggle = " tab " >< ? php echo _ ( " Language " ); ?> </a></li>
2023-03-22 20:39:00 +01:00
< li role = " presentation " class = " nav-item " >< a class = " nav-link " id = " themetab " href = " #theme " aria - controls = " theme " role = " tab " data - toggle = " tab " >< ? php echo _ ( " Theme " ); ?> </a></li>
2019-11-10 23:14:07 +01:00
< li role = " presentation " class = " nav-item " >< a class = " nav-link " id = " advancedtab " href = " #advanced " aria - controls = " advanced " role = " tab " data - toggle = " tab " >< ? php echo _ ( " Advanced " ); ?> </a></li>
2023-04-03 18:48:45 +02:00
< li role = " presentation " class = " nav-item " >< a class = " nav-link " id = " resettab " href = " #reset " aria - controls = " reset " role = " tab " data - toggle = " tab " >< ? php echo _ ( " Reset " ); ?> </a></li>
2019-11-08 09:41:55 +01:00
</ ul >
2020-07-29 09:37:27 +02: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 09:37:27 +02:00
< ? php echo renderTemplate ( " system/advanced " , $__template_data ) ?>
2023-04-03 18:48:45 +02:00
< ? php echo renderTemplate ( " system/reset " , $__template_data ) ?>
2020-07-29 09:37:27 +02:00
</ div ><!-- /. tab - content -->
2019-11-08 09:41:55 +01:00
</ form >
2019-10-15 11:17:29 +02:00
</ div ><!-- /. card - body -->
< div class = " card-footer " ></ div >
</ div ><!-- /. card -->
</ div ><!-- /. col - lg - 12 -->
2019-08-19 00:29:46 +02: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 " >
< div class = " modal-title " id = " ModalLabel " >< i class = " fas fa-history mr-2 " ></ i >< ? php echo _ ( " System reset " ); ?> </div>
</ 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 " >
2023-04-04 22:30:03 +02:00
< button type = " button " id = " js-system-reset-cancel " data - message = " <?php echo _( " Close " ); ?> " class = " btn btn-outline-secondary " data - 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 " >
< div class = " modal-title " id = " ModalLabel " >< i class = " fas fa-sync mr-2 " ></ i >< ? php echo _ ( " System reboot " ); ?> </div>
</ 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 " >
< button type = " button " data - message = " <?php echo _( " Close " ); ?> " class = " btn btn-outline-secondary " data - dismiss = " modal " >< ? php echo _ ( " Cancel " ); ?> </button>
< 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 " >
< div class = " modal-title " id = " ModalLabel " >< i class = " fas fa-power-off mr-2 " ></ i >< ? php echo _ ( " System shutdown " ); ?> </div>
</ 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 " >
< button type = " button " data - message = " <?php echo _( " Close " ); ?> " class = " btn btn-outline-secondary " data - dismiss = " modal " >< ? php echo _ ( " Cancel " ); ?> </button>
< 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 >