diff --git a/.gitignore b/.gitignore index 1d22cf262..857b1be46 100644 --- a/.gitignore +++ b/.gitignore @@ -44,3 +44,5 @@ Thumbs.db *.bak *.swp +/Layout/default/DeviceDetail/ +/Layout/default/DeviceDetail/ diff --git a/Layout/default/Device/Detail.php b/Layout/default/Device/Detail.php new file mode 100644 index 000000000..3a075c56d --- /dev/null +++ b/Layout/default/Device/Detail.php @@ -0,0 +1,182 @@ + + + + + +
| Device Name | += $devices->name ?> | +
|---|---|
| IP-Adresse | += $devices->ip ?> | +
| Geräte Typ | += $devices->devicetype->name ?> | +
| Geräte Hersteller | += $devices->devicetype->devicemanufactor->name ?> | +
| Mac Adresse | += $devices->mac ?> | +
| Seriennummer | += $devices->serial ?> | +
| Preis | += $price ?> € | +
| Bemerkung | += nl2br($devices->comment) ?> | +
| Pop Name | += $devices->pop->name ?> | +
|---|---|
| Adresse | ++ = rtrim($devices->pop->gps_lat, '0') ?> + , = rtrim($devices->pop->gps_long, 0) ?> | +
| Datum/Uhrzeit | ++ |
|---|---|
| + | + |
| Geräte Name | +Geräte Typ | +Hersteller | +Pop | +IP-Adresse | +Mac-Adresse | +Seriennummer | +Preis | +max. Leistung | ++ |
|---|---|---|---|---|---|---|---|---|---|
| + | + | + | + | + | + | + | + | + | + |
| + $device->id]) ?>">= $device->name ?> + | += $device->devicetype->name ?> | += $device->devicetype->devicemanufactor->name ?> | += $device->pop->name ?> | + + += $device->ip ?> | += $device->mac ?> | += $device->serial ?> | += $price ?> € | += $device->devicetype->power ?> Watt | + + ++ $device->id]) ?>"> + $device->id]) ?>" + onclick="if(!confirm('Device wirklich löschen?')) return false;" class="text-danger" + title="Löschen"> + + | + +
| Name | +Erstellt von | ++ |
|---|---|---|
| + | + | + |
| = $devicemanufactor->name ?> | += $devicemanufactor->creator->name ?> + (= date("d.m.Y , H:i", $devicemanufactor->create) ?>) + | + ++ $devicemanufactor->id]) ?>"> + $devicemanufactor->id]) ?>" + onclick="if(!confirm('Gerätehersteller wirklich löschen?')) return false;" + class="text-danger" title="Löschen"> + | +
| Name | +Hersteller | +Preis | +max. Leistung | +erstellt von | ++ |
|---|---|---|---|---|---|
| Name | +Hersteller | +Preis | ++ | + | + |
| = $devicetype->name ?> | += $devicetype->devicemanufactor->name ?> | + += $devicetype->price ?> € | += $devicetype->power ?> Watt | += $devicetype->creator->name ?> + (= date("d.m.Y , H:i", $devicetype->create) ?>) + | + ++ $devicetype->id]) ?>"> + $devicetype->id]) ?>" + onclick="if(!confirm('Gerätetyp wirklich löschen?')) return false;" class="text-danger" + title="Löschen"> + | +
| Device Name | += $devices->name ?> | +
|---|---|
| IP-Adresse | += $devices->ip ?> | +
| Geräte Typ | += $devices->devicetype->name ?> | +
| Geräte Hersteller | += $devices->devicetype->devicemanufactor->name ?> | +
| Mac Adresse | += $devices->mac ?> | +
| Seriennummer | += $devices->serial ?> | +
| Preis | += $price ?> € | +
| Bemerkung | += nl2br($devices->comment) ?> | +
| Pop Name | += $devices->pop->name ?> | +
|---|---|
| Adresse | ++ = rtrim($devices->pop->gps_lat, '0') ?> + , = rtrim($devices->pop->gps_long, 0) ?> | +
| Datum/Uhrzeit | ++ |
|---|---|
| + | + |
| Name | Netgebiet | @@ -49,8 +81,19 @@ $pagination_entity_name = "Pops";Vlan Public/Nat | Koordinaten | - | + |
|---|---|---|---|---|---|
| + | + | + | + | + | + + |
| = $pop->network->name ?> | = $pop->location ?> | = $pop->vlan_public ?> / = $pop->vlan_nat ?> | -= rtrim($pop->gps_lat,'0') ?> , = rtrim($pop->gps_long,0) ?> | += rtrim($pop->gps_lat, '0') ?> + , = rtrim($pop->gps_long, 0) ?> | - $pop->id, 'returnto' => "pop"])?>"> - " class="text-danger" title="Löschen"> + $pop->id, 'returnto' => "pop"]) ?>"> + " class="text-danger" title="Löschen"> |