commit/galaxy-central: guerler: Ui: Fix class name
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/03b43380eaaf/ Changeset: 03b43380eaaf User: guerler Date: 2015-02-14 20:44:06+00:00 Summary: Ui: Fix class name Affected #: 5 files diff -r 6d494d75321150a815e3fc71fbd171f854dc1615 -r 03b43380eaaf23a761d83f31a2c8fd045ba0c95d client/galaxy/scripts/mvc/ui/ui-button-check.js --- a/client/galaxy/scripts/mvc/ui/ui-button-check.js +++ b/client/galaxy/scripts/mvc/ui/ui-button-check.js @@ -35,7 +35,7 @@ if (new_val !== undefined) { this.current = new_val; this.$el.removeClass() - .addClass('ui-checkbutton') + .addClass('ui-button-check') .addClass(this.options.icons[new_val]); this.options.onchange && this.options.onchange(new_val); } diff -r 6d494d75321150a815e3fc71fbd171f854dc1615 -r 03b43380eaaf23a761d83f31a2c8fd045ba0c95d static/scripts/mvc/ui/ui-button-check.js --- a/static/scripts/mvc/ui/ui-button-check.js +++ b/static/scripts/mvc/ui/ui-button-check.js @@ -35,7 +35,7 @@ if (new_val !== undefined) { this.current = new_val; this.$el.removeClass() - .addClass('ui-checkbutton') + .addClass('ui-button-check') .addClass(this.options.icons[new_val]); this.options.onchange && this.options.onchange(new_val); } diff -r 6d494d75321150a815e3fc71fbd171f854dc1615 -r 03b43380eaaf23a761d83f31a2c8fd045ba0c95d static/scripts/packed/mvc/ui/ui-button-check.js --- a/static/scripts/packed/mvc/ui/ui-button-check.js +++ b/static/scripts/packed/mvc/ui/ui-button-check.js @@ -1,1 +1,1 @@ -define(["utils/utils"],function(a){return Backbone.View.extend({optionsDefault:{icons:["fa fa-square-o","fa fa-minus-square-o","fa fa-check-square-o"],value:0},initialize:function(c){this.options=a.merge(c,this.optionsDefault);this.setElement($("<div/>"));this.value(this.options.value);var b=this;this.$el.on("click",function(){b.current=(!b.current&&2)||0;b.value(b.current);b.options.onclick&&b.options.onclick()})},value:function(b){if(b!==undefined){this.current=b;this.$el.removeClass().addClass("ui-checkbutton").addClass(this.options.icons[b]);this.options.onchange&&this.options.onchange(b)}return this.current}})}); \ No newline at end of file +define(["utils/utils"],function(a){return Backbone.View.extend({optionsDefault:{icons:["fa fa-square-o","fa fa-minus-square-o","fa fa-check-square-o"],value:0},initialize:function(c){this.options=a.merge(c,this.optionsDefault);this.setElement($("<div/>"));this.value(this.options.value);var b=this;this.$el.on("click",function(){b.current=(!b.current&&2)||0;b.value(b.current);b.options.onclick&&b.options.onclick()})},value:function(b){if(b!==undefined){this.current=b;this.$el.removeClass().addClass("ui-button-check").addClass(this.options.icons[b]);this.options.onchange&&this.options.onchange(b)}return this.current}})}); \ No newline at end of file diff -r 6d494d75321150a815e3fc71fbd171f854dc1615 -r 03b43380eaaf23a761d83f31a2c8fd045ba0c95d static/style/blue/base.css --- a/static/style/blue/base.css +++ b/static/style/blue/base.css @@ -1446,7 +1446,7 @@ .ui-form-slider .ui-form-slider-element{width:calc(100% - 110px);float:left;top:8px;left:10px} .ui-radiobutton{width:100%}.ui-radiobutton label{height:23px;line-height:1em} .ui-radiobutton i{padding-right:5px} -.ui-checkbutton{font-size:1.2em;width:1.2em;cursor:pointer} +.ui-button-check{font-size:1.2em;width:1.2em;cursor:pointer} .ui-select{position:relative}.ui-select .button{position:absolute;top:5px;right:5px} .ui-select .select2-container{width:100%} .ui-select select{position:relative;top:0px;height:27px;width:100%;padding-left:5px;padding-right:20px;cursor:pointer;background:transparent;-webkit-appearance:none;border:1px solid #bfbfbf;-moz-border-radius:3px;border-radius:3px} diff -r 6d494d75321150a815e3fc71fbd171f854dc1615 -r 03b43380eaaf23a761d83f31a2c8fd045ba0c95d static/style/src/less/ui.less --- a/static/style/src/less/ui.less +++ b/static/style/src/less/ui.less @@ -403,7 +403,7 @@ } } -.ui-checkbutton { +.ui-button-check { font-size: 1.2em; width: 1.2em; cursor: pointer; Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org