Browse Source

identifiants de page

Hugo Roy 8 years ago
parent
commit
8e907c39a6

+ 3 - 0
templates/tpl-create-edit-dossier.php

@@ -2,6 +2,9 @@
 include_once 'templates/tpl-main-top.php';
 ?>
 
+<body id="create-edit-dossier-<?php echo $o['rowid']; ?>" class="page-create-edit-dossier">
+
+
 <h1><?php echo $o['rowid'] ? "Éditer « {$o['name']} »" : 'Créer un dossier'; ?></h1>
 
 <div class="éditer">

+ 2 - 0
templates/tpl-create-edit-project.php

@@ -2,6 +2,8 @@
 include_once 'templates/tpl-main-top.php';
 ?>
 
+<body id="create-edit-project-<?php echo $o['rowid']; ?>" class="page-create-edit-project">
+
 <h1><?php echo $o['rowid'] ? "Éditer le projet « {$o['name']} »" : 'Créer un projet'; ?></h1>
 
 <div class="éditer">

+ 1 - 0
templates/tpl-index.php

@@ -2,6 +2,7 @@
 include_once 'templates/tpl-main-top.php';
 ?>
 
+<body id="index">
 
     <h1>Presse à Citron</h1>
 

+ 0 - 1
templates/tpl-main-top.php

@@ -17,4 +17,3 @@
       <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
     <![endif]-->
   </head>
-  <body id="index">

+ 2 - 0
templates/tpl-view-dossier.php

@@ -2,6 +2,8 @@
 include_once 'templates/tpl-main-top.php';
 ?>
 
+<body id="view-dossier-<?php echo $o['rowid']; ?>" class="page-view-dossier">
+
 <h1 class="app titre">Dossier « <?php echo $o['name']; ?> »</h1>
 
 <div class="métadonnées">

+ 2 - 0
templates/tpl-view-project.php

@@ -2,6 +2,8 @@
 include_once 'templates/tpl-main-top.php';
 ?>
 
+<body id="view-project-<?php echo $o['rowid']; ?>" class="page-view-project">
+
     <h1 class="app titre"><?php echo $o['name']; ?></h1>
 
     <div class="métadonnées">