browse.html.php 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?php
  2. /**
  3. * The browse view file of dimension module of ZenTaoPMS.
  4. *
  5. * @copyright Copyright 2009-2022 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
  6. * @license ZPL (http://zpl.pub/page/zplv12.html)
  7. * @author Chenxuan Song <1097180981@qq.com>
  8. * @package dimension
  9. * @version $Id: browse.html.php 4129 2022-11-1 10:28:02Z $
  10. * @link http://www.zentao.net
  11. */
  12. ?>
  13. <?php include $app->getModuleRoot() . 'common/view/header.html.php';?>
  14. <?php include $app->getModuleRoot() . 'common/view/tablesorter.html.php';?>
  15. <div id='mainMenu' class='clearfix'>
  16. <div class="btn-toolbar pull-right">
  17. <?php common::printLink('dimension', 'create', "", "<i class='icon icon-plus'></i> " . $lang->dimension->create, '', "class='iframe btn btn-primary'", true, true);?>
  18. </div>
  19. </div>
  20. <div id="mainContent" class='main-table'>
  21. <table class="table" id='deminsionList'>
  22. <thead>
  23. <tr>
  24. <th class="w-id"><?php echo $lang->idAB;?></th>
  25. <th class="w-250px"><?php echo $lang->dimension->name;?></th>
  26. <th class="w-250px"><?php echo $lang->dimension->code;?></th>
  27. <th class="c-desc"><?php echo $lang->dimension->desc;?></th>
  28. <th class="c-actions-2"><?php echo $lang->actions;?></th>
  29. </tr>
  30. </thead>
  31. <tbody>
  32. <?php foreach($dimensions as $dimension):?>
  33. <tr>
  34. <td><?php echo $dimension->id;?></td>
  35. <td class="text-ellipsis" title="<?php echo $dimension->name;?>"><?php echo $dimension->name;?></td>
  36. <td class="text-ellipsis" title="<?php echo $dimension->code;?>"><?php echo $dimension->code;?></td>
  37. <td class="text-ellipsis" title='<?php echo $dimension->desc;?>'><?php echo $dimension->desc;?></td>
  38. <td class='c-actions'>
  39. <?php common::printIcon('dimension', 'edit', "id=$dimension->id", $dimension, 'list', '', '', 'btn iframe showinonlybody', true);?>
  40. <?php common::printIcon('dimension', 'delete', "id=$dimension->id", $dimension, 'list', 'trash', 'hiddenwin');?>
  41. </td>
  42. </tr>
  43. <?php endforeach;?>
  44. </tbody>
  45. </table>
  46. </div>
  47. <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>