From 37a67ea723bb6d93421591b8f3ed15738f53ed9e Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Sat, 12 Mar 2016 00:20:18 +0100 Subject: First import. --- .../after-bake/src/Template/Equipements/index.ctp | 102 +++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 generator/after-bake/src/Template/Equipements/index.ctp (limited to 'generator/after-bake/src/Template/Equipements/index.ctp') diff --git a/generator/after-bake/src/Template/Equipements/index.ctp b/generator/after-bake/src/Template/Equipements/index.ctp new file mode 100644 index 0000000..75d7919 --- /dev/null +++ b/generator/after-bake/src/Template/Equipements/index.ctp @@ -0,0 +1,102 @@ +<% +/** + * Copyright 2016 Ludovic Pouzenc + * Copyright 2016 Nicolas Goaziou + * + * This file is part of CHD Gestion. + * + * CHD Gestion is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * CHD Gestion is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with CHD Gestion. If not, see . +**/ +%> + +
+

+ + Form->create(null) . "\n" ?> + + + + + + + + + + + + + + + + + + + Form->end() . "\n" ?> + + + + + + + + + + + + + + +
+ Form->input('q', [ + 'placeholder' => __('Adresse MAC...'), + 'empty' => __('Adresse MAC...') + ]) ?> + + Form->input('equipement_modele_id', [ + 'placeholder' => __('Equipement Modeles'), + 'empty' => __('Equipement Modeles') + ]) ?> + + Form->input('relais_id', [ + 'placeholder' => __('Relais'), + 'empty' => __('Relais') + ]) ?> + + Form->button('Filter', ['type' => 'submit']) . "\n" ?> + Html->link('Reset', ['action' => 'index']) . "\n" ?> +
Paginator->sort('mac') ?>Paginator->sort('ipmgmt_id') ?>Paginator->sort('equipement_mode_id') ?>Paginator->sort('equipement_modele_id') ?>Paginator->sort('service_id') ?>Paginator->sort('relais_id') ?>Paginator->sort('uplink_id') ?>
mac) ?>has('ipmgmt') ? $this->Html->link($equipement->ipmgmt->title, ['controller' => 'Ipmgmt', 'action' => 'view', $equipement->ipmgmt->id]) : '' ?>equipement_mode_id) ?>has('equipement_modele') ? $this->Html->link($equipement->equipement_modele->title, ['controller' => 'EquipementModeles', 'action' => 'view', $equipement->equipement_modele->id]) : '' ?>has('service') ? $this->Html->link($equipement->service->title, ['controller' => 'Services', 'action' => 'view', $equipement->service->id]) : '' ?>has('relais') ? $this->Html->link($equipement->relais->title, ['controller' => 'Relais', 'action' => 'view', $equipement->relais->id]) : '' ?>has('uplink_id') ? $this->Html->link($equipement->uplink_id, ['controller' => 'Equipements', 'action' => 'view', $equipement->uplink_id]) : '' ?> + Html->link(__('View'), ['action' => 'view', $equipement->id]) ?> + Html->link(__('Edit'), ['action' => 'edit', $equipement->id]) ?> +
+
+
    + Paginator->prev('< ' . __('previous')) ?> + Paginator->numbers() ?> + Paginator->next(__('next') . ' >') ?> +
+
+ +
-- cgit v1.1