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.

144 lines
8.7 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.OfficeTemplate_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/line-icons/simple-line-icons.css" rel="stylesheet" type="text/css" />
  15. <link href="/Scripts/plugins/uniform/css/uniform.default.min.css" rel="stylesheet" />
  16. <link href="/Scripts/plugins/toastr/toastr.min.css" rel="stylesheet" type="text/css" />
  17. <link href="/Scripts/3rd/jquery.filer/jquery.filer.css" rel="stylesheet" />
  18. <link href="/Scripts/3rd/jquery.filer/jquery.filer-dragdropbox-theme.css" rel="stylesheet" />
  19. <link href="/Scripts/3rd/datetimepicker-addon/jquery-ui-timepicker-addon.min.css" rel="stylesheet" />
  20. <link href="/Content/modern.min.css" rel="stylesheet" />
  21. <link href="/Content/custom.min.css" rel="stylesheet" type="text/css" />
  22. <link href="/Content/themes/red.css" rel="stylesheet" type="text/css" />
  23. <link href="/Content/style2.0.css" rel="stylesheet" type="text/css" />
  24. <style>
  25. .jFiler-input-dragDrop {
  26. margin-left: 0;
  27. width: 150px;
  28. height: 100px;
  29. font-size: 56px;
  30. }
  31. .jFiler-input-dragDrop:hover {
  32. margin-left: 0;
  33. width: 150px;
  34. height: 100px;
  35. font-size: 56px;
  36. border-color: #225067;
  37. color: #225067;
  38. cursor: pointer;
  39. }
  40. .table_box tr td:last-child {
  41. padding-top: 15px;
  42. }
  43. </style>
  44. </head>
  45. <body>
  46. <div class="page-inner">
  47. <div class="page-title">
  48. </div>
  49. <div id="Toolbar">
  50. </div>
  51. <div id="main-wrapper">
  52. <div class="row">
  53. <div class="panel-info">
  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="OfficeTemplate_Upd.TemplID">模版ID</span></label>
  58. <div class="col-sm-3">
  59. <input type="text" class="form-control w100p" name="TemplID" id="TemplID" maxlength="50" required data-msg="OfficeTemplate_Upd.TemplID_required" datamsg="請輸入模版ID">
  60. </div>
  61. </div>
  62. <div class="form-group">
  63. <label class="col-sm-2 control-label wright" for="input-Default"><b class="t-red">*</b><span data-i18n="OfficeTemplate_Upd.TemplName">模版名稱</span></label>
  64. <div class="col-sm-6">
  65. <input name="TemplName" id="TemplName" class="form-control w100p" maxlength="100" required data-msg="OfficeTemplate_Upd.TemplName_required" datamsg="請輸入模版ID" />
  66. </div>
  67. </div>
  68. <div class="form-group">
  69. <label class="col-sm-2 control-label wright" for="input-Default"><span data-i18n="OfficeTemplate_Upd.TemplPath">模版路徑</span></label>
  70. <div class="col-sm-6">
  71. <input name="TemplPath" id="TemplPath" class="form-control w100p" maxlength="100" value="Document\EurotranFile\OfficeTemplate" />
  72. </div>
  73. </div>
  74. <div class="form-group">
  75. <label class="col-sm-2 control-label wright" for="input-Default"><span data-i18n="OfficeTemplate_Upd.TemplKeys">模版參數</span></label>
  76. <div class="col-sm-8">
  77. <div>
  78. <table class="table table-bordered">
  79. <thead>
  80. <tr>
  81. <th>#</th>
  82. <th data-i18n="OfficeTemplate_Upd.TemplKey">參數key</th>
  83. <th data-i18n="OfficeTemplate_Upd.TemplKeyValue">參數key值</th>
  84. <th data-i18n="OfficeTemplate_Upd.TemplKeyName">參數說明</th>
  85. <th data-i18n="common.Memo">備註</th>
  86. <th data-i18n="common.Action">操作</th>
  87. </tr>
  88. </thead>
  89. <tbody id="table_box"></tbody>
  90. </table>
  91. </div>
  92. <div class="col-md-12 wright">
  93. <button type="button" class="btn-custom plustemplkey blue" title="新增參數"><i class="fa fa-plus"></i></button>
  94. </div>
  95. </div>
  96. </div>
  97. <div class="form-group">
  98. <label class="col-sm-2 control-label wright" for="input-Default"><span data-i18n="OfficeTemplate_Upd.FileID">模版附件</span></label>
  99. <div class="col-sm-8">
  100. <input type="file" class="displayNone" name="files[]" id="fileInput" multiple>
  101. </div>
  102. </div>
  103. <div class="form-group">
  104. <label class="col-sm-2 control-label wright" for="input-Default"><span data-i18n="common.Memo">備註</span></label>
  105. <div class="col-sm-8">
  106. <textarea name="Memo" id="Memo" class="form-control" rows="5" cols="20"></textarea>
  107. </div>
  108. </div>
  109. <div class="form-group">
  110. <label class="col-sm-2 control-label"><span data-i18n="common.CreateUser">創建人</span></label>
  111. <div class="col-sm-3">
  112. <div class="form-control-static" name="CreateUserName" id="CreateUserName"></div>
  113. </div>
  114. <label class="col-sm-2 control-label"><span data-i18n="common.CreateDate">創建時間</span></label>
  115. <div class="col-sm-3">
  116. <div class="form-control-static" name="CreateDate" id="CreateDate"></div>
  117. </div>
  118. </div>
  119. <div class="form-group">
  120. <label class="col-sm-2 control-label"><span data-i18n="common.ModifyUser">最新修改人</span></label>
  121. <div class="col-sm-3">
  122. <div class="form-control-static" name="ModifyUserName" id="ModifyUserName"></div>
  123. </div>
  124. <label class="col-sm-2 control-label"><span data-i18n="common.ModifyDate">最新修改時間</span></label>
  125. <div class="col-sm-3">
  126. <div class="form-control-static" name="ModifyDate" id="ModifyDate"></div>
  127. </div>
  128. </div>
  129. </form>
  130. </div>
  131. </div>
  132. </div>
  133. </div>
  134. </div>
  135. </body>
  136. </html>
  137. <script src="/Scripts/loadjs.min.js"></script>
  138. <script src="/Scripts/JSLoader.js?v=20180801"></script>
  139. <script src="/Scripts/3rd/jquery-2.1.3.min.js"></script>
  140. <script src="/Scripts/3rd/layer/layui/layui.all.min.js"></script>
  141. <script src="/Scripts/pages/Sys/OfficeTemplate_Upd.js?v=20180801"></script>