You need to sign in or sign up before continuing.
Commit b6ab15bf by Hiếu Lê

Add public theme

parent 6886a658
......@@ -21,7 +21,6 @@
!/plugins/README
/public/dispatch.*
/public/plugin_assets/*
/public/themes/*
!/public/themes/alternate
!/public/themes/classic
!/public/themes/README
......@@ -36,6 +35,5 @@
*.rbc
/.bundle
/Gemfile.lock
/Gemfile.local
GEM
remote: https://rubygems.org/
specs:
actionmailer (4.2.8)
actionpack (= 4.2.8)
actionview (= 4.2.8)
activejob (= 4.2.8)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 1.0, >= 1.0.5)
actionpack (4.2.8)
actionview (= 4.2.8)
activesupport (= 4.2.8)
rack (~> 1.6)
rack-test (~> 0.6.2)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionpack-xml_parser (1.0.2)
actionpack (>= 4.0.0, < 5)
actionview (4.2.8)
activesupport (= 4.2.8)
builder (~> 3.1)
erubis (~> 2.7.0)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.3)
activejob (4.2.8)
activesupport (= 4.2.8)
globalid (>= 0.3.0)
activemodel (4.2.8)
activesupport (= 4.2.8)
builder (~> 3.1)
activerecord (4.2.8)
activemodel (= 4.2.8)
activesupport (= 4.2.8)
arel (~> 6.0)
activesupport (4.2.8)
i18n (~> 0.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
addressable (2.5.2)
public_suffix (>= 2.0.2, < 4.0)
arel (6.0.4)
builder (3.2.3)
capybara (1.1.4)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
selenium-webdriver (~> 2.0)
xpath (~> 0.1.4)
childprocess (0.8.0)
ffi (~> 1.0, >= 1.0.11)
coderay (1.1.2)
concurrent-ruby (1.0.5)
crass (1.0.3)
css_parser (1.6.0)
addressable
docile (1.1.5)
erubis (2.7.0)
ffi (1.9.18)
globalid (0.4.1)
activesupport (>= 4.2.0)
htmlentities (4.3.4)
httpclient (2.8.3)
i18n (0.7.0)
jquery-rails (3.1.4)
railties (>= 3.0, < 5.0)
thor (>= 0.14, < 2.0)
liquid (2.6.3)
loofah (2.1.1)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
mail (2.7.0)
mini_mime (>= 0.1.1)
metaclass (0.0.4)
mime-types (3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2016.0521)
mimemagic (0.3.2)
mini_mime (1.0.0)
mini_portile2 (2.1.0)
minitest (5.11.1)
mocha (1.3.0)
metaclass (~> 0.0.1)
multi_json (1.13.0)
mysql2 (0.4.10)
net-ldap (0.12.1)
nokogiri (1.7.2)
mini_portile2 (~> 2.1.0)
protected_attributes (1.1.4)
activemodel (>= 4.0.1, < 5.0)
public_suffix (3.0.1)
rack (1.6.8)
rack-openid (1.4.2)
rack (>= 1.1.0)
ruby-openid (>= 2.1.8)
rack-test (0.6.3)
rack (>= 1.0)
rails (4.2.8)
actionmailer (= 4.2.8)
actionpack (= 4.2.8)
actionview (= 4.2.8)
activejob (= 4.2.8)
activemodel (= 4.2.8)
activerecord (= 4.2.8)
activesupport (= 4.2.8)
bundler (>= 1.3.0, < 2.0)
railties (= 4.2.8)
sprockets-rails
rails-deprecated_sanitizer (1.0.3)
activesupport (>= 4.2.0.alpha)
rails-dom-testing (1.0.9)
activesupport (>= 4.2.0, < 5.0)
nokogiri (~> 1.6)
rails-deprecated_sanitizer (>= 1.0.1)
rails-html-sanitizer (1.0.3)
loofah (~> 2.0)
railties (4.2.8)
actionpack (= 4.2.8)
activesupport (= 4.2.8)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rake (12.3.0)
rbpdf (1.19.3)
htmlentities
rbpdf-font (~> 1.19.0)
rbpdf-font (1.19.1)
rdoc (4.3.0)
redcarpet (3.4.0)
redmine_crm (0.0.34)
liquid (< 2.6.4)
request_store (1.0.5)
rmagick (2.16.0)
roadie (3.2.2)
css_parser (~> 1.4)
nokogiri (~> 1.5)
roadie-rails (1.1.1)
railties (>= 3.0, < 5.1)
roadie (~> 3.1)
ruby-openid (2.3.0)
rubyzip (1.2.1)
selenium-webdriver (2.53.4)
childprocess (~> 0.5)
rubyzip (~> 1.0)
websocket (~> 1.0)
simplecov (0.9.2)
docile (~> 1.1.0)
multi_json (~> 1.0)
simplecov-html (~> 0.9.0)
simplecov-html (0.9.0)
sprockets (3.7.1)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
sprockets-rails (3.2.1)
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets (>= 3.0.0)
test_after_commit (0.4.2)
activerecord (>= 3.2)
thor (0.20.0)
thread_safe (0.3.6)
tzinfo (1.2.4)
thread_safe (~> 0.1)
websocket (1.2.5)
xpath (0.1.4)
nokogiri (~> 1.3)
yard (0.9.12)
PLATFORMS
ruby
DEPENDENCIES
actionpack-xml_parser
capybara
coderay (~> 1.1.1)
httpclient
i18n (~> 0.7.0)
jquery-rails (~> 3.1.4)
mime-types (~> 3.0)
mimemagic
minitest
mocha
mysql2 (~> 0.4.6)
net-ldap (~> 0.12.0)
nokogiri (~> 1.7.2)
protected_attributes
rack-openid
rails (= 4.2.8)
rails-dom-testing
rails-html-sanitizer (>= 1.0.3)
rbpdf (~> 1.19.3)
rdoc (~> 4.3)
redcarpet (~> 3.4.0)
redmine_crm
request_store (= 1.0.5)
rmagick (>= 2.14.0)
roadie (~> 3.2.1)
roadie-rails (~> 1.1.1)
ruby-openid (~> 2.3.0)
selenium-webdriver (~> 2.53.4)
simplecov (~> 0.9.1)
test_after_commit (~> 0.4.2)
tzinfo-data
yard
BUNDLED WITH
1.16.1
== Redmine A1 theme
Copyright (C) 2011-2017 Kirill Bezrukov
http://www.redmineup.com/
== 2017-08-25 v2.0.0
* Redmine 3.4 fixes
* New styles for checkbox and radio inputs
* Multiple select2 styles
* Margin fixes for inputs
* Select2 styles for new CRM
* Date field styles
* Glyphs for moving arrows on the main menu
* New object "+" button support
* Tabs buttons styles
* Gravatar fixes for Redmine 3.3
* Responsive colors
== 2014-09-24 v1.1.3
* New styles for select
* Fixes for products plugin
== 2013-10-17 v1.1.2
* Contacts 3.2.6 support (tags)
* redmine_tags plugin support
* Search field styles
== 2013-04-30 v1.1.1
* Redmine 2.3 support
* Datetime picker styles
* Autocomplete styles
== 2013-01-01 v1.1.0
* Redmine 2.2 support
* CRM plugin 3.1 support
* Invoices plugin 2.0.1 support
* Helpdesk plugin 2.1.0 support
* Retina display support (thumbnails, contacts avatars, logo)
\ No newline at end of file
LICENSING
RedmineUP Licencing
This End User License Agreement is a binding legal agreement between you and RedmineUP. Purchase, installation or use of RedmineUP Extensions provided on redmineup.com signifies that you have read, understood, and agreed to be bound by the terms outlined below.
RedmineUP GPL Licencing
All Redmine Extensions produced by RedmineUP are released under the GNU General Public License, version 2 (http://www.gnu.org/licenses/gpl-2.0.html). Specifically, the Ruby code portions are distributed under the GPL license. If not otherwise stated, all images, manuals, cascading style sheets, and included JavaScript are NOT GPL, and are released under the RedmineUP Proprietary Use License v1.0 (See below) unless specifically authorized by RedmineUP. Elements of the extensions released under this proprietary license may not be redistributed or repackaged for use other than those allowed by the Terms of Service.
RedmineUP Proprietary Use License (v1.0)
The RedmineUP Proprietary Use License covers any images, cascading stylesheets, manuals and JavaScript files in any extensions produced and/or distributed by redmineup.com. These files are copyrighted by redmineup.com (RedmineUP) and cannot be redistributed in any form without prior consent from redmineup.com (RedmineUP)
Usage Terms
You are allowed to use the Extensions on one or many "production" domains, depending on the type of your license
You are allowed to make any changes to the code, however modified code will not be supported by us.
Modification Of Extensions Produced By RedmineUP.
You are authorized to make any modification(s) to RedmineUP extension Ruby code. However, if you change any Ruby code and it breaks functionality, support may not be available to you.
In accordance with the RedmineUP Proprietary Use License v1.0, you may not release any proprietary files (modified or otherwise) under the GPL license. The terms of this license and the GPL v2 prohibit the removal of the copyright information from any file.
Please contact us if you have any requirements that are not covered by these terms.
\ No newline at end of file
if (window.jQuery) {
$(window).load(function(){
if (window.devicePixelRatio > 1) {
var images = findImagesByRegexp('contacts_thumbnail', document);
for(var i = 0; i < images.length; i++) {
var lowres = images[i].src;
old_size = lowres.match(/\/(\d*)$/)[1]
var highres = lowres.replace(/\/(\d*)$/, "/" + String(old_size*2));
images[i].src = highres;
}
var images = findImagesByRegexp(/gravatar.com\/avatar.*size=\d+/, document)
for(var i = 0; i < images.length; i++) {
var lowres = images[i].src;
old_size = lowres.match(/size=(\d+)/)[1]
var highres = lowres.replace(/size=(\d+)/, "size=" + String(old_size*2));
images[i].src = highres;
images[i].height = old_size;
images[i].width = old_size;
}
var images = findImagesByRegexp(/\/attachments\/thumbnail\/\d+$/, document)
for(var i = 0; i < images.length; i++) {
var lowres = images[i].src;
var height = images[i].height
var width = images[i].width
var highres = lowres + "?size=" + Math.max(height, width)*2;
if (Math.max(height, width) > 0) {
images[i].src = highres;
images[i].height = height;
images[i].width = width;
}
}
// Sized thumbnails
var images = findImagesByRegexp(/\/attachments\/thumbnail\/\d+\/\d+$/, document)
for(var i = 0; i < images.length; i++) {
var lowres = images[i].src;
var height = images[i].height
var width = images[i].width
old_size = lowres.match(/\/(\d*)$/)[1]
var highres = lowres.replace(/\/(\d*)$/, "/" + String(old_size*2));
images[i].src = highres;
if (Math.max(height, width) > 0) {
images[i].src = highres;
images[i].height = height;
images[i].width = width;
}
}
// People avatars
var images = findImagesByRegexp(/people\/avatar.*size=\d+$/, document)
for(var i = 0; i < images.length; i++) {
var lowres = images[i].src;
old_size = lowres.match(/size=(\d+)$/)[1]
var highres = lowres.replace(/size=(\d+)$/, "size=" + String(old_size*2));
images[i].src = highres;
}
}
});
} else {
document.observe("dom:loaded", function() {
if (window.devicePixelRatio > 1) {
var images = findImagesByRegexp('thumbnail', document);
for(var i = 0; i < images.length; i++) {
var lowres = images[i].src;
old_size = lowres.match(/size=(\d*)$/)[1]
var highres = lowres.replace(/size=(\d*)$/, "size=" + String(old_size*2));
images[i].src = highres;
}
var images = findImagesByRegexp(/gravatar.com\/avatar.*size=\d+/, document)
for(var i = 0; i < images.length; i++) {
var lowres = images[i].src;
old_size = lowres.match(/size=(\d+)/)[1]
var highres = lowres.replace(/size=(\d+)/, "size=" + String(old_size*2));
images[i].src = highres;
images[i].height = old_size;
images[i].width = old_size;
}
}
});
}
function findImagesByRegexp(regexp, parentNode) {
var images = Array.prototype.slice.call((parentNode || document).getElementsByTagName('img'));
var length = images.length;
var ret = [];
for(var i = 0; i < length; ++i) {
if(images[i].src.search(regexp) != -1) {
ret.push(images[i]);
}
}
return ret;
};
Subproject commit d6572d7d606f687906da739d723abf49017fb4a4
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment