Advertisement
Guest User

Untitled

a guest
Nov 21st, 2014
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 4.58 KB | None | 0 0
  1. <title>ScrumIT - Tâches</title>
  2.  
  3. <?php
  4. $this->load->view("template/header_view");
  5. $this->load->view("template/nav_view");
  6. ?>
  7.  
  8. <div id="page-wrapper">
  9.     <div class="row">
  10.         <div style="width:800px; margin:0 auto;" class="col-lg-12">
  11.             <h1 class = "page-header">Sprint <?php echo $idSprint; ?></small></h1>
  12.         </div>
  13.     </div><!-- /.row -->
  14.  
  15.         <div style="width:800px; margin:0 auto;" class="col-lg-12">
  16.             <div class="table-responsive">
  17.                 <table class="table table-hover tablesorter">
  18.                     <thead>
  19.                     <tr>
  20.                         <th class="header">Nom <i class="fa fa-sort"></i></th>
  21.                         <th class="header">Description <i class="fa fa-sort"></i></th>
  22.                         <th class="header">Dépendance <i class="fa fa-sort"></i></th>
  23.                         <th class="header">coût <i class="fa fa-sort"></i></th>
  24.                         <th class="header">us <i class="fa fa-sort"></i></th>
  25.                         <th class="header">test <i class="fa fa-sort"></i></th>
  26.  
  27.  
  28.                     </tr>
  29.                     </thead>
  30.  
  31.  
  32.                     <tbody>
  33.                     <div class="container">
  34.                         <header>
  35.                         </header>
  36.                         <section>
  37.                             <div id="container_icons" >
  38.                                 <div id="wrapper">
  39.                                         <h1>Tâches</h1>
  40.  
  41.                                         <p>
  42.                                             <?php
  43.  
  44.                                            //$hidden1 = array('url' => 'backlog/updateUS', 'idPro' => $idPro, 'idUS' => null);
  45.                                             foreach ($tasksInfo as $row) {
  46.  
  47.                                                 echo '<tr><td>'.$row['nameTask'] .
  48.                                                     '</td><td>' . $row['descriptionTask'];
  49.  
  50.  
  51.                                                 if($row['tasksDepend'] != null) {
  52.                                                     echo '</td><td>';
  53.                                                     foreach ($row['tasksDepend'] as $row2) {
  54.                                                         echo  $row2['nameTaskDepend'] . ', ';
  55.                                                     }
  56.                                                 }
  57.                                                 else
  58.                                                     echo '</td><td>' . '-';
  59.                                                 echo
  60.                                                     '</td><td>' . $row['costTask'];
  61.  
  62.                                                 if($row['usDepend'] != null) {
  63.                                                     echo '</td><td>';
  64.                                                     foreach ($row['usDepend'] as $row2) {
  65.                                                         echo $row2['nameUS'] . ', ';
  66.                                                     }
  67.                                                 }
  68.                                                 else
  69.                                                     echo '</td><td>' . '-';
  70.  
  71.                                                 echo '</td><td>'.$row['is_test'];
  72.  
  73.                                                 echo
  74.                                                     '</td><td> <a href='. base_url().'tasks/setTask/' .$idPro. '/' .$idSprint. '/' . '/' .$row['idTask']. ' class="btn btn-primary btn-xs"> Modifier</a> '.
  75.                                                     '<a href='. base_url().'tasks/deleteTask/' .$idPro. '/' .$idSprint. '/' .$row['idTask']. ' class="btn btn-danger btn-xs"> Supprimer</a>'.
  76.                                                     '</td></tr>';
  77.                                             }
  78.                                             ?>
  79.                                         </p>
  80.                                         <br>
  81.                                         <?php
  82.  
  83.                                        echo form_open('tasks/setTask/' .$idPro. '/' .$idSprint. '/0');
  84.                                        echo form_submit('addB', "Ajouter une Tache", 'class="btn btn-primary btn-xs');
  85.  
  86.                                        ?>
  87.  
  88.  
  89.                                     </div>
  90.                                 </div>
  91.                         </section>
  92.                     </div>
  93.                     </tbody>
  94.                 </div>
  95.             </div>
  96. </div>
  97.  
  98.  
  99. <?php $this->load->view("template/footer_view");?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement