From 0f5d302aa7a604ab1141ab4903f8a9a43a79b2d9 Mon Sep 17 00:00:00 2001 From: Michael Irwin Date: Mon, 27 Jan 2025 14:01:30 -0500 Subject: [PATCH] Remove survey prompts, as no longer accepting new submissions (#646) This reverts commit 3935d3ef9268b43eace51d0f16a3f48a29284405. --- handlers/www/assets/app.js | 38 --------------------------------- handlers/www/default/index.html | 33 ++++++++-------------------- 2 files changed, 9 insertions(+), 62 deletions(-) diff --git a/handlers/www/assets/app.js b/handlers/www/assets/app.js index 0f1cab7..f1e9201 100644 --- a/handlers/www/assets/app.js +++ b/handlers/www/assets/app.js @@ -847,44 +847,6 @@ return "None"; } }]) - .controller("SurveyToastController", function($mdToast) { - var ctrl = this; - ctrl.openSurvey = function() { - $mdToast.hide("ok"); - } - ctrl.closeToast = function() { - $mdToast.hide(); - } - }) - .component('surveyRequest', { - template : "Give feedback", - controller : function($mdToast, $timeout) { - var $ctrl = this; - - $ctrl.$onInit = function() { - window.$mdToast = $mdToast; - $timeout(function() { - $mdToast.show({ - hideDelay: 0, - position: 'bottom right', - controller: "SurveyToastController", - controllerAs: "ctrl", - bindToControlller: true, - templateUrl: "survey-toast.html" - }).then(function (result) { - if (result === "ok") { - $ctrl.openSurvey(); - } - }); - }, 300000); // Display toast after five minutes - } - - $ctrl.openSurvey = function() { - window.open("https://docker.qualtrics.com/jfe/form/SV_267blbhIjjf3Mma", "_blank"); - } - - }, - }) .service('TerminalService', ['$window', '$rootScope', function($window, $rootScope) { var fullscreen; var fontSize = getFontSize(); diff --git a/handlers/www/default/index.html b/handlers/www/default/index.html index 234beb2..2669723 100644 --- a/handlers/www/default/index.html +++ b/handlers/www/default/index.html @@ -59,18 +59,17 @@ {{newInstanceBtnText}} - - - - -
+ + + + +

{{instance.ip}}

{{instance.hostname}}

-
- -
-
- +
+ +
+
@@ -228,20 +227,6 @@ -