adminlte_theme 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.rspec +3 -0
- data/.travis.yml +5 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +35 -0
- data/LICENSE.txt +21 -0
- data/README.md +70 -0
- data/Rakefile +6 -0
- data/adminlte_theme.gemspec +36 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/adminlte_theme/engine.rb +6 -0
- data/lib/adminlte_theme/version.rb +3 -0
- data/lib/adminlte_theme.rb +5 -0
- data/vendor/assets/images/AdminLTE/avatar.png +0 -0
- data/vendor/assets/images/AdminLTE/avatar04.png +0 -0
- data/vendor/assets/images/AdminLTE/avatar2.png +0 -0
- data/vendor/assets/images/AdminLTE/avatar3.png +0 -0
- data/vendor/assets/images/AdminLTE/avatar5.png +0 -0
- data/vendor/assets/images/AdminLTE/boxed-bg.jpg +0 -0
- data/vendor/assets/images/AdminLTE/boxed-bg.png +0 -0
- data/vendor/assets/images/AdminLTE/credit/american-express.png +0 -0
- data/vendor/assets/images/AdminLTE/credit/cirrus.png +0 -0
- data/vendor/assets/images/AdminLTE/credit/mastercard.png +0 -0
- data/vendor/assets/images/AdminLTE/credit/mestro.png +0 -0
- data/vendor/assets/images/AdminLTE/credit/paypal.png +0 -0
- data/vendor/assets/images/AdminLTE/credit/paypal2.png +0 -0
- data/vendor/assets/images/AdminLTE/credit/visa.png +0 -0
- data/vendor/assets/images/AdminLTE/default-50x50.gif +0 -0
- data/vendor/assets/images/AdminLTE/icons.png +0 -0
- data/vendor/assets/images/AdminLTE/photo1.png +0 -0
- data/vendor/assets/images/AdminLTE/photo2.png +0 -0
- data/vendor/assets/images/AdminLTE/photo3.jpg +0 -0
- data/vendor/assets/images/AdminLTE/photo4.jpg +0 -0
- data/vendor/assets/images/AdminLTE/user1-128x128.jpg +0 -0
- data/vendor/assets/images/AdminLTE/user2-160x160.jpg +0 -0
- data/vendor/assets/images/AdminLTE/user3-128x128.jpg +0 -0
- data/vendor/assets/images/AdminLTE/user4-128x128.jpg +0 -0
- data/vendor/assets/images/AdminLTE/user5-128x128.jpg +0 -0
- data/vendor/assets/images/AdminLTE/user6-128x128.jpg +0 -0
- data/vendor/assets/images/AdminLTE/user7-128x128.jpg +0 -0
- data/vendor/assets/images/AdminLTE/user8-128x128.jpg +0 -0
- data/vendor/assets/javascript/adminlte.js +1135 -0
- data/vendor/assets/javascript/adminlte.min.js +14 -0
- data/vendor/assets/javascript/demo.js +349 -0
- data/vendor/assets/javascript/pages/dashboard.js +210 -0
- data/vendor/assets/javascript/pages/dashboard2.js +274 -0
- data/vendor/assets/stylesheets/AdminLTE/alt/AdminLTE-bootstrap-social.css +760 -0
- data/vendor/assets/stylesheets/AdminLTE/alt/AdminLTE-bootstrap-social.min.css +1 -0
- data/vendor/assets/stylesheets/AdminLTE/alt/AdminLTE-fullcalendar.css +93 -0
- data/vendor/assets/stylesheets/AdminLTE/alt/AdminLTE-fullcalendar.min.css +1 -0
- data/vendor/assets/stylesheets/AdminLTE/alt/AdminLTE-select2.css +100 -0
- data/vendor/assets/stylesheets/AdminLTE/alt/AdminLTE-select2.min.css +1 -0
- data/vendor/assets/stylesheets/AdminLTE/alt/AdminLTE-without-plugins.css +4002 -0
- data/vendor/assets/stylesheets/AdminLTE/alt/AdminLTE-without-plugins.min.css +7 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/_all-skins.css +1781 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/_all-skins.min.css +1 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-black-light.css +171 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-black-light.min.css +1 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-black.css +161 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-black.min.css +1 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-blue-light.css +163 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-blue-light.min.css +1 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-blue.css +142 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-blue.min.css +1 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-green-light.css +152 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-green-light.min.css +1 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-green.css +134 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-green.min.css +1 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-purple-light.css +152 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-purple-light.min.css +1 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-purple.css +134 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-purple.min.css +1 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-red-light.css +152 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-red-light.min.css +1 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-red.css +134 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-red.min.css +1 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-yellow-light.css +152 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-yellow-light.min.css +1 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-yellow.css +134 -0
- data/vendor/assets/stylesheets/AdminLTE/skins/skin-yellow.min.css +1 -0
- data/vendor/assets/stylesheets/AdminLTE.css +4977 -0
- data/vendor/assets/stylesheets/AdminLTE.min.css +7 -0
- data/vendor/assets/stylesheets/adminlte.css.map +140 -0
- data/vendor/assets/stylesheets/adminlte.min.css.map +140 -0
- metadata +173 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 4a10304d26c842b4ed264085d672b67aa88e6ba1
|
4
|
+
data.tar.gz: 1d31c8a37a526f933d08d3058009066db9f79cd0
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: b0ada9c25a48740388fb449c7eb52209193c05ad81bc125cc60dbb92ff57f09e0080b8d154bb73574b843edfd1534b7b5438f16d8cd9dcb85fc4e453b87c1d43
|
7
|
+
data.tar.gz: 2cc55a27185ebaae021a36076718b28352d5d5f38d9cd7efdac68989f5e6e5128633dd7a835156f14c92c4bb15d8e70b091c6316455fb9c7f7369aac45ce8af3
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at valerosjoseph@gmail.com. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
adminlte_theme (0.1.0)
|
5
|
+
|
6
|
+
GEM
|
7
|
+
remote: https://rubygems.org/
|
8
|
+
specs:
|
9
|
+
diff-lcs (1.3)
|
10
|
+
rake (10.5.0)
|
11
|
+
rspec (3.7.0)
|
12
|
+
rspec-core (~> 3.7.0)
|
13
|
+
rspec-expectations (~> 3.7.0)
|
14
|
+
rspec-mocks (~> 3.7.0)
|
15
|
+
rspec-core (3.7.1)
|
16
|
+
rspec-support (~> 3.7.0)
|
17
|
+
rspec-expectations (3.7.0)
|
18
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
19
|
+
rspec-support (~> 3.7.0)
|
20
|
+
rspec-mocks (3.7.0)
|
21
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
22
|
+
rspec-support (~> 3.7.0)
|
23
|
+
rspec-support (3.7.1)
|
24
|
+
|
25
|
+
PLATFORMS
|
26
|
+
ruby
|
27
|
+
|
28
|
+
DEPENDENCIES
|
29
|
+
adminlte_theme!
|
30
|
+
bundler (~> 1.16)
|
31
|
+
rake (~> 10.0)
|
32
|
+
rspec (~> 3.0)
|
33
|
+
|
34
|
+
BUNDLED WITH
|
35
|
+
1.16.1
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2018 Joseph Nelson Valeros
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,70 @@
|
|
1
|
+
# AdminlteTheme
|
2
|
+
|
3
|
+
A gem that simplifies your adminLTE setup on ruby on rails.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add these to your gemfile
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem 'jquery-rails'
|
11
|
+
gem 'bootstrap-sass'
|
12
|
+
gem "font-awesome-rails"
|
13
|
+
gem 'adminlte_theme'
|
14
|
+
```
|
15
|
+
I didn't include those gem as dependencies to allow you to customize and manage your gems
|
16
|
+
|
17
|
+
Add this to your ```application.js```
|
18
|
+
```js
|
19
|
+
//= require jquery
|
20
|
+
//= require bootstrap-sprockets
|
21
|
+
//= require adminlte
|
22
|
+
```
|
23
|
+
|
24
|
+
Then in your ```application.css.scss```
|
25
|
+
```scss
|
26
|
+
@import "bootstrap-sprockets";
|
27
|
+
@import "bootstrap";
|
28
|
+
@import 'font-awesome';
|
29
|
+
@import "AdminLTE";
|
30
|
+
@import "AdminLTE/skins/skin-green";
|
31
|
+
```
|
32
|
+
|
33
|
+
### HTMLs
|
34
|
+
See this [Admin LTE Installation Guide](https://adminlte.io/docs/2.4/installation) to configure template.
|
35
|
+
|
36
|
+
You might want to see how [POSko](https://github.com/neume/posko) used this gem.
|
37
|
+
|
38
|
+
You can use this file structure:
|
39
|
+
```
|
40
|
+
app/
|
41
|
+
views/
|
42
|
+
layouts/
|
43
|
+
application.html.erb
|
44
|
+
_footer.html.erb
|
45
|
+
_header.html.erb
|
46
|
+
_control_sidebar.html.erb
|
47
|
+
_sidebar.html.erb
|
48
|
+
```
|
49
|
+
Render those partial in application.html.erb
|
50
|
+
## TODOs
|
51
|
+
+ Create generator
|
52
|
+
+ Spec! Spec! Spec!
|
53
|
+
|
54
|
+
|
55
|
+
## Development
|
56
|
+
|
57
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
58
|
+
|
59
|
+
|
60
|
+
## Contributing
|
61
|
+
|
62
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/neume/adminlte_theme. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
63
|
+
|
64
|
+
## License
|
65
|
+
|
66
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
67
|
+
|
68
|
+
## Code of Conduct
|
69
|
+
|
70
|
+
Everyone interacting in the AdminlteTheme project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/neume/adminlte_theme/blob/master/CODE_OF_CONDUCT.md).
|
data/Rakefile
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
|
2
|
+
lib = File.expand_path("../lib", __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require "adminlte_theme/version"
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "adminlte_theme"
|
8
|
+
spec.version = AdminlteTheme::VERSION
|
9
|
+
spec.authors = ["Joseph Nelson Valeros"]
|
10
|
+
spec.email = ["valerosjoseph@gmail.com"]
|
11
|
+
|
12
|
+
spec.summary = %q{ A gemified AdminLTE theme for rails pipeline. }
|
13
|
+
spec.description = %q{ Caters the base theme of AdminLTE by Almsaeed Studio. Plugins are not included by default to maximize performance and should be added manually. }
|
14
|
+
spec.homepage = "https://github.com/neume/adminlte-theme"
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
18
|
+
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
19
|
+
# if spec.respond_to?(:metadata)
|
20
|
+
# spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
|
21
|
+
# else
|
22
|
+
# raise "RubyGems 2.0 or newer is required to protect against " \
|
23
|
+
# "public gem pushes."
|
24
|
+
# end
|
25
|
+
|
26
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
27
|
+
f.match(%r{^(test|spec|features)/})
|
28
|
+
end
|
29
|
+
spec.bindir = "exe"
|
30
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
31
|
+
spec.require_paths = ["lib"]
|
32
|
+
|
33
|
+
spec.add_development_dependency "bundler", "~> 1.16"
|
34
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
35
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
36
|
+
end
|
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "adminlte_theme"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|