Init
This commit is contained in:
46
backend/public_html/templates/network_configuration.tpl.php
Normal file
46
backend/public_html/templates/network_configuration.tpl.php
Normal file
@@ -0,0 +1,46 @@
|
||||
<?php if (!defined('PICONTROL')) exit(); ?>
|
||||
<script type="text/javascript" src="public_html/js/network_configuration.interface_refresh.js"></script>
|
||||
<!-- Sidebar -->
|
||||
<div class="sidebar">
|
||||
<div class="box">
|
||||
<div class="inner-navi">
|
||||
<a href="?s=network"><?php _e('Übersicht'); ?></a>
|
||||
<a href="?s=network_configuration"><?php _e('Konfiguration'); ?></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box dummy-1 display-none">
|
||||
<div class="inner-header">
|
||||
<span><?php _e('Status'); ?></span>
|
||||
</div>
|
||||
<div class="inner"></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Container -->
|
||||
<div class="container-600">
|
||||
<div class="box">
|
||||
<div class="inner-header">
|
||||
<span><?php _e('Netzwerkkonfiguration'); ?></span>
|
||||
</div>
|
||||
<div class="inner-table">
|
||||
<table class="table table-borderless">
|
||||
<tr>
|
||||
<th style="width: 45%;"><?php _e('Interface'); ?></th>
|
||||
<th style="width: 20%;"><?php _e('Protokoll'); ?></th>
|
||||
<th style="width: 20%;"><?php _e('Methode'); ?></th>
|
||||
<th style="width: 15%;"></th>
|
||||
</tr>
|
||||
<?php foreach ($data['interfaces'] as $interface => $value) { ?>
|
||||
<tr>
|
||||
<td><?php echo $interface; ?></td>
|
||||
<td><?php echo formatInterfaceProtocol($value['protocol']); ?></td>
|
||||
<td><?php echo _t(formatInterfaceMethod($value['method'])); ?></td>
|
||||
<td class="table-center"><a href="?s=network_configuration&edit=<?php echo urlencode($interface); ?>" style="margin-right: 8px;"><span class="svg-control-pen display-inline-block"></span></a><a href="?s=network_configuration&delete=<?php echo urlencode($interface); ?>" style="margin-right: 8px;"><span class="svg-control-cross display-inline-block"></span></a><a href="#refresh" name="<?php echo urlencode($interface); ?>"><span class="svg-refresh display-inline-block"></span></a></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</table>
|
||||
</div>
|
||||
<div class="inner-end">
|
||||
<a href="?s=network_configuration&add"><button><?php _e('Hinzufügen'); ?></button></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user