-
+
+
+
+
Welcome to the {{ attrs.name }} installer!
-
+
We will have you up and running in just a few moments.
-
+
Welcome to the {{ attrs.name }} maintenance tool.
-
+
diff --git a/static/js/main.js b/static/js/main.js
index 8ec80ab..c95179a 100644
--- a/static/js/main.js
+++ b/static/js/main.js
@@ -1,29 +1,32 @@
// Overwrite loggers with the logging backend
-window.onerror = function(msg, url, line) {
- window.external.invoke(JSON.stringify({
- Log: {
- kind: "error",
- msg: msg + " @ " + url + ":" + line
- }
- }));
-};
-
-// Borrowed from http://tobyho.com/2012/07/27/taking-over-console-log/
-function intercept(method){
- console[method] = function(){
- var message = Array.prototype.slice.apply(arguments).join(' ');
+if (window.external !== undefined && window.external.invoke !== undefined) {
+ window.onerror = function(msg, url, line) {
+ old_onerror(msg, url, line);
window.external.invoke(JSON.stringify({
Log: {
- kind: method,
- msg: message
+ kind: "error",
+ msg: msg + " @ " + url + ":" + line
}
}));
- }
-}
+ };
-var methods = ['log', 'warn', 'error'];
-for (var i = 0; i < methods.length; i++) {
- intercept(methods[i]);
+ // Borrowed from http://tobyho.com/2012/07/27/taking-over-console-log/
+ function intercept(method){
+ console[method] = function(){
+ var message = Array.prototype.slice.apply(arguments).join(' ');
+ window.external.invoke(JSON.stringify({
+ Log: {
+ kind: method,
+ msg: message
+ }
+ }));
+ }
+ }
+
+ var methods = ['log', 'warn', 'error'];
+ for (var i = 0; i < methods.length; i++) {
+ intercept(methods[i]);
+ }
}
// Disable F5
diff --git a/static/js/views.js b/static/js/views.js
index c86a31d..5562b08 100644
--- a/static/js/views.js
+++ b/static/js/views.js
@@ -96,7 +96,7 @@ const DownloadConfig = {
const SelectPackages = {
template: `
-
Select your preferred settings:
+
Select which packages you want to install:
@@ -129,16 +129,29 @@ const SelectPackages = {
-
`,
data: function() {
@@ -268,7 +281,11 @@ const ErrorView = {
{{ msg }}
-
Back
+
`,
data: function() {
@@ -301,7 +318,11 @@ const CompleteView = {