Browse Source

added support for the copy rows extension

NAME 5 years ago
parent
commit
ffcf2cd6e8

+ 2 - 1
src/extensions/copy-rows/bootstrap-table-copy-rows.js

@@ -8,7 +8,8 @@ const Utils = $.fn.bootstrapTable.utils
 $.extend($.fn.bootstrapTable.defaults.icons, {
   copy: {
     bootstrap3: 'glyphicon-copy icon-pencil',
-    materialize: 'content_copy'
+    materialize: 'content_copy',
+    'bootstrap-table': 'icon-copy'
   }[$.fn.bootstrapTable.theme] || 'fa-copy'
 })
 

+ 9 - 18
src/themes/bootstrap-table/font.scss

@@ -1,16 +1,16 @@
 @font-face {
   font-family: 'bootstrap-table';
-  src:  url('fonts/bootstrap-table.eot?pmqe8y');
-  src:  url('fonts/bootstrap-table.eot?pmqe8y#iefix') format('embedded-opentype'),
-  url('fonts/bootstrap-table.ttf?pmqe8y') format('truetype'),
-  url('fonts/bootstrap-table.woff?pmqe8y') format('woff'),
-  url('fonts/bootstrap-table.svg?pmqe8y#bootstrap-table') format('svg');
+  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');
   font-weight: normal;
   font-style: normal;
   font-display: block;
 }
 
-.icon {
+[class^="icon-"], [class*=" icon-"] {
   /* use !important to prevent issues with browser extensions that change fonts */
   font-family: 'bootstrap-table' !important;
   speak: none;
@@ -37,11 +37,8 @@
 .icon-chevron-right:before {
   content: "\e901";
 }
-.icon-clock:before {
-  content: "\e90d";
-}
-.icon-download:before {
-  content: "\e90c";
+.icon-copy:before {
+  content: "\e909";
 }
 .icon-list:before {
   content: "\e902";
@@ -49,20 +46,14 @@
 .icon-maximize:before {
   content: "\1f5ce";
 }
-.icon-minus:before {
-  content: "\e90b";
-}
 .icon-move:before {
   content: "\e903";
 }
-.icon-plus:before {
-  content: "\e90a";
-}
 .icon-refresh-cw:before {
   content: "\e904";
 }
 .icon-search:before {
-  content: "\e909";
+  content: "\e90a";
 }
 .icon-toggle-right:before {
   content: "\e905";

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


File diff suppressed because it is too large
+ 2 - 5
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