preview.tpl.html 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <style>
  2. .title{
  3. font-size: 13px;
  4. color: #333;
  5. text-align: center;
  6. }
  7. .table{
  8. width: 845px;
  9. margin: 0 auto;
  10. }
  11. /* .table .ui-grid-pager-panel.ng-scope{
  12. display: none;
  13. } */
  14. .echart{
  15. width: 100%;
  16. height: 450px;
  17. }
  18. .table .ui-grid-viewport.ng-isolate-scope{
  19. height: 240px !important;
  20. }
  21. .modal-body{
  22. padding-bottom:20px;
  23. }
  24. </style>
  25. <div class="modal-header">
  26. <div class="modal-title fontcolor-two fontsizes-14"><button type="button" class="close pull-right" ng-click="cancel()">x</button></div>
  27. </div>
  28. <div class="modal-body center">
  29. <p class="title">不同类型事件数量占比</p>
  30. <div class="table">
  31. <div id="grid" ui-grid="gridOptions " ui-grid-pagination external-scopes="$scope " ui-grid-resize-columns
  32. ui-grid-auto-resize class="grid "></div>
  33. </div>
  34. </div>
  35. <div ng-if="echartsLength<=15" class="echart">
  36. <div id="previewmain" style="width: 100%;height: 400px; padding: 0;margin-top: 25px; border-width: 0; "></div>
  37. </div>
  38. <!-- <div class="modal-footer modelfooter-hint pointfont">
  39. <div class="hintfooterleft pull-left" ng-click="ok()" translate="modal.button.OK ">OK</div>
  40. <div class="hintfooterright pull-right" ng-click="cancel() " translate="modal.button.CANCEL ">Cancel</div>
  41. </div> -->