create.html.php 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <?php
  2. /**
  3. * The create view file of workflow module of ZDOO.
  4. *
  5. * @copyright Copyright 2009-2020 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
  6. * @license 商业软件,非开源软件
  7. * @author Dongdong Jia <jiadongdong@easycorp.ltd>
  8. * @package workflow
  9. * @version $Id$
  10. * @link http://www.zdoo.com
  11. */
  12. ?>
  13. <?php include '../../common/view/header.modal.html.php';?>
  14. <form id="ajaxForm" method='post' action='<?php echo inlink('create', "module=$module");?>'>
  15. <table class='table table-form'>
  16. <tr>
  17. <th class='w-80px'><?php echo $lang->workflowreport->name;?></th>
  18. <td><?php echo html::input('name', '', "class='form-control'");?></td>
  19. <td class='w-40px'></td>
  20. </tr>
  21. <tr>
  22. <th><?php echo $lang->workflowreport->type;?></th>
  23. <td><?php echo html::radio('type', $lang->workflowreport->iconList, 'pie');?></td>
  24. <td></td>
  25. </tr>
  26. <tr>
  27. <th><?php echo $lang->workflowreport->countType;?></th>
  28. <td><?php echo html::radio('countType', $lang->workflowreport->countTypeList, 'sum');?></td>
  29. <td></td>
  30. </tr>
  31. <tr>
  32. <th><?php echo $lang->workflowreport->displayType;?></th>
  33. <td><?php echo html::radio('displayType', $lang->workflowreport->displayTypeList, 'value');?></td>
  34. <td></td>
  35. </tr>
  36. <tr>
  37. <th><?php echo $lang->workflowreport->dimension;?></th>
  38. <td>
  39. <div class="input-group">
  40. <?php echo html::select('dimension', $dimension, '', "class='form-control chosen'");?>
  41. <span class="input-group-addon fix-border fix-padding"></span>
  42. <?php echo html::select('granularity', $lang->workflowreport->granularityList, 'month', "class='form-control chosen'");?>
  43. </div>
  44. </td>
  45. <td></td>
  46. </tr>
  47. <tr>
  48. <th><?php echo $lang->workflowreport->fields;?></th>
  49. <td><div id='fieldsSelect'><?php echo html::select('fields[]', $fields, '', "class='form-control chosen'");?></div></td>
  50. <td></td>
  51. </tr>
  52. <tr>
  53. <th></th>
  54. <td class='form-actions'><?php echo html::submitButton();?></td>
  55. <td></td>
  56. </tr>
  57. </table>
  58. </form>
  59. <?php js::set('controlPairs', $controlPairs);?>
  60. <?php include '../../common/view/footer.modal.html.php';?>