Code Monkey home page Code Monkey logo

Comments (4)

zavan avatar zavan commented on June 2, 2024

If anyone is interested, right now I'm "aliasing" FA icons to glyphicons:

span.glyphicon.glyphicon-triangle-bottom:before {
  content: "\f150";
  font-family: FontAwesome;
}

span.glyphicon.glyphicon-triangle-top:before {
  content: "\f151";
  font-family: FontAwesome;
}

span.glyphicon.glyphicon-check:before {
  content: "\f046";
  font-family: FontAwesome;
}

span.glyphicon.glyphicon-unchecked:before {
  content: "\f096";
  font-family: FontAwesome;
}

span.glyphicon.glyphicon-chevron-left:before {
  content: "\f053";
  font-family: FontAwesome;
}

span.glyphicon.glyphicon-chevron-right:before {
  content: "\f054";
  font-family: FontAwesome;
}

span.glyphicon.glyphicon-menu-left:before {
  content: "\f060";
  font-family: FontAwesome;
}

span.glyphicon.glyphicon-menu-right:before {
  content: "\f061";
  font-family: FontAwesome;
}

You can get the "content" unicode for the icons here.

from ember-models-table.

listepo avatar listepo commented on June 2, 2024

@zavan you can extend ember-models-table http://stackoverflow.com/questions/28654662/how-to-extend-an-ember-cli-addon and use any icons and classes :)

from ember-models-table.

arthur-s avatar arthur-s commented on June 2, 2024

@listepo, @onechiporenko, @zavan I edited this module to Pure.css and FontAwesome
https://github.com/arthur-s/ember-models-table
without tests

from ember-models-table.

onechiporenko avatar onechiporenko commented on June 2, 2024

customIcons-option is added
Usage:

{{models-table data=data columns=columns customIcons=customIcons}}

customIcons:

customIcons = {
    'sort-asc': 'class-sort-asc',
    'sort-desc': 'class-sort-desc',
    'column-visible': 'class-column-visible',
    'column-hidden': 'class-column-hidden',
    'nav-first': 'class-nav-first',
    'nav-prev': 'class-nav-prev',
    'nav-next': 'class-nav-next',
    'nav-last': 'class-nav-last'
  };

from ember-models-table.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.