adminlte-rails4 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +23 -0
- data/CHANGELOG.md +20 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +62 -0
- data/Rakefile +15 -0
- data/adminlte-rails.gemspec +21 -0
- data/app/assets/fonts/FontAwesome.otf +0 -0
- data/app/assets/fonts/fontawesome-webfont.eot +0 -0
- data/app/assets/fonts/fontawesome-webfont.svg +414 -0
- data/app/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/app/assets/fonts/fontawesome-webfont.woff +0 -0
- data/app/assets/fonts/glyphicons-halflings-regular.eot +0 -0
- data/app/assets/fonts/glyphicons-halflings-regular.svg +229 -0
- data/app/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/app/assets/fonts/glyphicons-halflings-regular.woff +0 -0
- data/app/assets/fonts/ionicons.eot +0 -0
- data/app/assets/fonts/ionicons.svg +1623 -0
- data/app/assets/fonts/ionicons.ttf +0 -0
- data/app/assets/fonts/ionicons.woff +0 -0
- data/app/assets/images/avatar.png +0 -0
- data/app/assets/images/avatar2.png +0 -0
- data/app/assets/images/avatar3.png +0 -0
- data/app/assets/javascripts/admin-lte.js +1054 -0
- data/app/assets/javascripts/bootstrap.min.js +7 -0
- data/app/assets/stylesheets/admin-lte.css +3535 -0
- data/app/assets/stylesheets/bootstrap.scss +7118 -0
- data/app/assets/stylesheets/datatables/dataTables.bootstrap.css +223 -0
- data/app/assets/stylesheets/datatables/images/sort_asc.png +0 -0
- data/app/assets/stylesheets/datatables/images/sort_asc_disabled.png +0 -0
- data/app/assets/stylesheets/datatables/images/sort_both.png +0 -0
- data/app/assets/stylesheets/datatables/images/sort_desc.png +0 -0
- data/app/assets/stylesheets/datatables/images/sort_desc_disabled.png +0 -0
- data/app/assets/stylesheets/font-awesome.scss +1338 -0
- data/app/assets/stylesheets/iCheck/all.scss +61 -0
- data/app/assets/stylesheets/iCheck/flat/_all.css +560 -0
- data/app/assets/stylesheets/iCheck/flat/aero.css +56 -0
- data/app/assets/stylesheets/iCheck/flat/aero.png +0 -0
- data/app/assets/stylesheets/iCheck/flat/aero@2x.png +0 -0
- data/app/assets/stylesheets/iCheck/flat/blue.css +56 -0
- data/app/assets/stylesheets/iCheck/flat/blue.png +0 -0
- data/app/assets/stylesheets/iCheck/flat/blue@2x.png +0 -0
- data/app/assets/stylesheets/iCheck/flat/flat.css +56 -0
- data/app/assets/stylesheets/iCheck/flat/flat.png +0 -0
- data/app/assets/stylesheets/iCheck/flat/flat@2x.png +0 -0
- data/app/assets/stylesheets/iCheck/flat/green.css +56 -0
- data/app/assets/stylesheets/iCheck/flat/green.png +0 -0
- data/app/assets/stylesheets/iCheck/flat/green@2x.png +0 -0
- data/app/assets/stylesheets/iCheck/flat/grey.css +56 -0
- data/app/assets/stylesheets/iCheck/flat/grey.png +0 -0
- data/app/assets/stylesheets/iCheck/flat/grey@2x.png +0 -0
- data/app/assets/stylesheets/iCheck/flat/orange.css +56 -0
- data/app/assets/stylesheets/iCheck/flat/orange.png +0 -0
- data/app/assets/stylesheets/iCheck/flat/orange@2x.png +0 -0
- data/app/assets/stylesheets/iCheck/flat/pink.css +56 -0
- data/app/assets/stylesheets/iCheck/flat/pink.png +0 -0
- data/app/assets/stylesheets/iCheck/flat/pink@2x.png +0 -0
- data/app/assets/stylesheets/iCheck/flat/purple.css +56 -0
- data/app/assets/stylesheets/iCheck/flat/purple.png +0 -0
- data/app/assets/stylesheets/iCheck/flat/purple@2x.png +0 -0
- data/app/assets/stylesheets/iCheck/flat/red.css +56 -0
- data/app/assets/stylesheets/iCheck/flat/red.png +0 -0
- data/app/assets/stylesheets/iCheck/flat/red@2x.png +0 -0
- data/app/assets/stylesheets/iCheck/flat/yellow.css +56 -0
- data/app/assets/stylesheets/iCheck/flat/yellow.png +0 -0
- data/app/assets/stylesheets/iCheck/flat/yellow@2x.png +0 -0
- data/app/assets/stylesheets/ionicons.scss +2183 -0
- data/lib/adminlte-rails/engine.rb +9 -0
- data/lib/adminlte-rails/source_file.rb +146 -0
- data/lib/adminlte-rails/version.rb +5 -0
- data/lib/adminlte-rails.rb +6 -0
- 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
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
|
Binary file
|