Started integrating external systems
This commit is contained in:
+9
-1
@@ -20,7 +20,7 @@
|
||||
{$lang_about_projectpage}
|
||||
</td>
|
||||
<td class="value">
|
||||
<a href="https://git.piratenpartei-sh.de/thooge/ipreg">https://git.piratenpartei-sh.de/thooge/ipreg</a>
|
||||
<a href="https://git.hoogi.de/thooge/ipreg">https://git.hoogi.de/thooge/ipreg</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -83,6 +83,14 @@
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_about_changelog_v10}
|
||||
</td>
|
||||
<td class="value">
|
||||
{$lang_about_changelog_v10_ext}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
{$lang_about_changelog_v09}
|
||||
|
||||
@@ -119,3 +119,35 @@
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
{if $extlink}
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
External Links
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>In development</td>
|
||||
</tr>
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
|
||||
{if $refid}
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
Externe Daten
|
||||
</td>
|
||||
<td class="header_right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">Zabbix</td>
|
||||
<td class="value">HostID = {$refid}, {$zbx_hostname}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
<img class="icon" src="images/settings.png" alt="" />
|
||||
Import
|
||||
</td>
|
||||
<td align="right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
IP Reg import module
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="label">
|
||||
Import pfsense NAT settings
|
||||
</td>
|
||||
<td>
|
||||
<form enctype="multipart/form-data" action="import.php" method="post">
|
||||
<input type="hidden" name="MAX_FILE_SIZE" value="1000000" />
|
||||
pfSense Konfigurationsdatei: <input name="xmlfile" type="file" />
|
||||
<input type="submit" name="submit[pfsense]" value="Upload" />
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -0,0 +1,55 @@
|
||||
<table class="title">
|
||||
<tr>
|
||||
<td class="header">
|
||||
<img class="icon" src="images/settings.png" alt="" />
|
||||
Import
|
||||
</td>
|
||||
<td align="right">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="header">
|
||||
IP Reg import module
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
<form method="post" action="import.php">
|
||||
<table class="info">
|
||||
<tr>
|
||||
<td class="label">
|
||||
Configuration file
|
||||
</td>
|
||||
<td>
|
||||
{$xmlfile} of type {$xmlfiletype} ({$xmltmp})
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="label">
|
||||
Data
|
||||
</td>
|
||||
<td><table>
|
||||
<tr>
|
||||
<th><input type="checkbox" onclick="toggle(this)"></th>
|
||||
<th>From</th><th>To</th><th>Description</th>
|
||||
</tr>
|
||||
{foreach item=nat from=$natlist}
|
||||
<tr>
|
||||
<td><input type="checkbox" name="rule" value="{$nat.id}"></td>
|
||||
<td>{$nat.ext|long2ip}:{$nat.ext_port}</td>
|
||||
<td>{$nat.int|long2ip}:{$nat.int_port}</td>
|
||||
<td>{$nat.description}</td>
|
||||
<td>{$nat.dupe}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
<input type="submit" name="submit[exec-pfsense]" value="Import">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
Reference in New Issue
Block a user