潘志宝
8 天以前 f3de04db06bae67537d093017e28863ee685f8a3
提交 | 用户 | 时间
e7c126 1 <!DOCTYPE html>
H 2 <html>
3 <head>
4       <#import "../common/common.macro.ftl" as netCommon>
5     <@netCommon.commonStyle />
6     <!-- DataTables -->
7       <link rel="stylesheet" href="${request.contextPath}/static/adminlte/bower_components/datatables.net-bs/css/dataTables.bootstrap.min.css">
8     <title>${I18n.admin_name}</title>
9 </head>
10 <body class="hold-transition skin-blue sidebar-mini <#if cookieMap?exists && cookieMap["xxljob_adminlte_settings"]?exists && "off" == cookieMap["xxljob_adminlte_settings"].value >sidebar-collapse</#if> ">
11 <div class="wrapper">
12     <!-- header -->
13     <@netCommon.commonHeader />
14     <!-- left -->
15     <@netCommon.commonLeft "jobgroup" />
16     
17     <!-- Content Wrapper. Contains page content -->
18     <div class="content-wrapper">
19         <!-- Content Header (Page header) -->
20         <section class="content-header">
21             <h1>${I18n.jobgroup_name}</h1>
22         </section>
23
24         <!-- Main content -->
25         <section class="content">
26
27             <div class="row">
28                 <div class="col-xs-3">
29                     <div class="input-group">
30                         <span class="input-group-addon">AppName</span>
31                         <input type="text" class="form-control" id="appname" placeholder="${I18n.system_please_input}AppName" >
32                     </div>
33                 </div>
34                 <div class="col-xs-3">
35                     <div class="input-group">
36                         <span class="input-group-addon">${I18n.jobgroup_field_title}</span>
37                         <input type="text" class="form-control" id="title" placeholder="${I18n.jobgroup_field_title}" >
38                     </div>
39                 </div>
40                 <div class="col-xs-2">
41                     <button class="btn btn-block btn-info" id="searchBtn">${I18n.system_search}</button>
42                 </div>
43                 <div class="col-xs-2">
44                     <button class="btn btn-block btn-success add" type="button">${I18n.jobinfo_field_add}</button>
45                 </div>
46             </div>
47             
48             <div class="row">
49                 <div class="col-xs-12">
50                     <div class="box">
51                         <div class="box-body">
52                               <table id="jobgroup_list" class="table table-bordered table-striped display" width="100%" >
53                                 <thead>
54                                     <tr>
55                                         <th name="id" >ID</th>
56                                         <th name="appname" >AppName</th>
57                                         <th name="title" >${I18n.jobgroup_field_title}</th>
58                                         <th name="addressType" >${I18n.jobgroup_field_addressType}</th>
59                                         <th name="registryList" >OnLine ${I18n.jobgroup_field_registryList}</th>
60                                         <th>${I18n.system_opt}</th>
61                                     </tr>
62                                 </thead>
63                                 <tbody>
64                                 </tbody>
65                             </table>
66                         </div>
67                     </div>
68                 </div>
69             </div>
70         </section>
71     </div>
72
73     <!-- 注册列表查看.模态框 -->
74     <div class="modal fade" id="showRegistryListModal" tabindex="-1" role="dialog"  aria-hidden="true">
75         <div class="modal-dialog modal-sm">
76             <div class="modal-content">
77                 <div class="modal-header">
78                     <h4 class="modal-title" >${I18n.jobinfo_opt_registryinfo}</h4>
79                 </div>
80                 <div class="modal-body">
81                     <div class="data" style="word-wrap: break-word;"></div>
82                 </div>
83                 <div class="modal-footer">
84                     <div class="text-center" >
85                         <button type="button" class="btn btn-info ok" data-dismiss="modal" >${I18n.system_ok}</button>
86                     </div>
87                 </div>
88             </div>
89         </div>
90     </div>
91
92     <!-- 新增.模态框 -->
93     <div class="modal fade" id="addModal" tabindex="-1" role="dialog"  aria-hidden="true">
94         <div class="modal-dialog ">
95             <div class="modal-content">
96                 <div class="modal-header">
97                     <h4 class="modal-title" >${I18n.jobgroup_add}</h4>
98                 </div>
99                 <div class="modal-body">
100                     <form class="form-horizontal form" role="form" >
101                         <div class="form-group">
102                             <label for="lastname" class="col-sm-2 control-label">AppName<font color="red">*</font></label>
103                             <div class="col-sm-10"><input type="text" class="form-control" name="appname" placeholder="${I18n.system_please_input}AppName" maxlength="64" ></div>
104                         </div>
105                         <div class="form-group">
106                             <label for="lastname" class="col-sm-2 control-label">${I18n.jobgroup_field_title}<font color="red">*</font></label>
107                             <div class="col-sm-10"><input type="text" class="form-control" name="title" placeholder="${I18n.system_please_input}${I18n.jobgroup_field_title}" maxlength="12" ></div>
108                         </div>
109                         <div class="form-group">
110                             <label for="lastname" class="col-sm-2 control-label">${I18n.jobgroup_field_addressType}<font color="red">*</font></label>
111                             <div class="col-sm-10">
112                                 <input type="radio" name="addressType" value="0" checked />${I18n.jobgroup_field_addressType_0}
113                                 &nbsp;&nbsp;&nbsp;&nbsp;
114                                 <input type="radio" name="addressType" value="1" />${I18n.jobgroup_field_addressType_1}
115                             </div>
116                         </div>
117                         <div class="form-group">
118                             <label for="lastname" class="col-sm-2 control-label">${I18n.jobgroup_field_registryList}<font color="red">*</font></label>
119                             <div class="col-sm-10">
120                                 <textarea class="textarea" name="addressList" maxlength="20000" placeholder="${I18n.jobgroup_field_registryList_placeholder}" readonly="readonly" style="background-color:#eee; width: 100%; height: 100px; font-size: 14px; line-height: 15px; border: 1px solid #dddddd; padding: 5px;"></textarea>
121                             </div>
122                         </div>
123                         <hr>
124                         <div class="form-group">
125                             <div class="col-sm-offset-3 col-sm-6">
126                                 <button type="submit" class="btn btn-primary"  >${I18n.system_save}</button>
127                                 <button type="button" class="btn btn-default" data-dismiss="modal">${I18n.system_cancel}</button>
128                             </div>
129                         </div>
130                     </form>
131                 </div>
132             </div>
133         </div>
134     </div>
135
136     <!-- 更新.模态框 -->
137     <div class="modal fade" id="updateModal" tabindex="-1" role="dialog"  aria-hidden="true">
138         <div class="modal-dialog ">
139             <div class="modal-content">
140                 <div class="modal-header">
141                     <h4 class="modal-title" >${I18n.jobgroup_edit}</h4>
142                 </div>
143                 <div class="modal-body">
144                     <form class="form-horizontal form" role="form" >
145                         <div class="form-group">
146                             <label for="lastname" class="col-sm-2 control-label">AppName<font color="red">*</font></label>
147                             <div class="col-sm-10"><input type="text" class="form-control" name="appname" placeholder="${I18n.system_please_input}AppName" maxlength="64" ></div>
148                         </div>
149                         <div class="form-group">
150                             <label for="lastname" class="col-sm-2 control-label">${I18n.jobgroup_field_title}<font color="red">*</font></label>
151                             <div class="col-sm-10"><input type="text" class="form-control" name="title" placeholder="${I18n.system_please_input}${I18n.jobgroup_field_title}" maxlength="12" ></div>
152                         </div>
153                         <div class="form-group">
154                             <label for="lastname" class="col-sm-2 control-label">${I18n.jobgroup_field_addressType}<font color="red">*</font></label>
155                             <div class="col-sm-10">
156                                 <input type="radio" name="addressType" value="0" />${I18n.jobgroup_field_addressType_0}
157                                 &nbsp;&nbsp;&nbsp;&nbsp;
158                                 <input type="radio" name="addressType" value="1" />${I18n.jobgroup_field_addressType_1}
159                             </div>
160                         </div>
161                         <div class="form-group">
162                             <label for="lastname" class="col-sm-2 control-label">${I18n.jobgroup_field_registryList}<font color="red">*</font></label>
163                             <div class="col-sm-10">
164                                 <textarea class="textarea" name="addressList" maxlength="20000" placeholder="${I18n.jobgroup_field_registryList_placeholder}" readonly="readonly" style="background-color:#eee; width: 100%; height: 100px; font-size: 14px; line-height: 15px; border: 1px solid #dddddd; padding: 5px;"></textarea>
165                             </div>
166                         </div>
167                         <hr>
168                         <div class="form-group">
169                             <div class="col-sm-offset-3 col-sm-6">
170                                 <button type="submit" class="btn btn-primary"  >${I18n.system_save}</button>
171                                 <button type="button" class="btn btn-default" data-dismiss="modal">${I18n.system_cancel}</button>
172                                 <input type="hidden" name="id" >
173                             </div>
174                         </div>
175                     </form>
176                 </div>
177             </div>
178         </div>
179     </div>
180     
181     <!-- footer -->
182     <@netCommon.commonFooter />
183 </div>
184
185 <@netCommon.commonScript />
186 <!-- DataTables -->
187 <script src="${request.contextPath}/static/adminlte/bower_components/datatables.net/js/jquery.dataTables.min.js"></script>
188 <script src="${request.contextPath}/static/adminlte/bower_components/datatables.net-bs/js/dataTables.bootstrap.min.js"></script>
189 <script src="${request.contextPath}/static/js/jobgroup.index.1.js"></script>
190 </body>
191 </html>