tegarkurniawan

View

Oct 11th, 2014
275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.93 KB | None | 0 0
  1. <div class="page-content-wrapper">
  2. <div class="page-content">
  3. <div class="portlet box red">
  4. <div class="portlet-title">
  5. <div class="caption">
  6. <i class="fa fa-edit"></i>Portofolio
  7. </div>
  8. <div class="tools">
  9. <a href="javascript:;" class="collapse">
  10. </a>
  11. </div>
  12. </div>
  13. <div class="portlet-body">
  14. <div class="table-toolbar">
  15. <div class="btn-group">
  16.  
  17. <a href="Create">
  18. <button id="sample_editable_1_new" class="btn green">
  19. Add New <i class="fa fa-plus"></i>
  20. </button></a>
  21. </div>
  22. </div>
  23. <table class="table table-striped table-hover table-bordered" id="sample_editable_1">
  24. <table class="dataTable table table-striped table-hover table-bordered" id="allan">
  25. <thead>
  26. <tr>
  27. <td>Name</td>
  28. <td>Picture</td>
  29. <td>Deskripsi</td>
  30. <td>User</td>
  31. <td>Aksi</td>
  32. </tr>
  33. </thead>
  34. <tbody>
  35. <tr class="gradeX">
  36. <?php foreach ($data as $model):?>
  37. <tr>
  38. <td><?php echo $model->name;?></td>
  39. <td><?php echo CHtml::image(Yii::app()->request->baseUrl.'/images/'.$model->picture.'','',array('width'=>150));?></td>
  40. <td><?php echo $model->description;?></td>
  41. <td><?php echo $model->user->username;?></td>
  42. <td><?php echo CHtml::link(CHtml::encode('Update'),array('update','id'=>$model->portofolio_id)); ?> | <?php echo CHtml::link(CHtml::encode('Delete'),array('Delete','id'=>$model->portofolio_id)); ?></td>
  43. </tr>
  44. <?php endforeach;?>
  45. </tbody></table>
  46. </table>
  47. </div>
  48. </div>
  49.  
  50. </div>
  51. </div>
Advertisement
Add Comment
Please, Sign In to add comment