Advertisement
Guest User

Untitled

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