You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by mi...@apache.org on 2018/08/20 20:26:32 UTC

[trafficcontrol] 01/03: Add TO old UI deprecation bar

This is an automated email from the ASF dual-hosted git repository.

mitchell852 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git

commit c3d43470cf1ed850fb9857bb5428cbdaa89006b8
Author: Robert Butts <ro...@apache.org>
AuthorDate: Mon Aug 13 11:29:29 2018 -0600

    Add TO old UI deprecation bar
    
    Fixes #2662
---
 traffic_ops/app/public/css/site.css      | 8 ++++++++
 traffic_ops/app/templates/navbar.html.ep | 1 +
 2 files changed, 9 insertions(+)

diff --git a/traffic_ops/app/public/css/site.css b/traffic_ops/app/public/css/site.css
index effbf29..e42baae 100644
--- a/traffic_ops/app/public/css/site.css
+++ b/traffic_ops/app/public/css/site.css
@@ -311,3 +311,11 @@ a.disabled_button, .disabled_button{ -moz-border-bottom-colors: none; -moz-borde
 	color: white !important;
 }
 .ui-dialog .ui-dialog-titlebar-close span { display: block; }
+
+.deprecatedBar {
+    border-bottom: solid 2px #000;
+    padding: 3px 0;
+    text-align: left;
+    color: red;
+    font-size: 20px;
+}
diff --git a/traffic_ops/app/templates/navbar.html.ep b/traffic_ops/app/templates/navbar.html.ep
index ec1b697..ee27f6f 100644
--- a/traffic_ops/app/templates/navbar.html.ep
+++ b/traffic_ops/app/templates/navbar.html.ep
@@ -14,6 +14,7 @@
  -->
 
 <!-- Note: add a page here, mod the site.css as well! -->
+<div class="deprecatedBar">WARNING: This old interface is deprecated! It will be removed in Traffic Control 4.0! Please use <a href="<%= $config->{'portal'}{'base_url'} %>">Traffic Portal</a></div>
 	<ul id="jMenu">
 	  	<li><a id="nav-eh">Health</a>
 	  		<ul>