mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-29 17:42:12 +08:00
ToolForm: Fix execute button style
This commit is contained in:
@@ -178,10 +178,11 @@ define(['mvc/ui/ui-portlet', 'mvc/ui/ui-misc',
|
||||
title: '<b>' + self.model.get('name') + '</b> ' + self.model.get('description'),
|
||||
operations: operations,
|
||||
buttons: {
|
||||
execute: new Ui.ButtonIcon({
|
||||
execute: new Ui.Button({
|
||||
icon : 'fa-check',
|
||||
tooltip : 'Execute the tool',
|
||||
title : 'Execute',
|
||||
cls : 'btn btn-primary',
|
||||
floating : 'clear',
|
||||
onclick : function() {
|
||||
self.job_handler.submit();
|
||||
|
||||
@@ -102,7 +102,7 @@ var Button = Backbone.View.extend({
|
||||
id : null,
|
||||
title : '',
|
||||
floating : 'right',
|
||||
cls : 'btn btn-default',
|
||||
cls : 'ui-button btn btn-default',
|
||||
icon : ''
|
||||
},
|
||||
|
||||
@@ -131,7 +131,7 @@ var Button = Backbone.View.extend({
|
||||
|
||||
// element
|
||||
_template: function(options) {
|
||||
var str = '<button id="' + options.id + '" type="submit" style="float: ' + options.floating + ';" type="button" class="ui-button ' + options.cls + '">';
|
||||
var str = '<button id="' + options.id + '" type="submit" style="float: ' + options.floating + ';" type="button" class="' + options.cls + '">';
|
||||
if (options.icon) {
|
||||
str += '<i class="icon fa ' + options.icon + '"></i> ' ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user