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/Ippubliques/index.ctp | 84 ++++++++++++++++++++++ .../after-bake/src/Template/Ippubliques/view.ctp | 79 ++++++++++++++++++++ 2 files changed, 163 insertions(+) create mode 100644 generator/after-bake/src/Template/Ippubliques/index.ctp create mode 100644 generator/after-bake/src/Template/Ippubliques/view.ctp (limited to 'generator/after-bake/src/Template/Ippubliques') diff --git a/generator/after-bake/src/Template/Ippubliques/index.ctp b/generator/after-bake/src/Template/Ippubliques/index.ctp new file mode 100644 index 0000000..72f9c25 --- /dev/null +++ b/generator/after-bake/src/Template/Ippubliques/index.ctp @@ -0,0 +1,84 @@ +<% +/** + * 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' => __('Rechercher...'), + 'empty' => __('Rechercher...') + ]) ?> + + Form->input('secteur_id', [ + 'placeholder' => __('Secteurs'), + 'empty' => __('Secteurs') + ]) ?> + + Form->button('Filter', ['type' => 'submit']) . "\n" ?> + Html->link('Reset', ['action' => 'index']) . "\n" ?> +
Paginator->sort('ip4') ?>Paginator->sort('ip6') ?>Paginator->sort('secteur_id') ?>
ip4) ?>ip6) ?>has('secteur') ? h($ippublique->secteur->title) : '' ?>services) ? __('oui'): __('non') ?> + Html->link(__('View'), ['action' => 'view', $ippublique->ip4]) ?> +
+
+
    + Paginator->prev('< ' . __('previous')) ?> + Paginator->numbers() ?> + Paginator->next(__('next') . ' >') ?> +
+
+ +
diff --git a/generator/after-bake/src/Template/Ippubliques/view.ctp b/generator/after-bake/src/Template/Ippubliques/view.ctp new file mode 100644 index 0000000..3082b9e --- /dev/null +++ b/generator/after-bake/src/Template/Ippubliques/view.ctp @@ -0,0 +1,79 @@ +<% +/** + * 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 . +**/ +%> + +
+

ip4) ?>

+ + + + + + + + + + + + + +
ip4) ?>
ip6) ?>
secteur->title ?>
+ +
-- cgit v1.1