Commit 96b028a1f66cac2c6af9fd7493aac328cbc0c486
1 parent
bb6d5bed
Exists in
master
and in
3 other branches
Migration de toutes les vues "index" et une partie des outils
Showing
12 changed files
with
491 additions
and
198 deletions
Show diff stats
src/Template/Categories/index.ctp
1 | 1 | |
2 | -<div class="categories index large-9 medium-8 columns content"> | |
3 | - <h3><?= __('Categories') ?></h3> | |
2 | +<div class="categories index"> | |
3 | +<?php echo '<h2><i class="icon-list"></i> Liste des catégories</h2>'; ?> | |
4 | 4 | <table cellpadding="0" cellspacing="0"> |
5 | 5 | <thead> |
6 | 6 | <tr> |
7 | - <th><?= $this->Paginator->sort('id') ?></th> | |
8 | - <th><?= $this->Paginator->sort('nom') ?></th> | |
9 | - <th><?= $this->Paginator->sort('sur_categorie_id') ?></th> | |
10 | - <th class="actions"><?= __('Actions') ?></th> | |
7 | + <th><?= $this->Paginator->sort('nom', 'Nom') ?></th> | |
8 | + <th><?= $this->Paginator->sort('sur_categorie_id', 'Domaine') ?></th> | |
9 | + <th class="actions"><?= __('') ?></th> | |
11 | 10 | </tr> |
12 | 11 | </thead> |
13 | 12 | <tbody> |
14 | 13 | <?php foreach ($categories as $category): ?> |
15 | 14 | <tr> |
16 | - <td><?= $this->Number->format($category->id) ?></td> | |
17 | - <td><?= h($category->nom) ?></td> | |
18 | - <td><?= $category->has('sur_category') ? $this->Html->link($category->sur_category->id, ['controller' => 'SurCategories', 'action' => 'view', $category->sur_category->id]) : '' ?></td> | |
19 | - <td class="actions"> | |
20 | - <?= $this->Html->link(__('View'), ['action' => 'view', $category->id]) ?> | |
21 | - <?= $this->Html->link(__('Edit'), ['action' => 'edit', $category->id]) ?> | |
22 | - <?= $this->Form->postLink(__('Delete'), ['action' => 'delete', $category->id], ['confirm' => __('Are you sure you want to delete # {0}?', $category->id)]) ?> | |
15 | + <td><?= $this->Html->link($category->nom, ['action' => 'view', $category->id]) ?></td> | |
16 | + <td><?= $category->has('sur_category') ? $this->Html->link($category->sur_category->nom, ['controller' => 'SurCategories', 'action' => 'view', $category->sur_category->id]) : '' ?></td> | |
17 | + | |
18 | + <td class="actions" style="padding: 6px 0;"> | |
19 | + <?= $this->Html->link(__('<i class="icon-eye-open"></i>'), ['action' => 'view', $category->id], ['title' => 'Visualiser', 'style' => 'margin: 0 2px', 'escape' => false ]) ?> | |
20 | + <?= $this->Html->link(__('<i class="icon-pencil"></i>'), ['action' => 'edit', $category->id], ['title' => 'Editer', 'style' => 'margin: 0 2px', 'escape' => false ]) ?> | |
21 | + <?= $this->Form->postLink(__('<i class="icon-trash"></i>'), ['action' => 'delete', $category->id], ['title' => 'Supprimer', 'style' => 'margin: 0 2px', 'escape' => false, 'confirm' => __('Êtes-vous sur de vouloir supprimer # {0}?', $category->id)]) ?> | |
23 | 22 | </td> |
23 | + | |
24 | 24 | </tr> |
25 | 25 | <?php endforeach; ?> |
26 | 26 | </tbody> |
27 | 27 | </table> |
28 | - <div class="paginator"> | |
29 | - <ul class="pagination"> | |
30 | - <?= $this->Paginator->prev('< ' . __('previous')) ?> | |
31 | - <?= $this->Paginator->numbers() ?> | |
32 | - <?= $this->Paginator->next(__('next') . ' >') ?> | |
33 | - </ul> | |
34 | - <p><?= $this->Paginator->counter() ?></p> | |
28 | + | |
29 | + <h3><?= $this->Paginator->counter(['format' => 'Page {{page}} sur {{pages}}']) ?></h3> | |
30 | + | |
31 | + <div class="paging" style="color: black;"> | |
32 | + <?= $this->Paginator->first('<< ' . __(''), ['class' => 'prev']) ?> | |
33 | + <?= $this->Paginator->prev('< ' . __(''), ['class' => 'prev disabled']) ?> | |
34 | + <?= $this->Paginator->numbers(['separator' => '']) ?> | |
35 | + <?= $this->Paginator->next(__('') . ' >', ['class' => 'next disabled']) ?> | |
36 | + <?= $this->Paginator->last(__('') . ' >>', ['class' => 'next']) ?> | |
35 | 37 | </div> |
36 | 38 | </div> | ... | ... |
src/Template/GroupesMetiers/index.ctp
1 | 1 | |
2 | -<div class="groupesMetiers index large-9 medium-8 columns content"> | |
3 | - <h3><?= __('Groupes Metiers') ?></h3> | |
2 | +<div class="groupesMetiers index"> | |
3 | +<?php echo '<h2><i class="icon-list"></i> Liste des groupes métiers</h2>'; ?> | |
4 | 4 | <table cellpadding="0" cellspacing="0"> |
5 | 5 | <thead> |
6 | 6 | <tr> |
7 | - <th><?= $this->Paginator->sort('id') ?></th> | |
8 | - <th><?= $this->Paginator->sort('nom') ?></th> | |
9 | - <th><?= $this->Paginator->sort('description') ?></th> | |
10 | - <th class="actions"><?= __('Actions') ?></th> | |
7 | + <th><?= $this->Paginator->sort('nom', 'Nom') ?></th> | |
8 | + <th><?= $this->Paginator->sort('description', 'Description') ?></th> | |
9 | + <th class="actions"><?= __('') ?></th> | |
11 | 10 | </tr> |
12 | 11 | </thead> |
13 | 12 | <tbody> |
14 | 13 | <?php foreach ($groupesMetiers as $groupesMetier): ?> |
15 | 14 | <tr> |
16 | - <td><?= $this->Number->format($groupesMetier->id) ?></td> | |
17 | - <td><?= h($groupesMetier->nom) ?></td> | |
15 | + <td><?= $this->Html->link($groupesMetier->nom, ['action' => 'view', $groupesMetier->id]) ?></td> | |
18 | 16 | <td><?= h($groupesMetier->description) ?></td> |
19 | - <td class="actions"> | |
20 | - <?= $this->Html->link(__('View'), ['action' => 'view', $groupesMetier->id]) ?> | |
21 | - <?= $this->Html->link(__('Edit'), ['action' => 'edit', $groupesMetier->id]) ?> | |
22 | - <?= $this->Form->postLink(__('Delete'), ['action' => 'delete', $groupesMetier->id], ['confirm' => __('Are you sure you want to delete # {0}?', $groupesMetier->id)]) ?> | |
17 | + | |
18 | + <td class="actions" style="padding: 6px 0;"> | |
19 | + <?= $this->Html->link(__('<i class="icon-eye-open"></i>'), ['action' => 'view', $groupesMetier->id], ['title' => 'Visualiser', 'style' => 'margin: 0 2px', 'escape' => false ]) ?> | |
20 | + <?= $this->Html->link(__('<i class="icon-pencil"></i>'), ['action' => 'edit', $groupesMetier->id], ['title' => 'Editer', 'style' => 'margin: 0 2px', 'escape' => false ]) ?> | |
21 | + <?= $this->Form->postLink(__('<i class="icon-trash"></i>'), ['action' => 'delete', $groupesMetier->id], ['title' => 'Supprimer', 'style' => 'margin: 0 2px', 'escape' => false, 'confirm' => __('Êtes-vous sur de vouloir supprimer # {0}?', $groupesMetier->id)]) ?> | |
23 | 22 | </td> |
23 | + | |
24 | 24 | </tr> |
25 | 25 | <?php endforeach; ?> |
26 | 26 | </tbody> |
27 | 27 | </table> |
28 | - <div class="paginator"> | |
29 | - <ul class="pagination"> | |
30 | - <?= $this->Paginator->prev('< ' . __('previous')) ?> | |
31 | - <?= $this->Paginator->numbers() ?> | |
32 | - <?= $this->Paginator->next(__('next') . ' >') ?> | |
33 | - </ul> | |
34 | - <p><?= $this->Paginator->counter() ?></p> | |
28 | + | |
29 | + <h3><?= $this->Paginator->counter(['format' => 'Page {{page}} sur {{pages}}']) ?></h3> | |
30 | + | |
31 | + <div class="paging"> | |
32 | + <?= $this->Paginator->prev('< ' . __(''), ['class' => 'prev disabled']) ?> | |
33 | + <?= $this->Paginator->numbers(['separator' => '']) ?> | |
34 | + <?= $this->Paginator->next(__('') . ' >', ['class' => 'next disabled']) ?> | |
35 | 35 | </div> |
36 | + | |
36 | 37 | </div> | ... | ... |
src/Template/GroupesThematiques/index.ctp
1 | 1 | |
2 | -<div class="groupesThematiques index large-9 medium-8 columns content"> | |
3 | - <h3><?= __('Groupes Thematiques') ?></h3> | |
2 | +<div class="groupesThematiques index"> | |
3 | +<?php echo '<h2><i class="icon-list"></i> Liste des groupes thématiques</h2>'; ?> | |
4 | 4 | <table cellpadding="0" cellspacing="0"> |
5 | 5 | <thead> |
6 | 6 | <tr> |
7 | - <th><?= $this->Paginator->sort('id') ?></th> | |
8 | - <th><?= $this->Paginator->sort('nom') ?></th> | |
9 | - <th><?= $this->Paginator->sort('description') ?></th> | |
10 | - <th class="actions"><?= __('Actions') ?></th> | |
7 | + <th><?= $this->Paginator->sort('nom', 'Nom') ?></th> | |
8 | + <th><?= $this->Paginator->sort('description', 'Description') ?></th> | |
9 | + <th class="actions"><?= __('') ?></th> | |
11 | 10 | </tr> |
12 | 11 | </thead> |
13 | 12 | <tbody> |
14 | 13 | <?php foreach ($groupesThematiques as $groupesThematique): ?> |
15 | 14 | <tr> |
16 | - <td><?= $this->Number->format($groupesThematique->id) ?></td> | |
17 | - <td><?= h($groupesThematique->nom) ?></td> | |
15 | + <td><?= $this->Html->link($groupesThematique->nom, ['action' => 'view', $groupesThematique->id]) ?></td> | |
18 | 16 | <td><?= h($groupesThematique->description) ?></td> |
19 | - <td class="actions"> | |
20 | - <?= $this->Html->link(__('View'), ['action' => 'view', $groupesThematique->id]) ?> | |
21 | - <?= $this->Html->link(__('Edit'), ['action' => 'edit', $groupesThematique->id]) ?> | |
22 | - <?= $this->Form->postLink(__('Delete'), ['action' => 'delete', $groupesThematique->id], ['confirm' => __('Are you sure you want to delete # {0}?', $groupesThematique->id)]) ?> | |
17 | + | |
18 | + <td class="actions" style="padding: 6px 0;"> | |
19 | + <?= $this->Html->link(__('<i class="icon-eye-open"></i>'), ['action' => 'view', $groupesThematique->id], ['title' => 'Visualiser', 'style' => 'margin: 0 2px', 'escape' => false ]) ?> | |
20 | + <?= $this->Html->link(__('<i class="icon-pencil"></i>'), ['action' => 'edit', $groupesThematique->id], ['title' => 'Editer', 'style' => 'margin: 0 2px', 'escape' => false ]) ?> | |
21 | + <?= $this->Form->postLink(__('<i class="icon-trash"></i>'), ['action' => 'delete', $groupesThematique->id], ['title' => 'Supprimer', 'style' => 'margin: 0 2px', 'escape' => false, 'confirm' => __('Êtes-vous sur de vouloir supprimer # {0}?', $groupesThematique->id)]) ?> | |
23 | 22 | </td> |
23 | + | |
24 | 24 | </tr> |
25 | 25 | <?php endforeach; ?> |
26 | 26 | </tbody> |
27 | 27 | </table> |
28 | - <div class="paginator"> | |
29 | - <ul class="pagination"> | |
30 | - <?= $this->Paginator->prev('< ' . __('previous')) ?> | |
31 | - <?= $this->Paginator->numbers() ?> | |
32 | - <?= $this->Paginator->next(__('next') . ' >') ?> | |
33 | - </ul> | |
34 | - <p><?= $this->Paginator->counter() ?></p> | |
28 | + | |
29 | + <h3><?= $this->Paginator->counter(['format' => 'Page {{page}} sur {{pages}}']) ?></h3> | |
30 | + | |
31 | + <div class="paging"> | |
32 | + <?= $this->Paginator->prev('< ' . __(''), ['class' => 'prev disabled']) ?> | |
33 | + <?= $this->Paginator->numbers(['separator' => '']) ?> | |
34 | + <?= $this->Paginator->next(__('') . ' >', ['class' => 'next disabled']) ?> | |
35 | 35 | </div> |
36 | + | |
36 | 37 | </div> | ... | ... |
src/Template/Organismes/index.ctp
1 | 1 | |
2 | -<div class="organismes index large-9 medium-8 columns content"> | |
3 | - <h3><?= __('Organismes') ?></h3> | |
2 | +<div class="organismes index"> | |
3 | +<?php echo '<h2><i class="icon-list"></i> Liste des organismes</h2>'; ?> | |
4 | 4 | <table cellpadding="0" cellspacing="0"> |
5 | 5 | <thead> |
6 | 6 | <tr> |
7 | - <th><?= $this->Paginator->sort('id') ?></th> | |
8 | - <th><?= $this->Paginator->sort('nom') ?></th> | |
9 | - <th class="actions"><?= __('Actions') ?></th> | |
7 | + <th><?= $this->Paginator->sort('nom', 'Nom') ?></th> | |
8 | + <th class="actions"><?= __('') ?></th> | |
10 | 9 | </tr> |
11 | 10 | </thead> |
12 | 11 | <tbody> |
13 | 12 | <?php foreach ($organismes as $organisme): ?> |
14 | 13 | <tr> |
15 | - <td><?= $this->Number->format($organisme->id) ?></td> | |
16 | - <td><?= h($organisme->nom) ?></td> | |
17 | - <td class="actions"> | |
18 | - <?= $this->Html->link(__('View'), ['action' => 'view', $organisme->id]) ?> | |
19 | - <?= $this->Html->link(__('Edit'), ['action' => 'edit', $organisme->id]) ?> | |
20 | - <?= $this->Form->postLink(__('Delete'), ['action' => 'delete', $organisme->id], ['confirm' => __('Are you sure you want to delete # {0}?', $organisme->id)]) ?> | |
14 | + <td><?= $this->Html->link($organisme->nom, ['action' => 'view', $organisme->id]) ?></td> | |
15 | + | |
16 | + <td class="actions" style="padding: 6px 0;"> | |
17 | + <?= $this->Html->link(__('<i class="icon-eye-open"></i>'), ['action' => 'view', $organisme->id], ['title' => 'Visualiser', 'style' => 'margin: 0 2px', 'escape' => false ]) ?> | |
18 | + <?= $this->Html->link(__('<i class="icon-pencil"></i>'), ['action' => 'edit', $organisme->id], ['title' => 'Editer', 'style' => 'margin: 0 2px', 'escape' => false ]) ?> | |
19 | + <?= $this->Form->postLink(__('<i class="icon-trash"></i>'), ['action' => 'delete', $organisme->id], ['title' => 'Supprimer', 'style' => 'margin: 0 2px', 'escape' => false, 'confirm' => __('Êtes-vous sur de vouloir supprimer # {0}?', $organisme->id)]) ?> | |
21 | 20 | </td> |
21 | + | |
22 | 22 | </tr> |
23 | 23 | <?php endforeach; ?> |
24 | 24 | </tbody> |
25 | 25 | </table> |
26 | - <div class="paginator"> | |
27 | - <ul class="pagination"> | |
28 | - <?= $this->Paginator->prev('< ' . __('previous')) ?> | |
29 | - <?= $this->Paginator->numbers() ?> | |
30 | - <?= $this->Paginator->next(__('next') . ' >') ?> | |
31 | - </ul> | |
32 | - <p><?= $this->Paginator->counter() ?></p> | |
26 | + | |
27 | + <h3><?= $this->Paginator->counter(['format' => 'Page {{page}} sur {{pages}}']) ?></h3> | |
28 | + | |
29 | + <div class="paging"> | |
30 | + <?= $this->Paginator->prev('< ' . __(''), ['class' => 'prev disabled']) ?> | |
31 | + <?= $this->Paginator->numbers(['separator' => '']) ?> | |
32 | + <?= $this->Paginator->next(__('') . ' >', ['class' => 'next disabled']) ?> | |
33 | 33 | </div> |
34 | + | |
34 | 35 | </div> | ... | ... |
... | ... | @@ -0,0 +1,123 @@ |
1 | +<?= $this->layout = false; ?> | |
2 | + | |
3 | +<!DOCTYPE html | |
4 | + PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd"> | |
5 | +<html xmlns="http://www.w3.org/1999/xhtml"><!--This file was converted to xhtml by OpenOffice.org - see http://xml.openoffice.org/odf2xhtml for more info.--> | |
6 | +<head profile="http://dublincore.org/documents/dcmi-terms/"> | |
7 | +<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8"/> | |
8 | +<title xml:lang="en-US">ACLS</title> | |
9 | +<meta name="DCTERMS.title" content="" xml:lang="en-US"/> | |
10 | +<meta name="DCTERMS.language" content="en-US" scheme="DCTERMS.RFC4646"/> | |
11 | +<meta name="DCTERMS.source" content="http://xml.openoffice.org/odf2xhtml"/> | |
12 | +<meta name="DCTERMS.creator" content="Etienne Pallier"/> | |
13 | +<meta name="DCTERMS.issued" content="2014-01-21T18:49:39" scheme="DCTERMS.W3CDTF"/> | |
14 | +<meta name="DCTERMS.contributor" content="Etienne Pallier"/> | |
15 | +<meta name="DCTERMS.modified" content="2014-01-21T22:40:01" scheme="DCTERMS.W3CDTF"/> | |
16 | +<meta name="DCTERMS.provenance" content="" xml:lang="en-US"/> | |
17 | +<meta name="DCTERMS.subject" content="," xml:lang="en-US"/> | |
18 | +<link rel="schema.DC" href="http://purl.org/dc/elements/1.1/" hreflang="en"/> | |
19 | +<link rel="schema.DCTERMS" href="http://purl.org/dc/terms/" hreflang="en"/> | |
20 | +<link rel="schema.DCTYPE" href="http://purl.org/dc/dcmitype/" hreflang="en"/> | |
21 | +<link rel="schema.DCAM" href="http://purl.org/dc/dcam/" hreflang="en"/> | |
22 | +<style type="text/css"> | |
23 | + | |
24 | + @page { } | |
25 | + table { border-collapse:collapse; border-spacing:0; empty-cells:show } | |
26 | + td, th { vertical-align:top; font-size:12pt;} | |
27 | + h1, h2, h3, h4, h5, h6 { clear:both } | |
28 | + ol, ul { margin:0; padding:0;} | |
29 | + li { list-style: none; margin:0; padding:0;} | |
30 | + <!-- "li span.odfLiEnd" - IE 7 issue--> | |
31 | + li span. { clear: both; line-height:0; width:0; height:0; margin:0; padding:0; } | |
32 | + span.footnodeNumber { padding-right:1em; } | |
33 | + span.annotation_style_by_filter { font-size:95%; font-family:Arial; background-color:#fff000; margin:0; border:0; padding:0; } | |
34 | + * { margin:0;} | |
35 | + .P1 { font-size:12pt; font-family:Times New Roman; writing-mode:lr-tb; text-align:center ! important; } | |
36 | + .P10 { font-size:9pt; font-family:Times New Roman; writing-mode:lr-tb; text-align:center ! important; font-style:normal; } | |
37 | + .P11 { font-size:9pt; font-family:Times New Roman; writing-mode:lr-tb; text-align:center ! important; font-style:normal; font-weight:bold; } | |
38 | + .P12 { font-size:9pt; font-family:Times New Roman; writing-mode:lr-tb; text-align:left ! important; font-weight:normal; } | |
39 | + .P13 { font-size:9pt; font-family:Times New Roman; writing-mode:lr-tb; text-align:center ! important; font-weight:normal; } | |
40 | + .P14 { font-size:12pt; font-family:Times New Roman; writing-mode:lr-tb; text-align:left ! important; } | |
41 | + .P15 { font-size:12pt; font-family:Times New Roman; writing-mode:lr-tb; } | |
42 | + .P16 { font-size:12pt; font-family:Times New Roman; writing-mode:lr-tb; } | |
43 | + .P17 { font-size:12pt; font-family:Times New Roman; writing-mode:lr-tb; } | |
44 | + .P18 { font-size:12pt; font-family:Times New Roman; writing-mode:lr-tb; } | |
45 | + .P19 { font-size:12pt; font-family:Times New Roman; writing-mode:lr-tb; } | |
46 | + .P2 { font-size:9pt; font-family:Times New Roman; writing-mode:lr-tb; text-align:center ! important; } | |
47 | + .P20 { font-size:12pt; font-family:Times New Roman; writing-mode:lr-tb; font-weight:bold; } | |
48 | + .P21 { font-size:12pt; font-family:Times New Roman; writing-mode:lr-tb; text-align:left ! important; font-weight:bold; } | |
49 | + .P22 { font-size:12pt; font-family:Times New Roman; writing-mode:lr-tb; text-align:left ! important; font-weight:bold; } | |
50 | + .P23 { font-size:12pt; font-family:Times New Roman; writing-mode:lr-tb; font-weight:normal; } | |
51 | + .P24 { font-size:12pt; font-family:Times New Roman; writing-mode:lr-tb; text-align:left ! important; font-weight:normal; } | |
52 | + .P25 { font-size:12pt; font-family:Times New Roman; writing-mode:lr-tb; text-align:left ! important; font-weight:normal; } | |
53 | + .P26 { font-size:12pt; font-family:Times New Roman; writing-mode:lr-tb; text-align:left ! important; font-weight:normal; } | |
54 | + .P27 { font-size:12pt; font-family:Times New Roman; writing-mode:lr-tb; text-align:left ! important; } | |
55 | + .P28 { font-size:12pt; font-family:Times New Roman; writing-mode:lr-tb; text-align:left ! important; } | |
56 | + .P29 { font-size:12pt; font-family:Times New Roman; writing-mode:lr-tb; text-align:left ! important; } | |
57 | + .P3 { font-size:9pt; font-family:Times New Roman; writing-mode:lr-tb; text-align:center ! important; } | |
58 | + .P30 { font-size:10pt; font-family:Times New Roman; writing-mode:lr-tb; font-style:italic; font-weight:bold; } | |
59 | + .P31 { font-size:9pt; font-family:Times New Roman; writing-mode:lr-tb; } | |
60 | + .P32 { font-size:9pt; font-family:Times New Roman; writing-mode:lr-tb; font-weight:bold; } | |
61 | + .P33 { font-size:12pt; font-family:Times New Roman; writing-mode:lr-tb; } | |
62 | + .P34 { font-size:12pt; font-family:Times New Roman; writing-mode:lr-tb; text-align:left ! important; font-style:normal; text-shadow:none; text-decoration:none ! important; font-weight:normal; } | |
63 | + .P35 { font-size:12pt; font-family:Times New Roman; writing-mode:lr-tb; margin-left:1.251cm; margin-right:0cm; text-indent:0cm; } | |
64 | + .P36 { font-size:12pt; font-family:Times New Roman; writing-mode:lr-tb; margin-left:1.251cm; margin-right:0cm; text-indent:0cm; font-weight:normal; } | |
65 | + .P37 { font-size:9pt; font-family:Times New Roman; writing-mode:lr-tb; margin-left:1.251cm; margin-right:0cm; text-indent:0cm; font-weight:normal; } | |
66 | + .P38 { font-size:9pt; font-family:Times New Roman; writing-mode:lr-tb; margin-left:1.251cm; margin-right:0cm; text-indent:0cm; } | |
67 | + .P39 { font-size:12pt; font-family:Times, Times New Roman; writing-mode:lr-tb; margin-left:1.251cm; margin-right:0cm; text-indent:0cm; } | |
68 | + .P4 { font-size:9pt; font-family:Times New Roman; writing-mode:lr-tb; font-weight:bold; } | |
69 | + .P40 { font-size:12pt; font-family:Times New Roman; writing-mode:lr-tb; text-align:center ! important; font-weight:bold; } | |
70 | + .P5 { font-size:9pt; font-family:Times New Roman; writing-mode:lr-tb; text-align:center ! important; font-weight:bold; } | |
71 | + .P6 { font-size:9pt; font-family:Times New Roman; writing-mode:lr-tb; text-align:center ! important; font-style:italic; font-weight:bold; } | |
72 | + .P7 { font-size:9pt; font-family:Times New Roman; writing-mode:lr-tb; text-align:left ! important; font-style:italic; font-weight:bold; } | |
73 | + .P8 { font-size:9pt; font-family:Times New Roman; writing-mode:lr-tb; text-align:left ! important; font-style:italic; font-weight:normal; } | |
74 | + .P9 { font-size:9pt; font-family:Times New Roman; writing-mode:lr-tb; text-align:center ! important; font-style:italic; font-weight:normal; } | |
75 | + .Standard { font-size:12pt; font-family:Times New Roman; writing-mode:lr-tb; } | |
76 | + .Table_20_Contents { font-size:12pt; font-family:Times New Roman; writing-mode:lr-tb; } | |
77 | + .Tableau1 { width:26.435cm; margin-left:-0.078cm; writing-mode:lr-tb; } | |
78 | + .Tableau1_A1 { vertical-align:top; background-color:#cccccc; padding:0.097cm; border-left-width:0.0133cm; border-left-style:solid; border-left-color:#000000; border-right-style:none; border-top-width:0.0133cm; border-top-style:solid; border-top-color:#000000; border-bottom-width:0.0133cm; border-bottom-style:solid; border-bottom-color:#000000; writing-mode:lr-tb; } | |
79 | + .Tableau1_A2 { vertical-align:top; background-color:#e6e6e6; padding:0.097cm; border-left-width:0.0133cm; border-left-style:solid; border-left-color:#000000; border-right-style:none; border-top-style:none; border-bottom-width:0.0133cm; border-bottom-style:solid; border-bottom-color:#000000; writing-mode:lr-tb; } | |
80 | + .Tableau1_B2 { vertical-align:top; padding:0.097cm; border-left-width:0.0133cm; border-left-style:solid; border-left-color:#000000; border-right-style:none; border-top-style:none; border-bottom-width:0.0133cm; border-bottom-style:solid; border-bottom-color:#000000; writing-mode:lr-tb; } | |
81 | + .Tableau1_L1 { vertical-align:top; background-color:#cccccc; padding:0.097cm; border-width:0.0133cm; border-style:solid; border-color:#000000; writing-mode:lr-tb; } | |
82 | + .Tableau1_L2 { vertical-align:top; padding:0.097cm; border-left-width:0.0133cm; border-left-style:solid; border-left-color:#000000; border-right-width:0.0133cm; border-right-style:solid; border-right-color:#000000; border-top-style:none; border-bottom-width:0.0133cm; border-bottom-style:solid; border-bottom-color:#000000; writing-mode:lr-tb; } | |
83 | + .Tableau1_A { width:1.937cm; } | |
84 | + .Tableau1_B { width:2.402cm; } | |
85 | + .Tableau1_C { width:2.459cm; } | |
86 | + .Tableau1_D { width:2.828cm; } | |
87 | + .Tableau1_E { width:1.836cm; } | |
88 | + .Tableau1_F { width:1.734cm; } | |
89 | + .Tableau1_G { width:2.066cm; } | |
90 | + .Tableau1_H { width:2.766cm; } | |
91 | + .Tableau1_I { width:2.727cm; } | |
92 | + .Tableau1_J { width:1.487cm; } | |
93 | + .Tableau1_K { width:1.445cm; } | |
94 | + .Tableau1_L { width:2.75cm; } | |
95 | + .T1 { font-size:12pt; } | |
96 | + .T11 { font-size:9pt; } | |
97 | + .T12 { font-size:9pt; font-weight:bold; } | |
98 | + .T13 { font-size:9pt; font-style:italic; font-weight:bold; } | |
99 | + .T14 { font-size:9pt; font-style:italic; font-weight:normal; } | |
100 | + .T17 { font-size:9pt; font-weight:normal; } | |
101 | + .T19 { font-size:9pt; } | |
102 | + .T2 { font-size:12pt; font-weight:bold; } | |
103 | + .T20 { font-size:9pt; } | |
104 | + .T21 { font-size:12pt; font-style:normal; text-shadow:none; text-decoration:none ! important; font-weight:normal; } | |
105 | + .T3 { font-size:12pt; font-weight:bold; } | |
106 | + .T4 { font-size:12pt; font-weight:normal; } | |
107 | + .T5 { font-size:12pt; font-weight:normal; } | |
108 | + .T6 { font-size:12pt; font-style:italic; font-weight:bold; } | |
109 | + .T7 { font-size:12pt; } | |
110 | + .T8 { font-weight:normal; } | |
111 | + .WW8Num1z0 { font-family:Symbol; } | |
112 | + .WW8Num2z0 { font-family:Symbol; } | |
113 | + .WW8Num3z0 { font-family:Times New Roman; } | |
114 | + .WW8Num4z0 { font-family:Symbol; } | |
115 | + .WW8Num5z0 { font-family:Symbol; } | |
116 | + .WW8Num6z0 { font-size:12pt; } | |
117 | + .WW8Num8z0 { font-family:Symbol; font-size:9pt; font-weight:normal; } | |
118 | + .WW8Num9z0 { font-size:9pt; } | |
119 | + <!-- ODF styles with no properties representable as CSS --> | |
120 | + .Tableau1.1 .WW8Num7z0 .WW8Num8z1 .WW8Num8z2 .WW8Num8z3 .WW8Num8z4 .WW8Num8z5 .WW8Num8z6 .WW8Num8z7 .WW8Num8z8 .WW8Num9z1 .WW8Num9z2 .WW8Num9z3 .WW8Num9z4 .WW8Num9z5 .WW8Num9z6 .WW8Num9z7 .WW8Num9z8 { } | |
121 | + </style> | |
122 | + </head> | |
123 | + <body dir="ltr" style="max-width:29.7cm;margin-top:1cm; margin-bottom:1cm; margin-left:1cm; margin-right:1.45cm; "><p class="P40">ACL (Access Control List)</p><p class="P20"> </p><p class="P20"> </p><p class="P20"> </p><p class="P20">I – Cycle de vie du statut du matériel</p><p class="P20"> </p><p class="Standard"><span class="T2">Créer</span><span class="T4"> un matériel ==</span><span class="T5">> passe alors en statut </span><span class="T3">CREATED ==> </span><span class="T6">peut alors être éventuellement supprimé (mais ne pourra plus être supprimé ensuite)</span></p><p class="Standard"><span class="T3">Valider</span><span class="T5"> un matériel CREATED ==> passe alors en statut </span><span class="T3">VALIDATED </span><span class="T5">(admin only)</span></p><p class="P29"><span class="T3">Demander l'Archivage</span><span class="T5"> d'un materiel VALIDATED ==> passe alors en statut </span><span class="T3">TOBEARCHIVED</span><span class="T5"> (resp et admin only)</span></p><p class="P29"><span class="T3">Sortir</span><span class="T5"> de l'inventaire (Valider une demande d'archivage d'un matériel TOBEARCHIVED) ==> statut </span><span class="T3">ARCHIVED</span><span class="T5"> (admin only)</span></p><p class="P29"><span class="T3">Désarchiver</span><span class="T5"> un matériel ==> repasse de TOBEARCHIVED ou ARCHIVED à </span><span class="T3">VALIDATED</span><span class="T5"> (admin only) </span></p><p class="P29"> </p><p class="P24">En résumé : TODO (schéma)</p><p class="P29"> </p><p class="P22">CREATED ==> VALIDATED ==> TOBEARCHIVED ==> ARCHIVED</p><p class="P29"><span class="T3"> I /\ I I</span></p><p class="P29"><span class="T3"> V I ------------------------ I --------------------------------- I (adminplus only)</span></p><p class="P22">DELETED</p><p class="P21"> </p><p class="P21"> </p><p class="P21"> </p><p class="P20">II - Droits des utilisateurs selon leur profil</p><p class="P20"> </p><p class="P20">A – Globalement (principes généraux)</p><p class="P20"> </p><p class="P23">Un utilisateur non logué ne doit RIEN pouvoir faire. Seulement se loguer, c'est tout. Il n'a accès qu'à la page d'accueil (de login).</p><p class="P23">Une fois logué, un utilisateur a des droits différents selon son profil, globalement :</p><p class="P35"><span class="T4">- un </span><span class="T2">USER</span><span class="T4"> ne peut que créer un matériel, un suivi, ou un emprunt, consulter, et modifier (uniquement ce qu'il a créé lui-même)</span></p><p class="P35"><span class="T4">- un </span><span class="T2">RESPONSABLE</span><span class="T4"> a tous les droits sauf accès à certains champs et certaines vues réservées à l'administration (ADMIN). Il ne peut pas non plus archiver un matériel, mais seulement demander l'archivage (comme un USER)</span></p><p class="P35"><span class="T4">- un </span><span class="T2">ADMIN</span><span class="T4">(istratif) a tous les droits (y-compris champs réservés à l'administration)</span></p><p class="P35"><span class="T4">- un </span><span class="T2">ADMINPLUS</span><span class="T4"> (administratif Plus) a tous les droits de ADMIN et en plus il peut modifier un matériel quelque soit son statut (y-compris TOBEARCHIVED et ARCHIVED), notamment il peut modifier le statut du matériel (pour le rétrograder)</span></p><p class="P35"><span class="T4">- un </span><span class="T2">SUPERADMIN</span><span class="T4"> a tous les droits : ceux d'ADMINPLUS et certains droits supplémentaires pour lui permettre des corrections d'erreur et la configuration de l'application (notamment l'administration des utilisateurs...)</span></p><p class="P36"> </p><p class="Standard"><span class="T4">Concernant les informations internes permettant de savoir </span><span class="T2">qui a fait quoi</span><span class="T4"> (mises en place en février 2014), elles ne sont bien sûr pas modifiables puisque gérées automatiquement par le système, mais sont visibles par tous excepté le profil USER.</span></p><p class="P20"> </p><p class="P20"> </p><p class="P20">B - sur la table MATERIEL</p><p class="P30"> </p><table border="0" cellspacing="0" cellpadding="0" class="Tableau1"><colgroup><col width="85"/><col width="105"/><col width="107"/><col width="124"/><col width="80"/><col width="76"/><col width="90"/><col width="121"/><col width="119"/><col width="65"/><col width="63"/><col width="120"/></colgroup><tr class="Tableau11"><td style="text-align:left;width:1.937cm; " class="Tableau1_A1"><p class="P2"> </p></td><td style="text-align:left;width:2.402cm; " class="Tableau1_A1"><p class="P5">Read (un seul ou une liste)</p><p class="P5"> </p><p class="P5">(view ou index)</p></td><td style="text-align:left;width:2.459cm; " class="Tableau1_A1"><p class="P5">Create (1)</p><p class="P5"> </p><p class="P5">(add)</p></td><td style="text-align:left;width:2.828cm; " class="Tableau1_A1"><p class="P5">Update (1)</p><p class="P5"> </p><p class="P5">(edit)</p></td><td style="text-align:left;width:1.836cm; " class="Tableau1_A1"><p class="P5">Delete</p><p class="P5"> </p><p class="P5">(delete)</p></td><td style="text-align:left;width:1.734cm; " class="Tableau1_A1"><p class="P5">Valider</p><p class="P5"> </p><p class="P5">(statusValidated)</p></td><td style="text-align:left;width:2.066cm; " class="Tableau1_A1"><p class="P5">Demander archivage</p><p class="P5"> </p><p class="P5">(statusToBeArchived)</p></td><td style="text-align:left;width:2.766cm; " class="Tableau1_A1"><p class="P5">Sortir de l'inventaire</p><p class="P5"> </p><p class="P1"><span class="T12"> (statusArchived)</span></p></td><td style="text-align:left;width:2.727cm; " class="Tableau1_A1"><p class="P5">Désarchiver (2)</p></td><td style="text-align:left;width:1.487cm; " class="Tableau1_A1"><p class="P5">Exporter</p><p class="P5"> </p><p class="P5">(csv)</p><p class="P5"> </p></td><td style="text-align:left;width:1.445cm; " class="Tableau1_A1"><p class="P5">Montée de statut groupée (3)</p><p class="P5"> </p><p class="P5">(execActions)</p></td><td style="text-align:left;width:2.75cm; " class="Tableau1_L1"><p class="P5">Edition (4)</p><p class="P5"> </p><p class="P5">DOCUMENTS</p><p class="P5">entrée & sortie</p></td></tr><tr class="Tableau11"><td style="text-align:left;width:1.937cm; " class="Tableau1_A2"><p class="P6">ALL (TOUS)</p><p class="P6"> </p><p class="P11">(droits par défaut)</p></td><td style="text-align:left;width:2.402cm; " class="Tableau1_B2"><p class="P11">Y</p><p class="P8"> </p><p class="P8"> </p><p class="P8"> </p><p class="P8"> </p><p class="P8"> </p><p class="P8"> </p><p class="P8"> </p><p class="P8"> </p><p class="P14"><span class="T13">champs exclus (cachés) :</span><span class="T14"> données admin</span></p></td><td style="text-align:left;width:2.459cm; " class="Tableau1_B2"><p class="P11">Y</p><p class="P8"> </p><p class="P8"> </p><p class="P8"> </p><p class="P8"> </p><p class="P8"> </p><p class="P8"> </p><p class="P8"> </p><p class="P8"> </p><p class="P14"><span class="T13">champs exclus (cachés) </span><span class="T14">:</span></p><p class="P8">données admin + statut + créateur + étiquette</p></td><td style="text-align:left;width:2.828cm; " class="Tableau1_B2"><p class="P11">Y</p><p class="P9">ssi</p><p class="P12">CREATED (tous les champs) </p><p class="P9">ou </p><p class="P8">VALIDATED (certains champs seulement)</p><p class="P8"> </p><p class="P14"><span class="T13">champs exclus (cachés)</span><span class="T14"> :</span></p><p class="P8">données admin + statut + créateur + étiquette</p></td><td style="text-align:left;width:1.836cm; " class="Tableau1_B2"><p class="P11">Y</p><p class="P6">ssi CREATED</p></td><td style="text-align:left;width:1.734cm; " class="Tableau1_B2"><p class="P11">N</p><p class="P6"> </p><p class="P6">(resp+)</p></td><td style="text-align:left;width:2.066cm; " class="Tableau1_B2"><p class="P11">N</p><p class="P6"> </p><p class="P6">(resp+)</p></td><td style="text-align:left;width:2.766cm; " class="Tableau1_B2"><p class="P11">N</p><p class="P6"> </p><p class="P6">(admin+)</p></td><td style="text-align:left;width:2.727cm; " class="Tableau1_B2"><p class="P11">N</p><p class="P6"> </p><p class="P6">(adminplus+)</p></td><td style="text-align:left;width:1.487cm; " class="Tableau1_B2"><p class="P11">N</p><p class="P11"> </p><p class="P6">(resp+)</p></td><td style="text-align:left;width:1.445cm; " class="Tableau1_B2"><p class="P11">N</p><p class="P11"> </p><p class="P6">(admin+)</p></td><td style="text-align:left;width:2.75cm; " class="Tableau1_L2"><p class="P11">N</p><p class="P11"> </p><p class="P6">(admin+)</p></td></tr><tr class="Tableau11"><td style="text-align:left;width:1.937cm; " class="Tableau1_A2"><p class="Table_20_Contents"><span class="T12">User </span><span class="T17">(quelconque)</span></p></td><td colspan="2" style="text-align:left;width:2.402cm; " class="Tableau1_B2"><p class="P3">idem ALL</p></td><td colspan="2" style="text-align:left;width:2.828cm; " class="Tableau1_B2"><p class="P13">idem ALL</p><p class="P1"><span class="T17">ssi </span><span class="T12">créateur</span></p></td><td colspan="7" style="text-align:left;width:1.734cm; " class="Tableau1_L2"><p class="P3">idem ALL</p></td></tr><tr class="Tableau11"><td style="text-align:left;width:1.937cm; " class="Tableau1_A2"><p class="P4">Responsable</p></td><td style="text-align:left;width:2.402cm; " class="Tableau1_B2"><p class="P3">idem ALL</p></td><td colspan="2" style="text-align:left;width:2.459cm; " class="Tableau1_B2"><p class="P3">idem ALL</p><p class="P3">(+ créateur + étiquette)</p></td><td style="text-align:left;width:1.836cm; " class="Tableau1_B2"><p class="P3">idem ALL</p></td><td style="text-align:left;width:1.734cm; " class="Tableau1_B2"><p class="P3">Y</p><p class="P6">ssi</p><p class="P6">CREATED</p><p class="P3"> </p></td><td style="text-align:left;width:2.066cm; " class="Tableau1_B2"><p class="P3">Y</p><p class="P6">ssi</p><p class="P6">VALIDATED</p></td><td colspan="2" style="text-align:left;width:2.766cm; " class="Tableau1_B2"><p class="P3">idem ALL</p></td><td style="text-align:left;width:1.487cm; " class="Tableau1_B2"><p class="P3">Y</p></td><td colspan="2" style="text-align:left;width:1.445cm; " class="Tableau1_L2"><p class="P3">idem ALL</p></td></tr><tr class="Tableau11"><td style="text-align:left;width:1.937cm; " class="Tableau1_A2"><p class="P4">Admin</p></td><td colspan="3" style="text-align:left;width:2.402cm; " class="Tableau1_B2"><p class="P3">(idem Responsable + données admin)</p></td><td colspan="3" style="text-align:left;width:1.836cm; " class="Tableau1_B2"><p class="P3">idem Responsable</p></td><td style="text-align:left;width:2.766cm; " class="Tableau1_B2"><p class="P3">Y</p><p class="P6">ssi</p><p class="P6">TOBEARCHIVED</p></td><td colspan="2" style="text-align:left;width:2.727cm; " class="Tableau1_B2"><p class="P3">idem Responsable</p></td><td style="text-align:left;width:1.445cm; " class="Tableau1_B2"><p class="P3">Y</p></td><td style="text-align:left;width:2.75cm; " class="Tableau1_L2"><p class="P3">Y</p><p class="P7">- admission : </p><p class="P7">ssi VALIDATED</p><p class="P7">- sortie : </p><p class="P7">ssi TOBEARCHIVED ou ARCHIVED</p></td></tr><tr class="Tableau11"><td style="text-align:left;width:1.937cm; " class="Tableau1_A2"><p class="P4">Adminplus</p></td><td colspan="2" style="text-align:left;width:2.402cm; " class="Tableau1_B2"><p class="P3">idem Admin</p></td><td style="text-align:left;width:2.828cm; " class="Tableau1_B2"><p class="P3">idem Admin</p><p class="P1"><span class="T11">(</span><span class="T12">tous les statuts</span><span class="T11">)</span></p><p class="P1"><span class="T11">(+ champ </span><span class="T12">statut</span><span class="T11">)</span></p><p class="P1"><span class="T11">TOBEARCHIVED ou ARCHIVED: </span><span class="T12">seulement le statut</span></p></td><td colspan="4" style="text-align:left;width:1.836cm; " class="Tableau1_B2"><p class="P3">idem Admin</p></td><td style="text-align:left;width:2.727cm; " class="Tableau1_B2"><p class="P3">Y</p><p class="P6">ssi</p><p class="P6">ARCHIVED ou</p><p class="P6">TOBEARCHIVED</p></td><td colspan="3" style="text-align:left;width:1.487cm; " class="Tableau1_L2"><p class="P3">idem Admin</p></td></tr><tr class="Tableau11"><td style="text-align:left;width:1.937cm; " class="Tableau1_A2"><p class="P4">Superadmin</p></td><td colspan="11" style="text-align:left;width:2.402cm; " class="Tableau1_L2"><p class="P3">Y</p><p class="P3">idem Adminplus</p><p class="P10"><span class="T8">(+</span><span class="T8">num_inventaire_old)</span></p></td></tr></table><p class="P15"> </p><p class="P30">Par défaut, le superadmin a TOUS les droits</p><p class="P30"> </p><p class="Standard"><span class="T12">Conventions d'écriture </span><span class="T11">: </span></p><p class="P35"><span class="T11">- r</span><span class="T12">esp+</span><span class="T11"> = possible pour un </span><span class="T12">Responsable et plus </span><span class="T17">(responsable, admin, adminplus, et superadmin)</span></p><p class="P35"><span class="T17">- </span><span class="T12">admin+</span><span class="T11"> = possible pour un </span><span class="T12">Admin</span><span class="T11"> </span><span class="T12">et plus </span><span class="T17">(admin, adminplus, et superadmin)</span></p><p class="P37">- ...</p><p class="P38"> </p><p class="Standard"><span class="T12">Notes </span><span class="T11">:</span></p><p class="P31"> </p><ol><li><p class="P33" style="margin-left:0cm;"><span class="WW8Num8z0" style="display:block;float:left;min-width:0cm">(1)</span><span class="T12">Droits en modification (edit) </span><span class="T11">:</span><span class="odfLiEnd"/> </p></li></ol><p class="P38">- Un simple « user » ne doit pas pouvoir modifier le responsable, ni le statut, ni l'étiquette, ni les données admin d'un matériel (en mode Création comme Modification)</p><p class="P38">- Un «responsable » ne doit pas pouvoir modifier le statut, ni les données admin d'un matériel (en mode Création comme Modification)</p><p class="P38">- Les données admin ne sont accessibles qu'aux profils admin+</p><p class="P35"><span class="T11">- Le champ "</span><span class="T12">status</span><span class="T11">" n'est modifiable que par les profils adminplus+</span></p><p class="P35"><span class="T11">- Tout le monde peut modifier un matériel </span><span class="T12">VALIDATED </span><span class="T17">(</span><span class="T12">user </span><span class="T11">ne peut modifier que ses matériels),</span></p><p class="P35"><span class="T11">MAIS </span><span class="T12">UNIQUEMENT certains champs</span><span class="T11"> </span><span class="T19">(</span><span class="T20">designation, sous_categorie, materiel_administratif, materiel_technique, description, etiquette, lieu_stockage, lieu_detail, numero_serie, groupes_thematique, groupes_metier)</span><span class="T19"> </span><span class="T11"><br/>- Seuls les profils </span><span class="T12">adminplus+</span><span class="T11"> peuvent modifier un matériel </span><span class="T12">TOBEARCHIVED, ou ARCHIVED </span><span class="T17">mais</span><span class="T11"> </span><span class="T12">UNIQUEMENT le champ "status" </span><span class="T11">(pour pouvoir rétrograder à CREATED ou VALIDATED)</span></p><p class="P35"><span class="T11">- Le seul moyen de modifier COMPLÈTEMENT un matériel VALIDATED, TOBEARCHIVED, ou ARCHIVED, <br/>c'est de </span><span class="T12">changer son statut</span><span class="T11">, en </span><span class="T17">le rétrogradant à </span><span class="T11">CREATED (seuls les profils adminplus+ peuvent le faire)</span></p><p class="P38"> </p><ol><li><p class="P33" style="margin-left:0cm;"><span class="WW8Num8z0" style="display:block;float:left;min-width:0cm">(2)</span><span class="T12">Désarchiver </span><span class="T11">: consiste à rétrograder un matériel ARCHIVED ou TOBEARCHIVED dans le statut VALIDATED ou CREATED (adminplus+ only) ; utile en cas d'erreur</span><span class="odfLiEnd"/> </p></li></ol><p class="P31"> </p><ol><li><p class="P33" style="margin-left:0cm;"><span class="WW8Num8z0" style="display:block;float:left;min-width:0cm">(3)</span><span class="T12">Montée de statut groupée : </span><span class="T17">seul ADMIN peut (exporter tout ou partie de la liste des matériels, et) </span><span class="T12">augmenter (+1) le statut d'un groupe de matériels</span><span class="T17">, depuis la vue « index » (vue spéciale pour ADMIN, avec des cases à cocher et boutons pour exporter ou faire évoluer le statut)</span><span class="odfLiEnd"/> </p></li></ol><p class="P31"> </p><ol><li><p class="P32" style="margin-left:0cm;"><span class="WW8Num8z0" style="display:block;float:left;min-width:0cm">(4)</span>Edition des documents :<span class="odfLiEnd"/> </p></li></ol><p class="P38">Admission : quand on "VALIDE" un matériel "CREATED", le statut passe en VALIDATED et le document d'admission est automatiquement édité</p><p class="P38">Sortie : quand on "ARCHIVE" un document "TOBEARCHIVED", le statut passe en ARCHIVED et le document de sortie est automatiquement édité</p><p class="P38">De plus :</p><p class="P38">- Bouton "Doc admission" affiché à partir du statut "VALIDATED"</p><p class="P38">- Bouton "Doc Sortie" affiché à partir du statut TOBEARCHIVED (et donc aussi pour ARCHIVED)</p><p class="P38">Enfin, Le doc de sortie doit être couplée avec la liste des matériels a archiver (TOBEARCHIVED) quand il y a une demande de sortie.</p><p class="P38"> </p><p class="P39"> </p><p class="P20">C - sur les différentes VUES liées au matériel</p><p class="Standard"> </p><p class="Standard"><span class="T2">Page accueil </span><span class="T1">:</span></p><p class="P15"><span> Administration voit un menu avec 2 options :</span></p><ul><li><ul><li><ul><li><p class="P16" style="margin-left:0cm;"><span class="WW8Num2z0" style="display:block;float:left;min-width:0cm">.</span>« Voir les matériels à valider »<span class="odfLiEnd"/> </p></li><li><p class="P16" style="margin-left:0cm;"><span class="WW8Num2z0" style="display:block;float:left;min-width:0cm">.</span>« Voir les matériels à sortir de l'inventaire »<span class="odfLiEnd"/> </p></li></ul></li></ul></li></ul><p class="P15"> </p><p class="P20">Page Outils :</p><p class="P15">User n'a pas accès à cette page</p><p class="P15">Les autres ont quelques options</p><p class="P15">superadmin a ces options en plus :</p><ul><li><p class="P17" style="margin-left:0cm;"><span class="WW8Num4z0" style="display:block;float:left;min-width:0cm">.</span>Gérer les utilisateurs<span class="odfLiEnd"/> </p></li><li><p class="P17" style="margin-left:0cm;"><span class="WW8Num4z0" style="display:block;float:left;min-width:0cm">.</span>Passer en mode debug<span class="odfLiEnd"/> </p></li></ul><p class="P15"> </p><p class="Standard"><span class="T2">Vue materiel/index (liste) </span><span class="T1">: limiter aux </span><span class="T2">matériels actifs</span><span class="T1"> (non archivés)</span></p><ul><li><ul><li><p class="P18" style="margin-left:0cm;"><span class="WW8Num1z0" style="display:block;float:left;min-width:0cm">.</span>Administration voit des boutons pour filtrer par « tous », « à valider », « validés », « à sortir », « archivés »<span class="odfLiEnd"/> </p></li></ul></li></ul><p class="P15"> </p><p class="Standard"><span class="T2">Vue materiel/find </span><span class="T1">: limiter aux </span><span class="T2">matériels actifs</span><span class="T1"> (non archivés)</span></p><p class="P15"><span> Seul le profil Administration voit TOUS les matériels (y-compris archivés)</span></p><p class="P15"> </p><p class="Standard"><span class="T2">Vue materiel/view </span><span class="T1">:</span></p><p class="P15"><span> boutons « Imprimer Etiquettes » : admin et resp only</span></p><p class="P15"> </p><p class="Standard"><span class="T2">Vue materiel/edit </span><span class="T1">:</span></p><ul><li><p class="P19" style="margin-left:0cm;"><span class="WW8Num5z0" style="display:block;float:left;min-width:0cm">.</span>Etiquette O/N (administratif only)<span class="odfLiEnd"/> </p></li><li><p class="P19" style="margin-left:0cm;"><span class="WW8Num5z0" style="display:block;float:left;min-width:0cm">.</span>Statut (superadmin only)<span class="odfLiEnd"/> </p></li><li><p class="P19" style="margin-left:0cm;"><span class="WW8Num5z0" style="display:block;float:left;min-width:0cm">.</span>Informations administratives (administratif only)<span class="odfLiEnd"/> </p></li><li><p class="P19" style="margin-left:0cm;"><span class="WW8Num5z0" style="display:block;float:left;min-width:0cm">.</span>Numero ancien inventaire (superadmin only)<span class="odfLiEnd"/> </p></li></ul><p class="P15"> </p><p class="P15"> </p><p class="P20">D - sur un SUIVI et un EMPRUNT</p><p class="P20"> </p><ul><li><p class="P27" style="margin-left:0cm;"><span class="WW8Num3z0" style="display:block;float:left;min-width:0cm">.</span>Dans tous les cas, on ne doit pas pouvoir emprunter ou suivre un materiel non validé (CREATED)<span class="odfLiEnd"/> </p></li><li><p class="P27" style="margin-left:0cm;"><span class="WW8Num3z0" style="display:block;float:left;min-width:0cm">.</span>User a les droits C, R, U (si créateur), D (si créateur)<span class="odfLiEnd"/> </p></li><li><p class="P27" style="margin-left:0cm;"><span class="WW8Num3z0" style="display:block;float:left;min-width:0cm">.</span>Resp+ a les droits C, R, U, D<span class="odfLiEnd"/> </p></li></ul><p class="P29"><span class="T7">Un USER peut modifier/supprimer un emprunt dont il est soit le créateur soit l'emprunteur</span><span class="T21">.</span></p><p class="P34">Un USER qui créé un emprunt ne doit pas pouvoir changer le nom de l'emprunteur (par défaut, c'est lui). Ainsi, il pourra modifier/supprimer cette fiche au besoin plus tard. Par défaut donc, pour un user, emprunt.emprunteur=creator, materiel.responsable=creator</p><p class="P28"> </p><p class="P28"> </p><p class="P22">E - sur les UTILISATEURS</p><p class="P29"><span class="T5">Par défaut, superadmin a tous les droits, et les autres profils n'ont que le droit de lecture (</span><span class="T3">view </span><span class="T5">et </span><span class="T3">index</span><span class="T5">)</span></p><p class="P24"> </p><p class="P24"> </p><p class="P22">F - sur tous les autres objets métiers</p><p class="P24">Voici la liste des autres objets métiers :</p><ul><li><p class="P25" style="margin-left:0cm;"><span class="WW8Num7z0" style="display:block;float:left;min-width:0cm">.</span>Catégories (et domaines et sous-catégories)<span class="odfLiEnd"/> </p></li></ul><ul><li><p class="P26" style="margin-left:0cm;"><span class="WW8Num6z0" style="display:block;float:left;min-width:0cm">.</span>Groupes thématiques<span class="odfLiEnd"/> </p></li><li><p class="P26" style="margin-left:0cm;"><span class="WW8Num6z0" style="display:block;float:left;min-width:0cm">.</span>Groupes métiers<span class="odfLiEnd"/> </p></li></ul><p class="P29"><span class="T5">Par défaut, pour tous ces objets, superadmin a tous les droits, admin a tous les droits sauf « delete », et les autres profils n'ont que le droit de lecture (</span><span class="T3">view </span><span class="T5">et </span><span class="T3">index</span><span class="T5">)</span></p></body></html> | |
0 | 124 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,160 @@ |
1 | +<div class="index"> | |
2 | + <h2><i class="icon-print"></i> ETIQUETEUSES INSTALLEES </h2> | |
3 | + | |
4 | +<br/><br/> | |
5 | +<h3>REFERENCE DE L'ETIQUETEUSE (TITREUSE)</h3> | |
6 | +<hr/> | |
7 | + | |
8 | +<p> | |
9 | +Nom : "Imprimante d'étiquettes - Dymo - LabelManager PnP - USB" | |
10 | +</p> | |
11 | + | |
12 | +<p> | |
13 | +Prix : environ 50 € HT | |
14 | +</p> | |
15 | + | |
16 | +<p> | |
17 | +Ruban à commander : "D1 en 12mm" | |
18 | +</p> | |
19 | + | |
20 | +<p> | |
21 | +<a href="http://www.lyreco.com/webshop/P01/product/viewWithMoreResults/000000000004976543;jsessionid=0000IXKAG_s_jKOqnKptDrmJM2P:170lneimo?lc=FRBE">Lien chez Lyreco (Réf : 4.976.543)</a> | |
22 | +</p> | |
23 | + | |
24 | +<p> | |
25 | +<a href="http://www.officedepot.fr/a/pb/Imprimante-d-etiquettes-Dymo-PnP/pr=&id=5375844/">Lien chez OfficeDepot (Réf : 5375844)</a> | |
26 | +</p> | |
27 | + | |
28 | +<p> | |
29 | +<a href="http://global.dymo.com/frFR/Products/LabelManager_PnP.html">Lien chez le constructeur DYMO (Réf : S0915350)</a> | |
30 | +</p> | |
31 | + | |
32 | +<!-- http://book.cakephp.org/2.0/fr/core-libraries/helpers/html.html --> | |
33 | +<?= $this->Html->image('etiqueteuse.jpg', ['alt' => 'Image de l\'etiqueteuse Dymo - LabelManager PnP - USB']) ?> | |
34 | + | |
35 | +<pre> | |
36 | + Pas de logiciel ni de pilote à installer. Le logiciel intégré s’ouvre à l’écran, prêt à l’emploi. | |
37 | + Garantie 2 ans. | |
38 | + Fonctionne avec les rubans D1 6, 9 et 12 mm. | |
39 | + Petite et compacte, elle trouve facilement sa place sur un bureau. | |
40 | + Batterie lithium-ion fournie, rechargeable par USB - pas d’adaptateur secteur ni de piles. | |
41 | + Personnalisez vos étiquettes avec les polices et graphiques de votre ordinateur. | |
42 | + Connectez-là à votre PC ou Mac et imprimez instantanément et très facilement des étiquettes professionnelles ! | |
43 | + Connexion USB à votre PC ou Mac. | |
44 | +</pre> | |
45 | + | |
46 | +<br/> | |
47 | + | |
48 | +<p> | |
49 | +<a href="/files/DYMO PnP fiche technique.pdf">Fiche technique</a> | |
50 | +</p> | |
51 | + | |
52 | +<p> | |
53 | +<a href="/files/DYMO PnP Manuel.pdf">Manuel d'utilisation</a> | |
54 | +</p> | |
55 | + | |
56 | +<br/><br/> | |
57 | +<h3>LOGICIEL DLS (DYMO LABEL SOFTWARE) A INSTALLER</h3> | |
58 | +<hr/> | |
59 | + | |
60 | +<br/> | |
61 | +<p> | |
62 | +<a href="http://global.dymo.com/frFR/HowTo/LabelManager_PnP.html">Page d'aide et de documentation</a> | |
63 | +</p> | |
64 | + | |
65 | +<p> | |
66 | +<a href="http://www.dymo.com/en-US/online-support/dymo-user-guides">Téléchargement logiciel</a> | |
67 | +</p> | |
68 | + | |
69 | +<p> | |
70 | +<a href="http://global.dymo.com/ieIE/Software/LabelWriter_400.html">Autre lien pour le téléchargement</a> | |
71 | +</p> | |
72 | + | |
73 | + | |
74 | +<br/><br/><br/><br/> | |
75 | +<h3>ETIQUETEUSES INSTALLEES SUR LE LABORATOIRE</h3> | |
76 | +<hr/> | |
77 | + | |
78 | +<?php | |
79 | +//if ($localConfig['labName']=='IRAP') | |
80 | + | |
81 | +echo " | |
82 | + | |
83 | +<p> | |
84 | +<br/> | |
85 | +Dans l'idéal, il faudrait une étiqueteuse par gestionnaire financier : | |
86 | +</p> | |
87 | + | |
88 | + <b>SUR LE SITE ROCHE :</b> | |
89 | + <ul> | |
90 | + <li> | |
91 | + <b>Jean-Louis Lefort (site Roche 101)</b> ==> installée le 1/12/14 (pc8008, Windows 7 Pro 2009 SP1, version soft DLS 8.5.1) | |
92 | + <br/> | |
93 | + Aucun problème, installée sur lettre G: - laissé 1 ruban D1 12mm de 7m en plus du ruban installé (3m seulement) | |
94 | + <br/> | |
95 | + <i> | |
96 | + Pour info, ancienne installation faite sur son pc XP (23/5/14) (version soft DLS 8.5.1) | |
97 | + Problème : si le logiciel DLS (Dymo Label Soft) est déjà ouvert, ça provoque une erreur Windows. Il faut donc refermer le logiciel avant de demander l'impression d'un ruban | |
98 | + (c'est peut-être dû à cette version 8.5.1, la dernière version sortie, car sur l'ancienne version, je ne crois pas qu'il y ait cette erreur sur XP) | |
99 | + </i> | |
100 | + </li> | |
101 | + | |
102 | + <li> | |
103 | + <b>Dorine Roma (site Roche 102)</b> ==> installée le 1/12/14 (pc8006 Optiplex 7010, Windows 7 Pro 2009 SP1, version soft DLS 8.5.1) | |
104 | + <br/> | |
105 | + <i> | |
106 | + Installée sur lettre G: - ruban installé = 3m seulement | |
107 | + </i> | |
108 | + </li> | |
109 | + | |
110 | + <li> | |
111 | + <b>Carole Lecinana (site Roche 104)</b> ==> installée le 1/12/14 (pc8005 Optiplex 7010, Windows 7 Pro 2009 SP1, version soft DLS 8.5.1) | |
112 | + <br/> | |
113 | + <i> | |
114 | + Installée sur lettre G: - ruban installé = 3m seulement | |
115 | + </i> | |
116 | + </li> | |
117 | + | |
118 | + <li> | |
119 | + <b>Marjorie Cloup (site Roche 104)</b> ==> installée le 1/12/14 (pc8007 Optiplex 7010, Windows 7 Pro 2009 SP1, version soft DLS 8.5.1) | |
120 | + <br/> | |
121 | + <i> | |
122 | + Installée sur lettre G: - ruban installé = 3m seulement | |
123 | + </i> | |
124 | + </li> | |
125 | + </ul> | |
126 | + | |
127 | + <br/> | |
128 | + <b>SUR LE SITE BELIN :</b> | |
129 | + <ul> | |
130 | + <li> | |
131 | + <b>Carole Gaiti (site Belin 61)</b> ==> installée le 24/6/14 (pc Win 7 - version soft DLS 8.5.1) | |
132 | + </li> | |
133 | + | |
134 | + <li> | |
135 | + Dolores Granat (site Belin 80bis) ==> A FAIRE | |
136 | + </li> | |
137 | + | |
138 | + <li> | |
139 | + Isabelle Moro (site Belin B064) ==> A FAIRE | |
140 | + </li> | |
141 | + | |
142 | + <li> | |
143 | + De plus, Etienne Pallier (site Roche 63, Mac OS 10.7) et Elodie Bourrec (site Belin 59, Win 7) sont tous les deux équipés d'une étiqueteuse | |
144 | + </li> | |
145 | + | |
146 | + <li> | |
147 | + Enfin, l'étiqueteuse (ancienne) de Gilbert Rouaix (site Roche 19, Win XP) semble compatible puisqu'on a réussi à imprimer des étiquettes dessus. | |
148 | + </li> | |
149 | + | |
150 | + </ul> | |
151 | + | |
152 | +<p> | |
153 | +<br/> | |
154 | +Au total, ça fait donc 9. | |
155 | +</p> | |
156 | +"; | |
157 | +?> | |
158 | + | |
159 | +</div> | |
160 | + | |
0 | 161 | \ No newline at end of file | ... | ... |
src/Template/Pages/tools.ctp
... | ... | @@ -4,69 +4,74 @@ |
4 | 4 | <tr><th></th></tr> |
5 | 5 | <?php |
6 | 6 | |
7 | - echo '<tr><td>'; | |
8 | - echo $this->Html->link('Home debug (provisoire)', ['controller' => 'pages', 'action' => 'home_debug']); | |
9 | - echo '</td></tr>'; | |
10 | - | |
11 | - echo '<tr><td>'; | |
12 | - echo $this->Html->link('Voir les informations sur le système', array('controller'=>'pages', 'action'=>'infos')); | |
13 | - echo '</td></tr>'; | |
14 | - | |
15 | - /* TODO | |
16 | 7 | |
17 | 8 | echo '<tr><td>'; |
18 | - echo $this->Html->link('Gérer les utilisateurs privilégiés', array('controller' => 'utilisateurs', 'sort' => 'nom')); | |
9 | + echo $this->Html->link('Voir les Droits des utilisateurs (ACLs)', array('controller' => 'pages', 'action' => 'acls')); | |
19 | 10 | echo '</td></tr>'; |
20 | 11 | |
21 | 12 | echo '<tr><td>'; |
22 | - echo $this->Html->link('Voir les étiqueteuses installées', array('controller'=>'pages', 'action'=>'printers')); | |
13 | + echo $this->Html->link('Gérer les utilisateurs privilégiés', ['controller' => 'users', 'sort' => 'nom']); | |
23 | 14 | echo '</td></tr>'; |
24 | - | |
15 | + | |
25 | 16 | echo '<tr><td>'; |
26 | - echo $this->Html->link('Voir les Droits des utilisateurs (ACLs)', array('controller' => 'pages', 'action' => 'acls')); | |
17 | + echo $this->Html->link('Voir les étiqueteuses installées', array('controller'=>'pages', 'action'=>'printers')); | |
27 | 18 | echo '</td></tr>'; |
28 | 19 | |
29 | 20 | echo '<tr><td>'; |
30 | - echo $this->Html->link('Gérer les sites', array('controller' => 'sites', 'sort' => 'nom')); | |
21 | + echo $this->Html->link('Gérer les sites', ['controller' => 'sites', 'sort' => 'nom']); | |
31 | 22 | echo '</td></tr>'; |
32 | 23 | |
33 | 24 | echo '<tr><td>'; |
34 | - echo $this->Html->link('Gérer les organismes', array('controller' => 'organismes', 'sort' => 'nom')); | |
25 | + echo $this->Html->link('Gérer les organismes', ['controller' => 'organismes', 'sort' => 'nom']); | |
35 | 26 | echo '</td></tr>'; |
36 | 27 | |
37 | 28 | echo '<tr><td>'; |
38 | - echo $this->Html->link('Gérer les types de suivis', array('controller' => 'type_suivis', 'sort' => 'nom')); | |
29 | + echo $this->Html->link('Gérer les types de suivis', ['controller' => 'type_suivis', 'sort' => 'nom']); | |
39 | 30 | echo '</td></tr>'; |
40 | 31 | |
41 | 32 | echo '<tr><td>'; |
42 | - echo $this->Html->link('Gérer les domaines', array('controller' => 'sur_categories', 'sort' => 'nom')); | |
33 | + echo $this->Html->link('Gérer les domaines', ['controller' => 'sur_categories', 'sort' => 'nom']); | |
43 | 34 | echo '</td></tr>'; |
44 | 35 | |
45 | 36 | echo '<tr><td>'; |
46 | - echo $this->Html->link('Gérer les catégories', array('controller' => 'categories', 'sort' => 'nom')); | |
37 | + echo $this->Html->link('Gérer les catégories', ['controller' => 'categories', 'sort' => 'nom']); | |
47 | 38 | echo '</td></tr>'; |
48 | 39 | |
49 | 40 | echo '<tr><td>'; |
50 | - echo $this->Html->link('Gérer les sous-catégories', array('controller' => 'sous_categories', 'sort' => 'nom')); | |
41 | + echo $this->Html->link('Gérer les sous-catégories', ['controller' => 'sous_categories', 'sort' => 'nom']); | |
51 | 42 | echo '</td></tr>'; |
52 | 43 | |
53 | 44 | echo '<tr><td>'; |
54 | - echo $this->Html->link('Gérer les groupes thématiques', array('controller' => 'groupes_thematiques', 'sort' => 'nom')); | |
45 | + echo $this->Html->link('Gérer les groupes thématiques', ['controller' => 'groupes_thematiques', 'sort' => 'nom']); | |
55 | 46 | echo '</td></tr>'; |
56 | 47 | |
57 | 48 | echo '<tr><td>'; |
58 | - echo $this->Html->link('Gérer les groupes métiers', array('controller' => 'groupes_metiers', 'sort' => 'nom')); | |
49 | + echo $this->Html->link('Gérer les groupes métiers', ['controller' => 'groupes_metiers', 'sort' => 'nom']); | |
59 | 50 | echo '</td></tr>'; |
60 | 51 | |
52 | + /* | |
61 | 53 | echo '<tr><td>'; |
62 | 54 | echo $this->Html->link('Export de la liste des materiels actifs (format CSV)', array('controller' => 'materiels', 'action' => 'export')); |
63 | 55 | echo '</td></tr>'; |
64 | - | |
56 | + | |
65 | 57 | echo '<tr><td>'; |
66 | - echo $this->Html->link('Gérer les fichiers', array('controller' => 'fichiers', 'sort' => 'nom')); | |
58 | + echo $this->Html->link('Gérer les fichiers', array('controller' => 'documents', 'sort' => 'nom')); | |
67 | 59 | echo '</td></tr>'; |
68 | -*/ | |
60 | + */ | |
69 | 61 | |
62 | + echo '<tr><td>'; | |
63 | + echo $this->Html->link('Home debug (provisoire)', ['controller' => 'pages', 'action' => 'home_debug']); | |
64 | + echo '</td></tr>'; | |
65 | + | |
66 | + echo '<tr><td>'; | |
67 | + echo $this->Html->link('Voir les informations sur le système', ['controller'=>'pages', 'action'=>'infos']); | |
68 | + echo '</td></tr>'; | |
69 | + | |
70 | + /* | |
71 | + * A implémenter : | |
72 | + * Mode debug | |
73 | + */ | |
74 | + | |
70 | 75 | ?> |
71 | 76 | </table> |
72 | 77 | </div> | ... | ... |
src/Template/Sites/index.ctp
1 | 1 | |
2 | -<div class="sites index large-9 medium-8 columns content"> | |
3 | - <h3><?= __('Sites') ?></h3> | |
2 | +<div class="sites index"> | |
3 | +<?php echo '<h2><i class="icon-list"></i> Liste des sites</h2>'; ?> | |
4 | 4 | <table cellpadding="0" cellspacing="0"> |
5 | 5 | <thead> |
6 | 6 | <tr> |
7 | - <th><?= $this->Paginator->sort('id') ?></th> | |
8 | - <th><?= $this->Paginator->sort('nom') ?></th> | |
9 | - <th class="actions"><?= __('Actions') ?></th> | |
7 | + <th><?= $this->Paginator->sort('nom', 'Nom') ?></th> | |
8 | + <th class="actions"><?= __('') ?></th> | |
10 | 9 | </tr> |
11 | 10 | </thead> |
12 | 11 | <tbody> |
13 | 12 | <?php foreach ($sites as $site): ?> |
14 | 13 | <tr> |
15 | - <td><?= $this->Number->format($site->id) ?></td> | |
16 | - <td><?= h($site->nom) ?></td> | |
17 | - <td class="actions"> | |
18 | - <?= $this->Html->link(__('View'), ['action' => 'view', $site->id]) ?> | |
19 | - <?= $this->Html->link(__('Edit'), ['action' => 'edit', $site->id]) ?> | |
20 | - <?= $this->Form->postLink(__('Delete'), ['action' => 'delete', $site->id], ['confirm' => __('Are you sure you want to delete # {0}?', $site->id)]) ?> | |
14 | + <td><?= $this->Html->link($site->nom, ['action' => 'view', $site->id]) ?></td> | |
15 | + | |
16 | + <td class="actions" style="padding: 6px 0;"> | |
17 | + <?= $this->Html->link(__('<i class="icon-eye-open"></i>'), ['action' => 'view', $site->id], ['title' => 'Visualiser', 'style' => 'margin: 0 2px', 'escape' => false ]) ?> | |
18 | + <?= $this->Html->link(__('<i class="icon-pencil"></i>'), ['action' => 'edit', $site->id], ['title' => 'Editer', 'style' => 'margin: 0 2px', 'escape' => false ]) ?> | |
19 | + <?= $this->Form->postLink(__('<i class="icon-trash"></i>'), ['action' => 'delete', $site->id], ['title' => 'Supprimer', 'style' => 'margin: 0 2px', 'escape' => false, 'confirm' => __('Êtes-vous sur de vouloir supprimer # {0}?', $site->id)]) ?> | |
21 | 20 | </td> |
21 | + | |
22 | 22 | </tr> |
23 | 23 | <?php endforeach; ?> |
24 | 24 | </tbody> |
25 | 25 | </table> |
26 | - <div class="paginator"> | |
27 | - <ul class="pagination"> | |
28 | - <?= $this->Paginator->prev('< ' . __('previous')) ?> | |
29 | - <?= $this->Paginator->numbers() ?> | |
30 | - <?= $this->Paginator->next(__('next') . ' >') ?> | |
31 | - </ul> | |
32 | - <p><?= $this->Paginator->counter() ?></p> | |
26 | + | |
27 | + <h3><?= $this->Paginator->counter(['format' => 'Page {{page}} sur {{pages}}']) ?></h3> | |
28 | + | |
29 | + <div class="paging"> | |
30 | + <?= $this->Paginator->prev('< ' . __(''), ['class' => 'prev disabled']) ?> | |
31 | + <?= $this->Paginator->numbers(['separator' => '']) ?> | |
32 | + <?= $this->Paginator->next(__('') . ' >', ['class' => 'next disabled']) ?> | |
33 | 33 | </div> |
34 | + | |
34 | 35 | </div> | ... | ... |
src/Template/SousCategories/index.ctp
1 | 1 | |
2 | -<div class="sousCategories index large-9 medium-8 columns content"> | |
3 | - <h3><?= __('Sous Categories') ?></h3> | |
2 | +<div class="sousCategories index"> | |
3 | +<?php echo '<h2><i class="icon-list"></i> Liste des sous-catégories</h2>'; ?> | |
4 | 4 | <table cellpadding="0" cellspacing="0"> |
5 | 5 | <thead> |
6 | 6 | <tr> |
7 | - <th><?= $this->Paginator->sort('id') ?></th> | |
8 | - <th><?= $this->Paginator->sort('nom') ?></th> | |
9 | - <th><?= $this->Paginator->sort('categorie_id') ?></th> | |
10 | - <th class="actions"><?= __('Actions') ?></th> | |
7 | + <th><?= $this->Paginator->sort('nom', 'Nom') ?></th> | |
8 | + <th><?= $this->Paginator->sort('categorie_id', 'Catégorie') ?></th> | |
9 | + <th class="actions"><?= __('') ?></th> | |
11 | 10 | </tr> |
12 | 11 | </thead> |
13 | 12 | <tbody> |
14 | 13 | <?php foreach ($sousCategories as $sousCategory): ?> |
15 | 14 | <tr> |
16 | - <td><?= $this->Number->format($sousCategory->id) ?></td> | |
17 | - <td><?= h($sousCategory->nom) ?></td> | |
18 | - <td><?= $sousCategory->has('category') ? $this->Html->link($sousCategory->category->id, ['controller' => 'Categories', 'action' => 'view', $sousCategory->category->id]) : '' ?></td> | |
19 | - <td class="actions"> | |
20 | - <?= $this->Html->link(__('View'), ['action' => 'view', $sousCategory->id]) ?> | |
21 | - <?= $this->Html->link(__('Edit'), ['action' => 'edit', $sousCategory->id]) ?> | |
22 | - <?= $this->Form->postLink(__('Delete'), ['action' => 'delete', $sousCategory->id], ['confirm' => __('Are you sure you want to delete # {0}?', $sousCategory->id)]) ?> | |
15 | + <td><?= $this->Html->link($sousCategory->nom, ['action' => 'view', $sousCategory->id]) ?></td> | |
16 | + <td><?= $sousCategory->has('category') ? $this->Html->link($sousCategory->category->nom, ['controller' => 'Categories', 'action' => 'view', $sousCategory->category->id]) : '' ?></td> | |
17 | + | |
18 | + <td class="actions" style="padding: 6px 0;"> | |
19 | + <?= $this->Html->link(__('<i class="icon-eye-open"></i>'), ['action' => 'view', $sousCategory->id], ['title' => 'Visualiser', 'style' => 'margin: 0 2px', 'escape' => false ]) ?> | |
20 | + <?= $this->Html->link(__('<i class="icon-pencil"></i>'), ['action' => 'edit', $sousCategory->id], ['title' => 'Editer', 'style' => 'margin: 0 2px', 'escape' => false ]) ?> | |
21 | + <?= $this->Form->postLink(__('<i class="icon-trash"></i>'), ['action' => 'delete', $sousCategory->id], ['title' => 'Supprimer', 'style' => 'margin: 0 2px', 'escape' => false, 'confirm' => __('Êtes-vous sur de vouloir supprimer # {0}?', $sousCategory->id)]) ?> | |
23 | 22 | </td> |
23 | + | |
24 | 24 | </tr> |
25 | 25 | <?php endforeach; ?> |
26 | 26 | </tbody> |
27 | 27 | </table> |
28 | - <div class="paginator"> | |
29 | - <ul class="pagination"> | |
30 | - <?= $this->Paginator->prev('< ' . __('previous')) ?> | |
31 | - <?= $this->Paginator->numbers() ?> | |
32 | - <?= $this->Paginator->next(__('next') . ' >') ?> | |
33 | - </ul> | |
34 | - <p><?= $this->Paginator->counter() ?></p> | |
28 | + | |
29 | + <h3><?= $this->Paginator->counter(['format' => 'Page {{page}} sur {{pages}}']) ?></h3> | |
30 | + | |
31 | + <div class="paging" style="color: black;"> | |
32 | + <?= $this->Paginator->first('<< ' . __(''), ['class' => 'prev']) ?> | |
33 | + <?= $this->Paginator->prev('< ' . __(''), ['class' => 'prev disabled']) ?> | |
34 | + <?= $this->Paginator->numbers(['separator' => '']) ?> | |
35 | + <?= $this->Paginator->next(__('') . ' >', ['class' => 'next disabled']) ?> | |
36 | + <?= $this->Paginator->last(__('') . ' >>', ['class' => 'next']) ?> | |
35 | 37 | </div> |
38 | + | |
36 | 39 | </div> | ... | ... |
src/Template/SurCategories/index.ctp
1 | 1 | |
2 | -<div class="surCategories index large-9 medium-8 columns content"> | |
3 | - <h3><?= __('Sur Categories') ?></h3> | |
2 | +<div class="surCategories index"> | |
3 | +<?php echo '<h2><i class="icon-list"></i> Liste des domaines</h2>'; ?> | |
4 | 4 | <table cellpadding="0" cellspacing="0"> |
5 | 5 | <thead> |
6 | 6 | <tr> |
7 | - <th><?= $this->Paginator->sort('id') ?></th> | |
8 | - <th><?= $this->Paginator->sort('nom') ?></th> | |
9 | - <th class="actions"><?= __('Actions') ?></th> | |
7 | + <th><?= $this->Paginator->sort('nom', 'Nom') ?></th> | |
8 | + <th class="actions"><?= __('') ?></th> | |
10 | 9 | </tr> |
11 | 10 | </thead> |
12 | 11 | <tbody> |
13 | 12 | <?php foreach ($surCategories as $surCategory): ?> |
14 | 13 | <tr> |
15 | - <td><?= $this->Number->format($surCategory->id) ?></td> | |
16 | - <td><?= h($surCategory->nom) ?></td> | |
17 | - <td class="actions"> | |
18 | - <?= $this->Html->link(__('View'), ['action' => 'view', $surCategory->id]) ?> | |
19 | - <?= $this->Html->link(__('Edit'), ['action' => 'edit', $surCategory->id]) ?> | |
20 | - <?= $this->Form->postLink(__('Delete'), ['action' => 'delete', $surCategory->id], ['confirm' => __('Are you sure you want to delete # {0}?', $surCategory->id)]) ?> | |
14 | + <td><?= $this->Html->link($surCategory->nom, ['action' => 'view', $surCategory->id]) ?></td> | |
15 | + | |
16 | + <td class="actions" style="padding: 6px 0;"> | |
17 | + <?= $this->Html->link(__('<i class="icon-eye-open"></i>'), ['action' => 'view', $surCategory->id], ['title' => 'Visualiser', 'style' => 'margin: 0 2px', 'escape' => false ]) ?> | |
18 | + <?= $this->Html->link(__('<i class="icon-pencil"></i>'), ['action' => 'edit', $surCategory->id], ['title' => 'Editer', 'style' => 'margin: 0 2px', 'escape' => false ]) ?> | |
19 | + <?= $this->Form->postLink(__('<i class="icon-trash"></i>'), ['action' => 'delete', $surCategory->id], ['title' => 'Supprimer', 'style' => 'margin: 0 2px', 'escape' => false, 'confirm' => __('Êtes-vous sur de vouloir supprimer # {0}?', $surCategory->id)]) ?> | |
21 | 20 | </td> |
22 | 21 | </tr> |
23 | 22 | <?php endforeach; ?> |
24 | 23 | </tbody> |
25 | 24 | </table> |
26 | - <div class="paginator"> | |
27 | - <ul class="pagination"> | |
28 | - <?= $this->Paginator->prev('< ' . __('previous')) ?> | |
29 | - <?= $this->Paginator->numbers() ?> | |
30 | - <?= $this->Paginator->next(__('next') . ' >') ?> | |
31 | - </ul> | |
32 | - <p><?= $this->Paginator->counter() ?></p> | |
25 | + | |
26 | + <h3><?= $this->Paginator->counter(['format' => 'Page {{page}} sur {{pages}}']) ?></h3> | |
27 | + | |
28 | + <div class="paging"> | |
29 | + <?= $this->Paginator->prev('< ' . __(''), ['class' => 'prev disabled']) ?> | |
30 | + <?= $this->Paginator->numbers(['separator' => '']) ?> | |
31 | + <?= $this->Paginator->next(__('') . ' >', ['class' => 'next disabled']) ?> | |
33 | 32 | </div> |
33 | + | |
34 | 34 | </div> | ... | ... |
src/Template/TypeSuivis/index.ctp
1 | 1 | |
2 | -<div class="typeSuivis index large-9 medium-8 columns content"> | |
3 | - <h3><?= __('Type Suivis') ?></h3> | |
2 | +<div class="typeSuivis index"> | |
3 | +<?php echo '<h2><i class="icon-list"></i> Liste des types suivis</h2>'; ?> | |
4 | 4 | <table cellpadding="0" cellspacing="0"> |
5 | 5 | <thead> |
6 | 6 | <tr> |
7 | - <th><?= $this->Paginator->sort('id') ?></th> | |
8 | - <th><?= $this->Paginator->sort('nom') ?></th> | |
9 | - <th class="actions"><?= __('Actions') ?></th> | |
7 | + <th><?= $this->Paginator->sort('nom', 'Nom') ?></th> | |
8 | + <th class="actions"><?= __('') ?></th> | |
10 | 9 | </tr> |
11 | 10 | </thead> |
12 | 11 | <tbody> |
13 | 12 | <?php foreach ($typeSuivis as $typeSuivi): ?> |
14 | 13 | <tr> |
15 | - <td><?= $this->Number->format($typeSuivi->id) ?></td> | |
16 | - <td><?= h($typeSuivi->nom) ?></td> | |
17 | - <td class="actions"> | |
18 | - <?= $this->Html->link(__('View'), ['action' => 'view', $typeSuivi->id]) ?> | |
19 | - <?= $this->Html->link(__('Edit'), ['action' => 'edit', $typeSuivi->id]) ?> | |
20 | - <?= $this->Form->postLink(__('Delete'), ['action' => 'delete', $typeSuivi->id], ['confirm' => __('Are you sure you want to delete # {0}?', $typeSuivi->id)]) ?> | |
14 | + <td><?= $this->Html->link($typeSuivi->nom, ['action' => 'view', $typeSuivi->id]) ?></td> | |
15 | + | |
16 | + <td class="actions" style="padding: 6px 0;"> | |
17 | + <?= $this->Html->link(__('<i class="icon-eye-open"></i>'), ['action' => 'view', $typeSuivi->id], ['title' => 'Visualiser', 'style' => 'margin: 0 2px', 'escape' => false ]) ?> | |
18 | + <?= $this->Html->link(__('<i class="icon-pencil"></i>'), ['action' => 'edit', $typeSuivi->id], ['title' => 'Editer', 'style' => 'margin: 0 2px', 'escape' => false ]) ?> | |
19 | + <?= $this->Form->postLink(__('<i class="icon-trash"></i>'), ['action' => 'delete', $typeSuivi->id], ['title' => 'Supprimer', 'style' => 'margin: 0 2px', 'escape' => false, 'confirm' => __('Êtes-vous sur de vouloir supprimer # {0}?', $typeSuivi->id)]) ?> | |
21 | 20 | </td> |
21 | + | |
22 | 22 | </tr> |
23 | 23 | <?php endforeach; ?> |
24 | 24 | </tbody> |
25 | 25 | </table> |
26 | - <div class="paginator"> | |
27 | - <ul class="pagination"> | |
28 | - <?= $this->Paginator->prev('< ' . __('previous')) ?> | |
29 | - <?= $this->Paginator->numbers() ?> | |
30 | - <?= $this->Paginator->next(__('next') . ' >') ?> | |
31 | - </ul> | |
32 | - <p><?= $this->Paginator->counter() ?></p> | |
26 | + | |
27 | + <h3><?= $this->Paginator->counter(['format' => 'Page {{page}} sur {{pages}}']) ?></h3> | |
28 | + | |
29 | + <div class="paging"> | |
30 | + <?= $this->Paginator->prev('< ' . __(''), ['class' => 'prev disabled']) ?> | |
31 | + <?= $this->Paginator->numbers(['separator' => '']) ?> | |
32 | + <?= $this->Paginator->next(__('') . ' >', ['class' => 'next disabled']) ?> | |
33 | 33 | </div> |
34 | + | |
34 | 35 | </div> | ... | ... |
src/Template/Users/index.ctp
1 | 1 | |
2 | -<div class="users index large-9 medium-8 columns content"> | |
3 | - <h3><?= __('Users') ?></h3> | |
2 | +<div class="users index"> | |
3 | +<?php echo '<h2><i class="icon-list"></i> Liste des utilisateurs privilégiés</h2>'; ?> | |
4 | 4 | <table cellpadding="0" cellspacing="0"> |
5 | 5 | <thead> |
6 | 6 | <tr> |
7 | - <th><?= $this->Paginator->sort('id') ?></th> | |
8 | 7 | <th><?= $this->Paginator->sort('nom') ?></th> |
9 | - <th><?= $this->Paginator->sort('username') ?></th> | |
10 | - <th><?= $this->Paginator->sort('password') ?></th> | |
11 | - <th><?= $this->Paginator->sort('email') ?></th> | |
12 | 8 | <th><?= $this->Paginator->sort('role') ?></th> |
13 | 9 | <th><?= $this->Paginator->sort('groupes_metier_id') ?></th> |
14 | - <th class="actions"><?= __('Actions') ?></th> | |
10 | + <th class="actions"><?= __('') ?></th> | |
15 | 11 | </tr> |
16 | 12 | </thead> |
17 | 13 | <tbody> |
18 | 14 | <?php foreach ($users as $user): ?> |
19 | 15 | <tr> |
20 | - <td><?= $this->Number->format($user->id) ?></td> | |
21 | - <td><?= h($user->nom) ?></td> | |
22 | - <td><?= h($user->username) ?></td> | |
23 | - <td><?= h($user->password) ?></td> | |
24 | - <td><?= h($user->email) ?></td> | |
16 | + <td><?= $this->Html->link($user->nom, ['action' => 'view', $user->id]) ?></td> | |
25 | 17 | <td><?= h($user->role) ?></td> |
26 | - <td><?= $user->has('groupes_metier') ? $this->Html->link($user->groupes_metier->id, ['controller' => 'GroupesMetiers', 'action' => 'view', $user->groupes_metier->id]) : '' ?></td> | |
27 | - <td class="actions"> | |
28 | - <?= $this->Html->link(__('View'), ['action' => 'view', $user->id]) ?> | |
29 | - <?= $this->Html->link(__('Edit'), ['action' => 'edit', $user->id]) ?> | |
30 | - <?= $this->Form->postLink(__('Delete'), ['action' => 'delete', $user->id], ['confirm' => __('Are you sure you want to delete # {0}?', $user->id)]) ?> | |
18 | + <td><?= $user->has('groupes_metier') ? h($user->groupes_metier->nom) : '' ?></td> | |
19 | + | |
20 | + <td class="actions" style="padding: 6px 0;"> | |
21 | + <?= $this->Html->link(__('<i class="icon-eye-open"></i>'), ['action' => 'view', $user->id], ['title' => 'Visualiser', 'style' => 'margin: 0 2px', 'escape' => false ]) ?> | |
22 | + <?= $this->Html->link(__('<i class="icon-pencil"></i>'), ['action' => 'edit', $user->id], ['title' => 'Editer', 'style' => 'margin: 0 2px', 'escape' => false ]) ?> | |
23 | + <?= $this->Form->postLink(__('<i class="icon-trash"></i>'), ['action' => 'delete', $user->id], ['title' => 'Supprimer', 'style' => 'margin: 0 2px', 'escape' => false, 'confirm' => __('Êtes-vous sur de vouloir supprimer # {0}?', $user->id)]) ?> | |
31 | 24 | </td> |
25 | + | |
32 | 26 | </tr> |
33 | 27 | <?php endforeach; ?> |
34 | 28 | </tbody> |
35 | 29 | </table> |
36 | - <div class="paginator"> | |
37 | - <ul class="pagination"> | |
38 | - <?= $this->Paginator->prev('< ' . __('previous')) ?> | |
39 | - <?= $this->Paginator->numbers() ?> | |
40 | - <?= $this->Paginator->next(__('next') . ' >') ?> | |
41 | - </ul> | |
42 | - <p><?= $this->Paginator->counter() ?></p> | |
30 | + | |
31 | + <h3><?= $this->Paginator->counter(['format' => 'Page {{page}} sur {{pages}}']) ?></h3> | |
32 | + | |
33 | + <div class="paging"> | |
34 | + <?= $this->Paginator->prev('< ' . __(''), ['class' => 'prev disabled']) ?> | |
35 | + <?= $this->Paginator->numbers(['separator' => '']) ?> | |
36 | + <?= $this->Paginator->next(__('') . ' >', ['class' => 'next disabled']) ?> | |
43 | 37 | </div> |
38 | + | |
44 | 39 | </div> | ... | ... |