-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
733 additions
and
490 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2013-2014 Nicolas Rodriguez ([email protected]), JBox Web (http://www.jbox-web.com) | ||
Copyright (c) 2013-2015 Nicolas Rodriguez ([email protected]), JBox Web (http://www.jbox-web.com) | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
## Redmine Bootstrap Kit (v0.1) | ||
## Redmine Bootstrap Kit | ||
|
||
As Redmine does not support asset pipeline, we need to install JQuery plugins as Redmine plugins to load them globally. | ||
|
||
Current version : [JQuery UI Bootstrap 0.5](http://jquery-ui-bootstrap.github.io/jquery-ui-bootstrap/) - 2014-04-19 | ||
It includes : | ||
|
||
* [JQuery UI Bootstrap 0.5](http://jquery-ui-bootstrap.github.io/jquery-ui-bootstrap/) - 2014-04-19 | ||
* [FontAwesome 4.3.0](http://fortawesome.github.io/Font-Awesome/) | ||
* [JQuery TagIt](http://aehlke.github.io/tag-it/) | ||
|
||
Just clone it in your Redmine plugins directory : | ||
|
||
|
@@ -14,6 +18,7 @@ Now, within another Redmine plugins, you can call Bootstrap Kit elements : | |
``` | ||
<% content_for :header_tags do %> | ||
<%= stylesheet_link_tag 'font_awesome', :plugin => 'redmine_bootstrap_kit' %> | ||
<%= stylesheet_link_tag 'bootstrap_custom', :plugin => 'redmine_bootstrap_kit' %> | ||
<%= stylesheet_link_tag 'bootstrap/bootstrap_alert', :plugin => 'redmine_bootstrap_kit' %> | ||
<%= stylesheet_link_tag 'bootstrap/bootstrap_animations', :plugin => 'redmine_bootstrap_kit' %> | ||
<%= stylesheet_link_tag 'bootstrap/bootstrap_close', :plugin => 'redmine_bootstrap_kit' %> | ||
|
@@ -52,10 +57,10 @@ Now, within another Redmine plugins, you can call Bootstrap Kit elements : | |
|
||
|
||
## Copyrights & License | ||
Redmine Bootstrap Kit is completely free and open source and released under the [MIT License](https://github.com/jbox-web/redmine_bootstrap_kit/blob/devel/LICENSE). | ||
|
||
Copyright (c) 2013-2014 Nicolas Rodriguez ([email protected]), JBox Web (http://www.jbox-web.com) [![endorse](https://api.coderwall.com/n-rodriguez/endorsecount.png)](https://coderwall.com/n-rodriguez) | ||
Redmine Bootstrap Kit is completely free and open source and released under the [MIT License](https://github.com/jbox-web/redmine_bootstrap_kit/blob/devel/LICENSE). | ||
|
||
Copyright (c) 2013-2015 Nicolas Rodriguez ([email protected]), JBox Web (http://www.jbox-web.com) [![endorse](https://api.coderwall.com/n-rodriguez/endorsecount.png)](https://coderwall.com/n-rodriguez) | ||
|
||
## Contribute | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
module TagItHelper | ||
|
||
def tag_it_list(id, list_opts = {}, tag_it_opts = {}, &block) | ||
data = { toggle: 'tagit' } | ||
data = data.merge(tag_it_opts) | ||
|
||
options = {} | ||
options[:id] = id | ||
options[:data] = data | ||
options = options.merge(list_opts) | ||
|
||
if block_given? | ||
content_tag(:ul, options) do | ||
yield | ||
end | ||
else | ||
content_tag(:ul, '', options) | ||
end | ||
end | ||
|
||
end |
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters