Bootstrap 3

New: Updated UI
New: Mobile browser support
Fixed: /favicon.ico will return the favicon now
This commit is contained in:
Mark McDowall 2014-05-04 00:11:43 -07:00
commit 99f2b07a11
148 changed files with 2691 additions and 2054 deletions

View file

@ -53,6 +53,7 @@ define(
if (idleIcon) {
icon.addClass(idleIcon);
}
return this;
};
});

View file

@ -32,14 +32,22 @@ define(
var controlGroup = input.parents('.form-group');
if(controlGroup.length ===0){
if(controlGroup.length === 0) {
controlGroup = input.parent();
}
else{
controlGroup.find('.controls').append('<span class="help-inline error-message">' + error.errorMessage + '</span>');
var inputGroup = controlGroup.find('.input-group');
if (inputGroup.length === 0) {
controlGroup.append('<span class="help-inline error-message">' + error.errorMessage + '</span>');
}
else {
inputGroup.parent().append('<span class="help-block error-message">' + error.errorMessage + '</span>');
}
}
controlGroup.addClass('error');
controlGroup.addClass('has-error');
return controlGroup.find('.help-inline').text();
};