UI cleanup for tasks

This commit is contained in:
Mark McDowall
2014-09-12 07:31:32 -07:00
parent 2b0ddb6131
commit 6b912a56f0
4 changed files with 21 additions and 13 deletions
+8 -6
View File
@@ -44,15 +44,17 @@
.text-overflow();
}
.relative-date-cell {
width : 150px;
cursor: default;
.relative-date-cell, .relative-time-cell {
.text-overflow();
cursor : default;
.tooltip-inner {
max-width : 250px;
}
}
.relative-time-cell {
cursor: default;
.text-overflow();
.relative-date-cell {
width : 150px;
}
.history-event-type-cell {
+5 -4
View File
@@ -16,10 +16,11 @@ define(
this.$el.empty();
var task = this.model.get('name');
var name = this.model.get('name');
var task = this.model.get('taskName');
this.$el.html(
'<i class="icon-cogs x-execute" title="Execute {0}"></i>'.format(task)
'<i class="icon-refresh icon-can-spin x-execute" title="Execute {0}"></i>'.format(name)
);
CommandController.bindToCommand({
@@ -33,8 +34,8 @@ define(
},
_executeTask: function () {
CommandController.Execute(this.model.get('name'), {
name : this.model.get('name')
CommandController.Execute(this.model.get('taskName'), {
name : this.model.get('taskName')
});
}
});