From 362b9007077248edfe3d6b0ad38f6d07c7aaa10e Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 15 Aug 2014 16:27:19 -0400 Subject: Add a currently useless abort button to the package install modal. * js/guix-packages.js (guix.view): Render abort button in derivation phase. --- js/guix-packages.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js') diff --git a/js/guix-packages.js b/js/guix-packages.js index 28d6cce..024eb8c 100644 --- a/js/guix-packages.js +++ b/js/guix-packages.js @@ -312,7 +312,7 @@ guix.view = function(ctrl) { }, "Install"), ]; case guix.PHASE_DERIVATION: - return m(".btn.btn-default.disabled", "Please wait..."); + return m(".btn.btn-danger", "Abort"); case guix.PHASE_SUCCESS: case guix.PHASE_ERROR: return m(".btn.btn-primary", { -- cgit v1.2.3