index.html 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <style>
  2. /* bootstrap-table 表头在 .fixed-table-header 克隆表里,需单独居中 .th-inner */
  3. .procuremen-sms-template-page .bootstrap-table thead th,
  4. .procuremen-sms-template-page .fixed-table-header thead th,
  5. .procuremen-sms-template-page .fixed-table-container thead th {
  6. text-align: center !important;
  7. vertical-align: middle !important;
  8. }
  9. .procuremen-sms-template-page .bootstrap-table thead th .th-inner,
  10. .procuremen-sms-template-page .fixed-table-header thead th .th-inner,
  11. .procuremen-sms-template-page .fixed-table-container thead th .th-inner {
  12. text-align: center !important;
  13. justify-content: center !important;
  14. padding-left: 8px !important;
  15. padding-right: 8px !important;
  16. }
  17. .procuremen-sms-template-table {
  18. table-layout: fixed;
  19. width: 100% !important;
  20. }
  21. .procuremen-sms-template-page .bootstrap-table tbody td,
  22. .procuremen-sms-template-table tbody td {
  23. text-align: center !important;
  24. vertical-align: middle !important;
  25. }
  26. .procuremen-sms-template-table .sms-content-cell {
  27. text-align: center;
  28. }
  29. .procuremen-sms-template-table td.col-sms-content,
  30. .procuremen-sms-template-table th.col-sms-content {
  31. width: 360px;
  32. max-width: 360px;
  33. white-space: normal !important;
  34. word-break: break-word;
  35. }
  36. .procuremen-sms-template-table .sms-content-cell {
  37. white-space: pre-wrap;
  38. word-break: break-word;
  39. line-height: 1.55;
  40. max-width: 100%;
  41. }
  42. .procuremen-sms-template-table td[data-field="status"],
  43. .procuremen-sms-template-table td[data-field="updatetime"] {
  44. white-space: nowrap !important;
  45. }
  46. </style>
  47. <div class="panel panel-default panel-intro">
  48. {:build_heading()}
  49. <div class="panel-body procuremen-sms-template-page">
  50. <div class="widget-body no-padding">
  51. <div id="toolbar" class="toolbar">
  52. <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}"><i class="fa fa-refresh"></i></a>
  53. <a href="javascript:;" class="btn btn-success btn-edit btn-disabled disabled {:$auth->check('procuremensms/edit')?'':'hide'}" title="{:__('Edit')}" data-area='["960px","580px"]'><i class="fa fa-pencil"></i> {:__('Edit')}</a>
  54. </div>
  55. <table id="table" class="table table-striped table-bordered table-hover procuremen-sms-template-table"
  56. data-operate-edit="{:$auth->check('procuremensms/edit')}"
  57. width="100%">
  58. </table>
  59. </div>
  60. </div>
  61. </div>