Pop Feature Updates

* Vorbereitung für erweiterte Faserdarstellungen
* Pop Map Übersicht
* Leere Pop Kategorien werden nun als Unbekannt dargestellt
This commit is contained in:
Daniel Spitzer
2025-12-27 19:37:05 +01:00
parent bb07cd1fb2
commit 2981c03199
+4 -4
View File
@@ -367,7 +367,7 @@ foreach ($devicesall as $deviceall) {
<h4 class="float-left">Config Backups</h4> <h4 class="float-left">Config Backups</h4>
<span><i class="fa-sharp fa-solid fa-arrows-spin fa-backup-check <?= ($devices->backup_check) ? '' : 'fa-backup-check-uncheck' ?>" <span><i class="fa-sharp fa-solid fa-arrows-spin fa-backup-check <?= ($devices->backup_check) ? '' : 'fa-backup-check-uncheck' ?>"
title=" <?= ($devices->backup_check) ? 'Backup Check aktiv' : 'Backup Check inaktiv' ?>"></i></span> title=" <?= ($devices->backup_check) ? 'Backup Check aktiv' : 'Backup Check inaktiv' ?>"></i></span>
<?php if ($devices->devicetype->devicemanufactor->config_backup): ?> <?php if ($devices->devicetype->devicemanufactor->config_backup > 0): ?>
<span><i title="Switch config" class="fa-light fa-rectangle-code code-ico" <span><i title="Switch config" class="fa-light fa-rectangle-code code-ico"
data-toggle="modal" data-target="#configCode"></i></span> data-toggle="modal" data-target="#configCode"></i></span>
<?php endif; <?php endif;
@@ -408,7 +408,7 @@ foreach ($devicesall as $deviceall) {
</div> </div>
</div> </div>
<?php <?php
if ($devicesconfig->success == "true" && $devicesconfig->data > count()) { if ($devicesconfig->success == "true" && $devicesconfig->data > 0) {
?> ?>
<div> <div>
<table class="table table-sm"> <table class="table table-sm">
@@ -711,7 +711,7 @@ foreach ($devicesall as $deviceall) {
</div> </div>
</div> </div>
</div> </div>
<?php if ($devices->devicetype->devicemanufactor->config_backup > count()): <?php if ($devices->devicetype->devicemanufactor->config_backup > 0):
$year = date("Y", time()); $year = date("Y", time());
$month = date("n", time()); $month = date("n", time());
@@ -825,7 +825,7 @@ foreach ($devicesall as $deviceall) {
if (data.success == false) { if (data.success == false) {
$('#olt-body').text('Keine OLT/ONT Daten verfügbar'); $('#olt-body').text('Keine OLT/ONT Daten verfügbar');
} else { } else {
$('#service-ports-h4').show(); $('#service-ports-h4').show();
$('#olt-body').append(`<div > $('#olt-body').append(`<div >
<table class="sp-table-border float-left" > <table class="sp-table-border float-left" >
<thead><tr><td>OLT</td></tr></thead> <thead><tr><td>OLT</td></tr></thead>