track.html.php 4.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <?php
  2. /**
  3. * The track of risk module of ZenTaoPMS.
  4. *
  5. * @copyright Copyright 2009-2020 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.cnezsoft.com)
  6. * @license ZPL(http://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
  7. * @author Yuchun Li <liyuchun@cnezsoft.com>
  8. * @package risk
  9. * @version $Id: track.html.php 4903 2020-09-04 09:32:59Z lyc $
  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/kindeditor.html.php';?>
  15. <div id="mainContent" class="main-content fade">
  16. <div class="center-block">
  17. <div class="main-header">
  18. <h2><?php echo $lang->risk->track;?></h2>
  19. </div>
  20. <form class="load-indicator main-form form-ajax" method='post' enctype='multipart/form-data' id='dataform'>
  21. <table class="table table-form">
  22. <tbody>
  23. <tr>
  24. <th><?php echo $lang->risk->isChange;?></th>
  25. <td><?php echo html::radio('isChange', $lang->risk->isChangeList, 0, "onclick=refreshPage(this)");?></td>
  26. <td></td>
  27. </tr>
  28. <tr class='track hidden'>
  29. <th><?php echo $lang->risk->name;?></th>
  30. <td><?php echo html::input('name', $risk->name, "class='form-control'");?></td>
  31. </tr>
  32. <tr class='track hidden'>
  33. <th><?php echo $lang->risk->category;?></th>
  34. <td><?php echo html::select('category', $lang->risk->categoryList, $risk->category, "class='form-control chosen'");?></td>
  35. </tr>
  36. <tr class='track hidden'>
  37. <th><?php echo $lang->risk->strategy;?></th>
  38. <td><?php echo html::select('strategy', $lang->risk->strategyList, $risk->strategy, "class='form-control chosen'");?></td>
  39. </tr>
  40. <tr class='track hidden'>
  41. <th><?php echo $lang->risk->impact;?></th>
  42. <td><?php echo html::select('impact', $lang->risk->impactList, $risk->impact, "class='form-control chosen'");?></td>
  43. </tr>
  44. <tr class='track hidden'>
  45. <th><?php echo $lang->risk->probability;?></th>
  46. <td><?php echo html::select('probability', $lang->risk->probabilityList, $risk->probability, "class='form-control chosen'");?></td>
  47. </tr>
  48. <tr class='track hidden'>
  49. <th><?php echo $lang->risk->rate;?></th>
  50. <td><?php echo html::input('rate', $risk->rate, "class='form-control'");?></td>
  51. </tr>
  52. <tr class='track hidden'>
  53. <th><?php echo $lang->risk->pri;?></th>
  54. <td id='priValue'><?php echo html::select('pri', $lang->risk->priList, $risk->pri, "class='form-control chosen'");?></td>
  55. </tr>
  56. <tr class='track hidden'>
  57. <th><?php echo $lang->risk->trackedBy;?></th>
  58. <td><?php echo html::select('trackedBy', $users, $this->app->user->account, "class='form-control chosen'");?></td>
  59. </tr>
  60. <tr class='track hidden'>
  61. <th><?php echo $lang->risk->trackedDate;?></th>
  62. <td><?php echo html::input('trackedDate', $risk->trackedDate == '0000-00-00' ? helper::today() : $risk->trackedDate , "class='form-control form-date'");?></td>
  63. </tr>
  64. <tr class='track hidden'>
  65. <th><?php echo $lang->risk->prevention;?></th>
  66. <td colspan='2'><?php echo html::textarea('prevention', $risk->prevention, "class='form-control'");?></td>
  67. </tr>
  68. <tr class='track hidden'>
  69. <th><?php echo $lang->risk->resolution;?></th>
  70. <td colspan='2'><?php echo html::textarea('resolution', $risk->resolution, "class='form-control'");?></td>
  71. </tr>
  72. <tr class='not-track'>
  73. <th><?php echo $lang->comment;?></th>
  74. <td colspan='2'><?php echo html::textarea('comment', '', "class='form-control'");?></td>
  75. </tr>
  76. <tr>
  77. <td colspan='3' class='form-actions text-center'>
  78. <?php echo html::submitButton() . html::backButton();?>
  79. </td>
  80. </tr>
  81. </tbody>
  82. </table>
  83. </form>
  84. </div>
  85. </div>
  86. <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>