Coder Social home page Coder Social logo

dungbanguyen / adminlte-rails Goto Github PK

View Code? Open in Web Editor NEW
130.0 10.0 73.0 4.96 MB

The AdminLTE Rails gem integrates AdminLTE theme with the Rails asset pipeline

Home Page: https://github.com/shine60vn/adminlte-rails

License: MIT License

Ruby 100.00%

adminlte-rails's Introduction

AdminLTE Rails gem

Join the chat at https://gitter.im/shine60vn/adminlte-rails

AdminLTE is a premium Bootstrap theme for backend.

The AdminLTE Rails gem integrates AdminLTE theme with the Rails asset pipeline.

Installation

Add this line to your application's Gemfile:

gem 'adminlte-rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install adminlte-rails

Usage

Include adminlte-rails javascript assets

Add the following to your app/assets/javascripts/application.js:

//= require bootstrap.min
//= require admin-lte

Include adminlte-rails stylesheet assets

Add the following to your app/assets/stylesheets/application.css:

 *= require bootstrap
 *= require font-awesome
 *= require ionicons
 *= require admin-lte

If you want to use additional features, add more these lines to your app/assets/stylesheets/application.css:

 *= require iCheck/all
 *= require datatables/dataTables.bootstrap

Version

1.3.2 (AdminLTE 1.3.0)

Changelog

View CHANGELOG

License

AdminLTE-Rails is released under the MIT License.

Contributing

  1. Fork it ( https://github.com/[my-github-username]/adminlte-rails/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

adminlte-rails's People

Contributors

dungbanguyen avatar gitter-badger avatar hfwang avatar ravensnowbird avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

adminlte-rails's Issues

checkbox background is missing, and its not showing

Hi,
if I add checkbox mouse cursor recognize it, but its hidden and can't be checked. I found that in admin-lte.css on row 2862 is background image that is missing (icheck/miniminal/minimal.png).

Is there way to show checkbox, or I just have to set my own image in my custom css?

thx for help

flash.now does not work?

flash is working after refreshing the page. But I want to display flash.now message at current page without refreshing

Javascript Issues

Perhaps a bit of a rookie issue, but after adding the entries to my application.js file, I got a javascript error in my console and my dropdown menus and treeview menus are not working.

The error is:
Uncaught TypeError: undefined is not a function -- admin-lte.js?body=1:70

I can actually get dropdown menus to work if I move the bootstrap.js to the top of the required files but of course I then get an error saying jQuery is required.

I can not get the treeview menu to work even after removing all the turbolinks references.

Update Fontawesome

Hi,

Would be possible to update the font-awesome font? I already put an external link to my app but when using with your gem, I couldn't use some icons.

Thanks.

Update to AdminLTE v2.3.0?

Looks like you have kept up the development, however, the released gem is a little behind.

Would you consider updating to the theme's 2.3.0 release?

Also, I am not sure if this is related, but I get:

ActionController::RoutingError (No route matches [GET] "/assets/iCheck/minimal/minimal.png"):

because it looks like iCheck is not integrated completely with assets?

iCheck/all couldn't find

Hello,
when i add iCheck to application.css give me a error.

My application.css:

 *= require_self
 *= require bootstrap
 *= require font-awesome
 *= require ionicons
 *= require admin-lte
 *= require iCheck/all
 *= require datatables/dataTables.bootstrap
 *= require_tree .

Error:

couldn't find file 'iCheck/all' with type 'text/css'`

Toggle sidebar button fails

When I click toggle sidebar for the first time after entered URL, it works like normally. But wherener I click an item on sidebar to access other pages, this button stop working. It just add a "#" to address bar like normal a tag with href="#". Thought some JS didn't loaded. Any ideas?
Thanks in advance!

Vietnamese: Nút ẩn hiện sidebar bị lỗi khi điều hướng giữa các trang bằng menu trên sidebar, khi nhập url và gõ enter thì lại bình thường, không biết có phải do lỗi đoạn JS nào đó không?

Ruby: 2.1.2
Rails: 4.1.6
Gem: adminlte-rails 1.3.3
OS: Ubuntu 14.04
Browser: Google Chrome 38

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.