summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2014-08-15 16:27:19 -0400
committerDavid Thompson <dthompson2@worcester.edu>2014-08-15 16:27:19 -0400
commit362b9007077248edfe3d6b0ad38f6d07c7aaa10e (patch)
tree19cb3322822e4f5f662f5016df2768b785fb2438
parent8fa434d2e897060d7dbbc1338346b0c40b862f90 (diff)
Add a currently useless abort button to the package install modal.
* js/guix-packages.js (guix.view): Render abort button in derivation phase.
-rw-r--r--js/guix-packages.js2
1 files changed, 1 insertions, 1 deletions
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", {