moved different api calls

This commit is contained in:
2026-05-17 17:20:06 +02:00
parent 776342d595
commit 369657a622
34 changed files with 39 additions and 40 deletions

View File

@@ -94,7 +94,7 @@ $pageNavbar->outPutNavbar();
<?php } ?>
<a href="?view=<?php echo $row['device_uuid'] ?>" class="btn btn-info btn-sm btn-rounded"><i class="far fa-eye"></i></a>
<?php if ($API->checkPermissions('admin-devices', 'RW', true)) { ?>
<a href="#" class="btn btn-danger btn-sm btn-rounded delete-btn" data-item-uuid="<?php echo $row['device_uuid'] ?>" data-api-url="/api/v1/devices/" data-item-name="device_uuid"><i class="fas fa-trash-alt"></i></a>
<a href="#" class="btn btn-danger btn-sm btn-rounded delete-btn" data-item-uuid="<?php echo $row['device_uuid'] ?>" data-api-url="/api/v1/autop/devices/" data-item-name="device_uuid"><i class="fas fa-trash-alt"></i></a>
<?php } ?>
</td>
</tr>