You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

200 lines
13 KiB

2 years ago
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <meta http-equiv="Expires" content="0">
  6. <meta http-equiv="Pragma" content="no-cache">
  7. <meta http-equiv="Cache-control" content="no-cache">
  8. <meta http-equiv="Cache" content="no-cache">
  9. <title data-i18n="common.ProgramMaintain_Upd">系統程式編輯</title>
  10. <link href="/Content/googleapis.css" rel="stylesheet" type='text/css' />
  11. <link href="/Scripts/plugins/jquery-ui/jquery-ui.min.css" rel="stylesheet" type="text/css" />
  12. <link href="/Scripts/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
  13. <link href="/Scripts/plugins/fontawesome/css/font-awesome.css" rel="stylesheet" type="text/css" />
  14. <link href="/Scripts/plugins/uniform/css/uniform.default.min.css" rel="stylesheet" />
  15. <link href="/Scripts/plugins/toastr/toastr.min.css" rel="stylesheet" type="text/css" />
  16. <link href="/Scripts/3rd/Spectrum/spectrum.css" rel="stylesheet" />
  17. <link href="/Scripts/3rd/jGrid/jsgrid.min.css" rel="stylesheet" />
  18. <link href="/Scripts/3rd/jGrid/jsgrid-theme.min.css" rel="stylesheet" />
  19. <link href="/Content/modern.min.css" rel="stylesheet" />
  20. <link href="/Content/custom.min.css" rel="stylesheet" type="text/css" />
  21. <link href="/Content/themes/red.css" rel="stylesheet" type="text/css" />
  22. <link href="/Content/style2.0.css" rel="stylesheet" type="text/css" />
  23. <style type="text/css">
  24. .divModule {
  25. width: 300px;
  26. height: auto;
  27. border: 1px solid #e1dede;
  28. min-height: 30px;
  29. float: left;
  30. }
  31. .ModuleList li {
  32. list-style: none; /* 将默认的列表符号去掉 */
  33. padding: 0; /* 将默认的内边距去掉 */
  34. margin: 0px 0px 0px -25px; /* 将默认的外边距去掉 */
  35. /*float: left;*/ /* 往左浮动 */
  36. text-align: left;
  37. }
  38. .btn-xs {
  39. padding: 1px 5px;
  40. }
  41. </style>
  42. </head>
  43. <body>
  44. <div class="page-inner">
  45. <!--程式名稱及Toobar區 Start -->
  46. <div class="page-title">
  47. </div>
  48. <div id="Toolbar">
  49. </div>
  50. <!--程式名稱及Toobar區 End -->
  51. <div id="main-wrapper">
  52. <div class="row">
  53. <!-- 頁面內容區域 Start -->
  54. <div class="panel-body">
  55. <form id="form_main" class="form-horizontal">
  56. <div class="form-group">
  57. <label class="col-sm-2 control-label wright" for="input-Default"><b class="t-red">*</b><span data-i18n="common.ProgramID">程式編號</span></label>
  58. <div class="col-sm-3">
  59. <input type="text" class="form-control w100p" name="ProgramID" id="ProgramID" maxlength="100" required data-msg="ProgramMaintain_Upd.ProgramID_required" datamsg="請輸入程式編號">
  60. <p>
  61. <span class="help-block" data-i18n="ProgramMaintain_Upd.HelpBlock">程式檔名不包含檔案副檔名(abc.html--&gt;abc)</span>
  62. </p>
  63. </div>
  64. <label class="col-sm-2 control-label wright" for="input-Default"><b class="t-red">*</b><span data-i18n="common.ModuleName">模組名稱</span></label>
  65. <div class="col-sm-3">
  66. <div class="divModule w100p">
  67. <ul class="ModuleList"></ul>
  68. </div>
  69. <input id="ModuleID" name="ModuleID" type="hidden" required data-msg="ProgramMaintain_Upd.ModuleID_required" datamsg="請選擇模組" />
  70. </div>
  71. <div class="col-sm-1">
  72. <button type="button" class="btn btn-success" id="btnData"><i class="fa fa-search"></i></button>
  73. </div>
  74. </div>
  75. <div class="form-group">
  76. <label class="col-sm-2 control-label wright"><b class="t-red">*</b><span data-i18n="common.ProgramName">程式名稱</span></label>
  77. <div class="col-sm-3">
  78. <input type="text" class="form-control w100p" name="ProgramName" id="ProgramName" maxlength="100" required data-msg="ProgramMaintain_Upd.ProgramName_required" datamsg="請輸入程式名稱">
  79. </div>
  80. <label class="col-sm-2 control-label wright"><span data-i18n="ProgramMaintain_Upd.MainTableName">主要表格</span></label>
  81. <div class="col-sm-3">
  82. <input type="text" class="form-control w100p" name="MainTableName" id="MainTableName" maxlength="50">
  83. </div>
  84. </div>
  85. <div class="form-group">
  86. <label class="col-sm-2 control-label wright"><span data-i18n="ProgramMaintain_Upd.FilePath">檔案路徑</span></label>
  87. <div class="col-sm-3">
  88. <input type="text" class="form-control w100p" id="FilePath" name="FilePath" maxlength="500" />
  89. </div>
  90. <label class="col-sm-2 control-label wright" for="input-Default"><span data-i18n="ProgramMaintain_Upd.BackgroundCSS">項目顏色</span></label>
  91. <div class="col-sm-3">
  92. <input type="text" class="form-control color-picker" name="BackgroundCSS" id="BackgroundCSS" value="#000000">
  93. </div>
  94. </div>
  95. <div class="form-group">
  96. <label class="col-sm-2 control-label wright"><span data-i18n="ProgramMaintain_Upd.ProgramoFauthority">程式可用權限</span></label>
  97. <div class="col-sm-8">
  98. <table style="width: 30%">
  99. <tr>
  100. <td class="w50p">
  101. <select size="10" name="lstLeft" id="lstLeft" class="form-control w100p" multiple></select>
  102. </td>
  103. <td>
  104. <p>
  105. <button type="button" id="btnToRight" class="btn-custom btn-xs"><i class="fa fa-chevron-right"></i></button>
  106. </p>
  107. <p>
  108. <button type="button" id="btnToLeft" class="btn-custom btn-xs"><i class="fa fa-chevron-left"></i></button>
  109. </p>
  110. </td>
  111. <td class="w50p">
  112. <select size="10" name="lstRight" id="lstRight" class="form-control w100p" multiple></select>
  113. </td>
  114. </tr>
  115. </table>
  116. </div>
  117. </div>
  118. <div class="form-group">
  119. <label class="col-sm-2 control-label wright"><span data-i18n="ProgramMaintain_Upd.ProgramType">程式類別</span></label>
  120. <div class="col-sm-3">
  121. <input id="ProgramType_0" type="radio" name="ProgramType" value="P" checked="checked" />
  122. <label for="ProgramType_0" data-i18n="ProgramMaintain_Upd.listitemvalueprogram">程式</label>
  123. <input id="ProgramType_1" type="radio" name="ProgramType" value="R" />
  124. <label for="ProgramType_1" data-i18n="ProgramMaintain_Upd.listitemvaluereport">報表</label>
  125. <input id="ProgramType_2" type="radio" name="ProgramType" value="S" />
  126. <label for="ProgramType_2" data-i18n="ProgramMaintain_Upd.listitemvaluesub">子程式</label>
  127. </div>
  128. <label class="col-sm-2 control-label wright"><span data-i18n="ProgramMaintain_Upd.Effective">程式狀態</span></label>
  129. <div class="col-sm-3">
  130. <input id="Effective_0" type="radio" name="Effective" value="Y" checked="checked" />
  131. <label for="Effective_0" data-i18n="common.Enable">啟用</label>
  132. <input id="Effective_1" type="radio" name="Effective" value="N" />
  133. <label for="Effective_1" data-i18n="common.Disable">停用</label>
  134. <input id="Effective_2" type="radio" name="Effective" value="W" />
  135. <label for="Effective_2" data-i18n="common.InMaintenance">維修中</label>
  136. </div>
  137. </div>
  138. <div class="form-group">
  139. <label class="col-sm-2 control-label wright"><span data-i18n="ProgramMaintain_Upd.ShowInList">顯示於選單</span></label>
  140. <div class="col-sm-3">
  141. <input id="ShowInList_0" type="radio" name="ShowInList" value="Y" checked="checked" />
  142. <label for="ShowInList_0" data-i18n="ProgramMaintain_Upd.listitemvalueyes">顯示</label>
  143. <input id="ShowInList_1" type="radio" name="ShowInList" value="N" />
  144. <label for="ShowInList_1" data-i18n="ProgramMaintain_Upd.listitemvalueno">不顯示</label>
  145. </div>
  146. <label class="col-sm-2 control-label wright"><span data-i18n="ProgramMaintain_Upd.ShowInHome">顯示於首頁</span></label>
  147. <div class="col-sm-3">
  148. <input id="ShowInHome_0" type="radio" name="ShowInHome" value="Y" checked="checked" />
  149. <label for="ShowInHome_0" data-i18n="ProgramMaintain_Upd.listitemvalueyes">顯示</label>
  150. <input id="ShowInHome_1" type="radio" name="ShowInHome" value="N" />
  151. <label for="ShowInHome_1" data-i18n="ProgramMaintain_Upd.listitemvalueno">不顯示</label>
  152. </div>
  153. </div>
  154. <div class="form-group">
  155. <label class="col-sm-2 control-label wright"><span data-i18n="ProgramMaintain_Upd.ShowTop">是否顯示於頂層</span></label>
  156. <div class="col-sm-8">
  157. <input type="checkbox" id="ShowTop" name="ShowTop">
  158. </div>
  159. </div>
  160. <div class="form-group">
  161. <label class="col-sm-2 control-label"><span data-i18n="common.Memo">備註</span></label>
  162. <div class="col-sm-8">
  163. <textarea name="Memo" id="Memo" class="form-control" rows="5" cols="20"></textarea>
  164. </div>
  165. </div>
  166. <div class="form-group">
  167. <label class="col-sm-2 control-label"><span data-i18n="common.CreateUser">創建人</span></label>
  168. <div class="col-sm-3">
  169. <div class="form-control-static" name="CreateUserName" id="CreateUserName"></div>
  170. </div>
  171. <label class="col-sm-2 control-label"><span data-i18n="common.CreateDate">創建時間</span></label>
  172. <div class="col-sm-3">
  173. <div class="form-control-static" name="CreateDate" id="CreateDate"></div>
  174. </div>
  175. </div>
  176. <div class="form-group">
  177. <label class="col-sm-2 control-label"><span data-i18n="common.ModifyUser">最新修改人</span></label>
  178. <div class="col-sm-3">
  179. <div class="form-control-static" name="ModifyUserName" id="ModifyUserName"></div>
  180. </div>
  181. <label class="col-sm-2 control-label"><span data-i18n="common.ModifyDate">最新修改時間</span></label>
  182. <div class="col-sm-3">
  183. <div class="form-control-static" name="ModifyDate" id="ModifyDate"></div>
  184. </div>
  185. </div>
  186. </form>
  187. </div>
  188. <!-- 頁面內容區域 End -->
  189. </div>
  190. </div>
  191. </div>
  192. </body>
  193. </html>
  194. <script src="/Scripts/loadjs.min.js"></script>
  195. <script src="/Scripts/JSLoader.js?v=20180801"></script>
  196. <script src="/Scripts/3rd/jquery-2.1.3.min.js"></script>
  197. <script src="/Scripts/3rd/layer/layui/layui.all.min.js"></script>
  198. <script src="/Scripts/pages/Sys/ProgramMaintain_Upd.js?v=20180801"></script>