editrisk.html.php 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <?php
  2. /**
  3. * The edit of risk module of ZenTaoPMS.
  4. *
  5. * @copyright Copyright 2009-2021 禅道软件(青岛)有限公司(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 Qiyu Xie <xieqiyu@cnezsoft.com>
  8. * @package assetlib
  9. * @version $Id: edit.html.php 4903 2020-09-04 09:32:59Z wyd621@gmail.com $
  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->assetlib->editRisk;?></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->name;?></th>
  25. <td><?php echo html::input('name', $risk->name, "class='form-control' required");?></td>
  26. <td></td>
  27. <td></td>
  28. </tr>
  29. <tr>
  30. <th><?php echo $lang->risk->category;?></th>
  31. <td><?php echo html::select('category', $lang->risk->categoryList, $risk->category, "class='form-control chosen'");?></td>
  32. </tr>
  33. <tr>
  34. <th><?php echo $lang->risk->strategy;?></th>
  35. <td><?php echo html::select('strategy', $lang->risk->strategyList, $risk->strategy, "class='form-control chosen'");?></td>
  36. </tr>
  37. <tr>
  38. <th><?php echo $lang->risk->impact;?></th>
  39. <td><?php echo html::select('impact', $lang->risk->impactList, $risk->impact, "class='form-control chosen'");?></td>
  40. </tr>
  41. <tr>
  42. <th><?php echo $lang->risk->probability;?></th>
  43. <td><?php echo html::select('probability', $lang->risk->probabilityList, $risk->probability, "class='form-control chosen'");?></td>
  44. </tr>
  45. <tr>
  46. <th><?php echo $lang->risk->rate;?></th>
  47. <td><?php echo html::input('rate', $risk->rate, "class='form-control'");?></td>
  48. </tr>
  49. <tr>
  50. <th><?php echo $lang->risk->pri;?></th>
  51. <td id='priValue'><?php echo html::select('pri', $lang->risk->priList, $risk->pri, "class='form-control chosen'");?></td>
  52. </tr>
  53. <tr>
  54. <th><?php echo $lang->risk->prevention;?></th>
  55. <td colspan='2'><?php echo html::textarea('prevention', $risk->prevention, "class='form-control'");?></td>
  56. </tr>
  57. <tr>
  58. <th><?php echo $lang->risk->remedy;?></th>
  59. <td colspan='2'><?php echo html::textarea('remedy', $risk->remedy, "class='form-control'");?></td>
  60. </tr>
  61. <tr>
  62. <th><?php echo $lang->risk->resolution;?></th>
  63. <td colspan='2'><?php echo html::textarea('resolution', $risk->resolution, "class='form-control'");?></td>
  64. </tr>
  65. <tr>
  66. <td colspan='3' class='form-actions text-center'>
  67. <?php echo html::submitButton() . html::backButton();?>
  68. </td>
  69. </tr>
  70. </tbody>
  71. </table>
  72. </form>
  73. </div>
  74. </div>
  75. <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>