Browse Source

added support for the print extension

NAME 5 years ago
parent
commit
cb30e7f1cb

+ 2 - 1
src/extensions/print/bootstrap-table-print.js

@@ -66,7 +66,8 @@ $.extend($.fn.bootstrapTable.COLUMN_DEFAULTS, {
 
 $.extend($.fn.bootstrapTable.defaults.icons, {
   print: {
-    bootstrap3: 'glyphicon-print icon-share'
+    bootstrap3: 'glyphicon-print icon-share',
+    'bootstrap-table': 'icon-printer'
   }[$.fn.bootstrapTable.theme] || 'fa-print'
 })
 

+ 8 - 5
src/themes/bootstrap-table/font.scss

@@ -1,10 +1,10 @@
 @font-face {
   font-family: 'bootstrap-table';
-  src:  url('fonts/bootstrap-table.eot?gpxx6w');
-  src:  url('fonts/bootstrap-table.eot?gpxx6w#iefix') format('embedded-opentype'),
-  url('fonts/bootstrap-table.ttf?gpxx6w') format('truetype'),
-  url('fonts/bootstrap-table.woff?gpxx6w') format('woff'),
-  url('fonts/bootstrap-table.svg?gpxx6w#bootstrap-table') format('svg');
+  src:  url('fonts/bootstrap-table.eot?gh2p5u');
+  src:  url('fonts/bootstrap-table.eot?gh2p5u#iefix') format('embedded-opentype'),
+  url('fonts/bootstrap-table.ttf?gh2p5u') format('truetype'),
+  url('fonts/bootstrap-table.woff?gh2p5u') format('woff'),
+  url('fonts/bootstrap-table.svg?gh2p5u#bootstrap-table') format('svg');
   font-weight: normal;
   font-style: normal;
   font-display: block;
@@ -49,6 +49,9 @@
 .icon-move:before {
   content: "\e903";
 }
+.icon-printer:before {
+  content: "\e90b";
+}
 .icon-refresh-cw:before {
   content: "\e904";
 }

BIN
src/themes/bootstrap-table/fonts/bootstrap-table.eot


File diff suppressed because it is too large
+ 1 - 0
src/themes/bootstrap-table/fonts/bootstrap-table.svg


BIN
src/themes/bootstrap-table/fonts/bootstrap-table.ttf


BIN
src/themes/bootstrap-table/fonts/bootstrap-table.woff