seimin 1 年之前
父節點
當前提交
a052f3915a
共有 1 個文件被更改,包括 4 次插入6 次删除
  1. 4 6
      assets/views/incident/incidentDetail.html

+ 4 - 6
assets/views/incident/incidentDetail.html

@@ -276,17 +276,15 @@
276
                                 <table class="table table-striped table-hover" style="table-layout: fixed;">
276
                                 <table class="table table-striped table-hover" style="table-layout: fixed;">
277
                                     <thead>
277
                                     <thead>
278
                                         <tr>
278
                                         <tr>
279
-                                            <th class="center" style="width:40%;">名称</th>
280
-                                            <th class="hidden-xs" ng-show="uploader.isHTML5" style="width:20%;">大小</th>
281
-                                            <th class="hidden-xs" style="width:20%;">附件下载</th>
279
+                                            <th style="text-align: center;width: 70%;" class="ellipsis">名称</th>
280
+                                            <th style="text-align: center;width: 30%;" class="ellipsis">附件下载</th>
282
                                         </tr>
281
                                         </tr>
283
                                     </thead>
282
                                     </thead>
284
                                     <tbody>
283
                                     <tbody>
285
                                         <!-- 已上传附件 -->
284
                                         <!-- 已上传附件 -->
286
                                         <tr ng-repeat="attachment in attachments">
285
                                         <tr ng-repeat="attachment in attachments">
287
-                                            <td title="{{attachment.name}}"><strong>{{ attachment.name }}</strong></td>
288
-                                            <td ng-show="uploader.isHTML5" nowrap>{{ attachment.size/1024/1024|number:2 }} MB</td>
289
-                                            <td class="center">
286
+                                            <td style="text-align: center;width: 70%;" class="ellipsis" title="{{attachment.name}}"><strong>{{ attachment.name }}</strong></td>
287
+                                            <td style="text-align: center;width: 30%;">
290
                                                 <div class="visible-md visible-lg hidden-sm hidden-xs">
288
                                                 <div class="visible-md visible-lg hidden-sm hidden-xs">
291
                                                     <a ng-click="download(attachment.id,attachment.name,attachment.token)"
289
                                                     <a ng-click="download(attachment.id,attachment.name,attachment.token)"
292
                                                         class="btn btn-transparent btn-xs" tooltip-placement="top" tooltip="下载"><i
290
                                                         class="btn btn-transparent btn-xs" tooltip-placement="top" tooltip="下载"><i