Bug 1120221 - Add EOL notice/banner on initial pageload
authorEd Morley <emorley@mozilla.com>
Tue, 24 Feb 2015 01:34:54 +0000
changeset 1503 8926d3957c55
parent 1502 ee042d68178e
child 1504 052e24e0e7a5
push id871
push useremorley@mozilla.com
push dateTue, 24 Feb 2015 01:37:44 +0000
bugs1120221
Bug 1120221 - Add EOL notice/banner on initial pageload
css/style.css
js/UserInterface.js
--- a/css/style.css
+++ b/css/style.css
@@ -821,17 +821,17 @@ em.testfail {
   right: 48px;
   text-align: center;
   pointer-events: none;
 } 
 
 #messages {
   border: 1px solid #ddd;
   border-top: none;
-  background: rgba(255, 255, 192, 0.8);
+  background: rgba(255, 255, 192, 0.95);
   padding: 4px;
   display: none;
   margin: 0 auto;
   cursor: default;
   pointer-events: all;
 }
 
 .buildButtons {
--- a/js/UserInterface.js
+++ b/js/UserInterface.js
@@ -156,16 +156,18 @@ var UserInterface = {
 
     $("#pushes").append(
       $('<li id="goBackLi"><a id="goBack" href="#" title="add another ' + Config.goBackPushes + ' pushes"></a></li>')
         .children().first().bind('click', function goBack() {
           self._controller.extendPushRange(-Config.goBackPushes);
           return false;
         }).parent());
 
+    this.showMessage("TBPL will be decommissioned soon. Please try using https://treeherder.mozilla.org and file bugs for any transition-blockers. Thank you!", 'error');
+
     return {
       status: function (status) {
         self.updateStatus(status);
       },
       handleUpdatedPushes: function (updatedPushes) {
         self.handleUpdatedPushes(updatedPushes);
       },
       handleInfraStatsUpdate: function (infraStats) {