mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge pull request #7566 from guerler/fix_help_warnings
[19.01] Fix help warnings style
This commit is contained in:
@@ -201,7 +201,7 @@ export default Backbone.View.extend({
|
||||
.append(
|
||||
$("<div/>")
|
||||
.addClass("ui-form-field")
|
||||
.append($("<span/>").addClass("ui-form-info form-text text-muted"))
|
||||
.append($("<span/>").addClass("ui-form-info form-text text-muted mt-2"))
|
||||
.append($("<div/>").addClass("ui-form-backdrop"))
|
||||
)
|
||||
.append($("<div/>").addClass("ui-form-preview"));
|
||||
|
||||
@@ -267,8 +267,7 @@ export default FormBase.extend({
|
||||
/** Templates */
|
||||
_templateHelp: function(options) {
|
||||
var $tmpl = $("<div/>")
|
||||
.addClass("form-help")
|
||||
.addClass("form-text")
|
||||
.addClass("form-help form-text mt-4")
|
||||
.append(options.help);
|
||||
$tmpl.find("a").attr("target", "_blank");
|
||||
$tmpl.find("img").each(function() {
|
||||
|
||||
@@ -840,9 +840,9 @@ button {
|
||||
.warningmessagelarge,
|
||||
.donemessagelarge,
|
||||
.infomessagelarge,
|
||||
.ui-form-help .error,
|
||||
.ui-form-help .warning,
|
||||
.ui-form-help .note {
|
||||
.form-help .error,
|
||||
.form-help .warning,
|
||||
.form-help .note {
|
||||
@extend .alert;
|
||||
min-height: 36px;
|
||||
padding-left: 52px;
|
||||
@@ -891,9 +891,9 @@ button {
|
||||
.warningmessagesmall,
|
||||
.donemessagesmall,
|
||||
.infomessagesmall,
|
||||
.ui-form-help .error,
|
||||
.ui-form-help .warning,
|
||||
.ui-form-help .note {
|
||||
.form-help .error,
|
||||
.form-help .warning,
|
||||
.form-help .note {
|
||||
@extend .alert;
|
||||
padding: 5px;
|
||||
padding-left: 25px;
|
||||
@@ -907,13 +907,13 @@ button {
|
||||
|
||||
.errormessage,
|
||||
.errormessagesmall,
|
||||
.ui-form-help .error {
|
||||
.form-help .error {
|
||||
@extend .alert-danger;
|
||||
}
|
||||
|
||||
.warningmessage,
|
||||
.warningmessagesmall,
|
||||
.ui-form-help .warning {
|
||||
.form-help .warning {
|
||||
@extend .alert-warning;
|
||||
background-image: url(../../images/warn_small.png);
|
||||
}
|
||||
@@ -926,7 +926,7 @@ button {
|
||||
|
||||
.infomessage,
|
||||
.infomessagesmall,
|
||||
.ui-form-help .note {
|
||||
.form-help .note {
|
||||
@extend .alert-info;
|
||||
background-image: url(../../images/info_small.png);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user