Merge pull request #6609 from SylvainCorlay/widgetcssclasses

Add semantic classes to top-level containers for single widgets
This commit is contained in:
Jonathan Frederic 2014-10-03 15:53:51 -04:00
commit eef30e10c0
4 changed files with 10 additions and 10 deletions

View File

@ -11,7 +11,7 @@ define([
render : function(){
// Called when view is rendered.
this.$el
.addClass('widget-hbox');
.addClass('widget-hbox widget-checkbox');
this.$label = $('<div />')
.addClass('widget-label')
.appendTo(this.$el)

View File

@ -11,7 +11,7 @@ define([
render : function(){
// Called when view is rendered.
this.$el
.addClass('widget-hbox');
.addClass('widget-hbox widget-slider');
this.$label = $('<div />')
.appendTo(this.$el)
.addClass('widget-label')
@ -189,7 +189,7 @@ define([
render : function(){
// Called when view is rendered.
this.$el
.addClass('widget-hbox');
.addClass('widget-hbox widget-text');
this.$label = $('<div />')
.appendTo(this.$el)
.addClass('widget-label')
@ -297,7 +297,7 @@ define([
render : function(){
// Called when view is rendered.
this.$el
.addClass('widget-hbox');
.addClass('widget-hbox widget-progress');
this.$label = $('<div />')
.appendTo(this.$el)
.addClass('widget-label')

View File

@ -12,7 +12,7 @@ define([
render : function(){
// Called when view is rendered.
this.$el
.addClass('widget-hbox');
.addClass('widget-hbox widget-dropdown');
this.$label = $('<div />')
.appendTo(this.$el)
.addClass('widget-label')
@ -152,7 +152,7 @@ define([
render : function(){
// Called when view is rendered.
this.$el
.addClass('widget-hbox');
.addClass('widget-hbox widget-radio');
this.$label = $('<div />')
.appendTo(this.$el)
.addClass('widget-label')
@ -251,7 +251,7 @@ define([
render: function() {
// Called when view is rendered.
this.$el
.addClass('widget-hbox');
.addClass('widget-hbox widget-toggle-buttons');
this.$label = $('<div />')
.appendTo(this.$el)
.addClass('widget-label')
@ -381,7 +381,7 @@ define([
render : function(){
// Called when view is rendered.
this.$el
.addClass('widget-hbox');
.addClass('widget-hbox widget-select');
this.$label = $('<div />')
.appendTo(this.$el)
.addClass('widget-label')

View File

@ -47,7 +47,7 @@ define([
render: function(){
// Called when view is rendered.
this.$el
.addClass('widget-hbox');
.addClass('widget-hbox widget-textarea');
this.$label = $('<div />')
.appendTo(this.$el)
.addClass('widget-label')
@ -135,7 +135,7 @@ define([
render: function(){
// Called when view is rendered.
this.$el
.addClass('widget-hbox');
.addClass('widget-hbox widget-text');
this.$label = $('<div />')
.addClass('widget-label')
.appendTo(this.$el)