adminlte-rails4 1.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +23 -0
  3. data/CHANGELOG.md +20 -0
  4. data/Gemfile +4 -0
  5. data/LICENSE.txt +22 -0
  6. data/README.md +62 -0
  7. data/Rakefile +15 -0
  8. data/adminlte-rails.gemspec +21 -0
  9. data/app/assets/fonts/FontAwesome.otf +0 -0
  10. data/app/assets/fonts/fontawesome-webfont.eot +0 -0
  11. data/app/assets/fonts/fontawesome-webfont.svg +414 -0
  12. data/app/assets/fonts/fontawesome-webfont.ttf +0 -0
  13. data/app/assets/fonts/fontawesome-webfont.woff +0 -0
  14. data/app/assets/fonts/glyphicons-halflings-regular.eot +0 -0
  15. data/app/assets/fonts/glyphicons-halflings-regular.svg +229 -0
  16. data/app/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
  17. data/app/assets/fonts/glyphicons-halflings-regular.woff +0 -0
  18. data/app/assets/fonts/ionicons.eot +0 -0
  19. data/app/assets/fonts/ionicons.svg +1623 -0
  20. data/app/assets/fonts/ionicons.ttf +0 -0
  21. data/app/assets/fonts/ionicons.woff +0 -0
  22. data/app/assets/images/avatar.png +0 -0
  23. data/app/assets/images/avatar2.png +0 -0
  24. data/app/assets/images/avatar3.png +0 -0
  25. data/app/assets/javascripts/admin-lte.js +1054 -0
  26. data/app/assets/javascripts/bootstrap.min.js +7 -0
  27. data/app/assets/stylesheets/admin-lte.css +3535 -0
  28. data/app/assets/stylesheets/bootstrap.scss +7118 -0
  29. data/app/assets/stylesheets/datatables/dataTables.bootstrap.css +223 -0
  30. data/app/assets/stylesheets/datatables/images/sort_asc.png +0 -0
  31. data/app/assets/stylesheets/datatables/images/sort_asc_disabled.png +0 -0
  32. data/app/assets/stylesheets/datatables/images/sort_both.png +0 -0
  33. data/app/assets/stylesheets/datatables/images/sort_desc.png +0 -0
  34. data/app/assets/stylesheets/datatables/images/sort_desc_disabled.png +0 -0
  35. data/app/assets/stylesheets/font-awesome.scss +1338 -0
  36. data/app/assets/stylesheets/iCheck/all.scss +61 -0
  37. data/app/assets/stylesheets/iCheck/flat/_all.css +560 -0
  38. data/app/assets/stylesheets/iCheck/flat/aero.css +56 -0
  39. data/app/assets/stylesheets/iCheck/flat/aero.png +0 -0
  40. data/app/assets/stylesheets/iCheck/flat/aero@2x.png +0 -0
  41. data/app/assets/stylesheets/iCheck/flat/blue.css +56 -0
  42. data/app/assets/stylesheets/iCheck/flat/blue.png +0 -0
  43. data/app/assets/stylesheets/iCheck/flat/blue@2x.png +0 -0
  44. data/app/assets/stylesheets/iCheck/flat/flat.css +56 -0
  45. data/app/assets/stylesheets/iCheck/flat/flat.png +0 -0
  46. data/app/assets/stylesheets/iCheck/flat/flat@2x.png +0 -0
  47. data/app/assets/stylesheets/iCheck/flat/green.css +56 -0
  48. data/app/assets/stylesheets/iCheck/flat/green.png +0 -0
  49. data/app/assets/stylesheets/iCheck/flat/green@2x.png +0 -0
  50. data/app/assets/stylesheets/iCheck/flat/grey.css +56 -0
  51. data/app/assets/stylesheets/iCheck/flat/grey.png +0 -0
  52. data/app/assets/stylesheets/iCheck/flat/grey@2x.png +0 -0
  53. data/app/assets/stylesheets/iCheck/flat/orange.css +56 -0
  54. data/app/assets/stylesheets/iCheck/flat/orange.png +0 -0
  55. data/app/assets/stylesheets/iCheck/flat/orange@2x.png +0 -0
  56. data/app/assets/stylesheets/iCheck/flat/pink.css +56 -0
  57. data/app/assets/stylesheets/iCheck/flat/pink.png +0 -0
  58. data/app/assets/stylesheets/iCheck/flat/pink@2x.png +0 -0
  59. data/app/assets/stylesheets/iCheck/flat/purple.css +56 -0
  60. data/app/assets/stylesheets/iCheck/flat/purple.png +0 -0
  61. data/app/assets/stylesheets/iCheck/flat/purple@2x.png +0 -0
  62. data/app/assets/stylesheets/iCheck/flat/red.css +56 -0
  63. data/app/assets/stylesheets/iCheck/flat/red.png +0 -0
  64. data/app/assets/stylesheets/iCheck/flat/red@2x.png +0 -0
  65. data/app/assets/stylesheets/iCheck/flat/yellow.css +56 -0
  66. data/app/assets/stylesheets/iCheck/flat/yellow.png +0 -0
  67. data/app/assets/stylesheets/iCheck/flat/yellow@2x.png +0 -0
  68. data/app/assets/stylesheets/ionicons.scss +2183 -0
  69. data/lib/adminlte-rails/engine.rb +9 -0
  70. data/lib/adminlte-rails/source_file.rb +146 -0
  71. data/lib/adminlte-rails/version.rb +5 -0
  72. data/lib/adminlte-rails.rb +6 -0
  73. metadata +185 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 66cd072fb55bb335a43f4e9b573b0c8709bf1d70
4
+ data.tar.gz: ca9eda3795f29b9218d8acd1c5d884f2c7acfa29
5
+ SHA512:
6
+ metadata.gz: 88c628744c9277708d50525eeb53075e586932a158ac08f6a3088757ae095db5362ef85ae5e4c770509197f383a45268dccb9370262bde4d30a060347a92b9a2
7
+ data.tar.gz: 9caddab99cea3efca728eadc1e33330bc43662e6b5e3637b6443a39f15378ec53906d3ffb6616cf48b24b91e77aa690b952e78f7f6afcc86c693d6c260a5813a
data/.gitignore ADDED
@@ -0,0 +1,23 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
18
+ *.bundle
19
+ *.so
20
+ *.o
21
+ *.a
22
+ mkmf.log
23
+ .idea
data/CHANGELOG.md ADDED
@@ -0,0 +1,20 @@
1
+ ## 1.3.2
2
+
3
+ Features:
4
+
5
+ - Precompile assets automatically.
6
+
7
+ ## 1.3.1
8
+
9
+ Hotfix:
10
+
11
+ - Fix critical convert font-face bug.
12
+
13
+ ## 1.3.0 (yanked)
14
+
15
+ Features:
16
+
17
+ - Updating tool pulls latest release from [AdminLTE](https://github.com/almasaeed2010/AdminLTE) `/lib/adminlte-rails/source_file.rb`.
18
+ - Support iCheck controls (only flat style) .
19
+ - Support datatables.
20
+ - Convert font-face urls for Rails assets pipeline.
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in adminlte-rails.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2014 Nguyen Ba Dung
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,62 @@
1
+ # AdminLTE Rails gem
2
+
3
+ [AdminLTE](http://www.almsaeedstudio.com/) is a premium Bootstrap theme for backend.
4
+
5
+ The **AdminLTE Rails** gem integrates **AdminLTE** theme with the Rails asset pipeline.
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ gem 'adminlte-rails'
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install adminlte-rails
20
+
21
+ ## Usage
22
+
23
+ ### Include adminlte-rails javascript assets
24
+
25
+ Add the following to your `app/assets/javascripts/application.js`:
26
+
27
+ //= require bootstrap.min
28
+ //= require admin-lte
29
+
30
+ ### Include adminlte-rails stylesheet assets
31
+
32
+ Add the following to your `app/assets/stylesheets/application.css`:
33
+
34
+ *= require bootstrap
35
+ *= require font-awesome
36
+ *= require ionicons
37
+ *= require admin-lte
38
+
39
+ If you want to use additional features, add more these lines to your `app/assets/stylesheets/application.css`:
40
+
41
+ *= require iCheck/all
42
+ *= require datatables/dataTables.bootstrap
43
+
44
+ ## Version
45
+
46
+ 1.3.2 (AdminLTE 1.3.0)
47
+
48
+ ## Changelog
49
+
50
+ View [CHANGELOG](CHANGELOG.md)
51
+
52
+ ## License
53
+
54
+ AdminLTE-Rails is released under the [MIT License](http://www.opensource.org/licenses/MIT).
55
+
56
+ ## Contributing
57
+
58
+ 1. Fork it ( https://github.com/[my-github-username]/adminlte-rails/fork )
59
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
60
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
61
+ 4. Push to the branch (`git push origin my-new-feature`)
62
+ 5. Create a new Pull Request
data/Rakefile ADDED
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env rake
2
+ require 'bundler/gem_tasks'
3
+ require 'adminlte-rails/source_file'
4
+ desc "Update with almasaeed2010's AdminLTE theme"
5
+ task :update do
6
+ files = SourceFile.new
7
+ files.cleanup
8
+ files.fetch
9
+ files.convert
10
+ end
11
+
12
+ task :convert do
13
+ files = SourceFile.new
14
+ files.convert
15
+ end
@@ -0,0 +1,21 @@
1
+ # -*- encoding: utf-8 -*-
2
+ require File.expand_path('../lib/adminlte-rails/version', __FILE__)
3
+ Gem::Specification.new do |s|
4
+ s.name = 'adminlte-rails4'
5
+ s.version = AdminLTE::Rails::VERSION
6
+ s.authors = ['Nguyen Ba Dung']
7
+ s.email = ['nguyenbadung@gmail.com']
8
+ s.homepage = 'https://github.com/shine60vn/adminlte-rails'
9
+ s.summary = %q{Integrates the AdminLTE theme with the Rails asset pipeline}
10
+ s.description = %q{AdminLTE is a premium Bootstrap theme for Backend.}
11
+ s.license = 'MIT'
12
+ s.files = `git ls-files`.split("\n")
13
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
14
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
15
+ s.require_paths = ['lib']
16
+ s.add_dependency 'thor', '~> 0.14'
17
+ s.add_development_dependency 'bundler', '~> 1.0'
18
+ s.add_development_dependency 'rails', '>= 3.0'
19
+ s.add_development_dependency 'httpclient', '~> 2.2'
20
+ s.add_development_dependency 'byebug'
21
+ end
Binary file