mirror of
https://github.com/ohwgiles/laminar.git
synced 2026-03-02 03:40:21 +00:00
improve run status icon consistency
This commit is contained in:
@@ -54,7 +54,7 @@ const WebsocketHandler = function() {
|
||||
const Utils = {
|
||||
methods: {
|
||||
runIcon(result) {
|
||||
return result === "success" ? '<span style="color:forestgreen;font-family:\'Zapf Dingbats\';">✔</span>' : result === "failed" || result === "aborted" ? '<span style="color:crimson;">✘</span>' : '<img class="spin small" src="/progress.gif">';
|
||||
return result === "success" ? '<img src="/tick.gif">' : result === "failed" || result === "aborted" ? '<img src="/cross.gif">' : '<img src="/spin.gif">';
|
||||
},
|
||||
formatDate: function(unix) {
|
||||
// TODO: reimplement when toLocaleDateString() accepts formatting options on most browsers
|
||||
|
||||
Reference in New Issue
Block a user