[pve-devel] [PATCH manager stable-4] add eol notice

Dominik Csapak d.csapak at proxmox.com
Fri May 25 13:57:59 CEST 2018


since pve 4.4 goes out of support in june, add a notice at the top with
a link to the faq, where the EOL dates are

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/css/ext6-pve.css      |  7 +++++++
 www/manager6/Workspace.js | 12 ++++++++++--
 2 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/www/css/ext6-pve.css b/www/css/ext6-pve.css
index f42e935e..0114604f 100644
--- a/www/css/ext6-pve.css
+++ b/www/css/ext6-pve.css
@@ -517,3 +517,10 @@ table.osds td:first-of-type {
 .x-webkit :not(.x-form-textarea-body) > .x-form-trigger-wrap {
     height: initial;
 }
+
+.eolicon {
+    position: relative;
+    top: 4px;
+    float: left;
+    margin-right: 5px;
+}
diff --git a/www/manager6/Workspace.js b/www/manager6/Workspace.js
index d5e7d718..13a3d33c 100644
--- a/www/manager6/Workspace.js
+++ b/www/manager6/Workspace.js
@@ -187,7 +187,7 @@ Ext.define('PVE.StdWorkspace', {
 	if (PVE.VersionInfo) {
 	    var version = PVE.VersionInfo.version + '-' + PVE.VersionInfo.release + '/' +
 		PVE.VersionInfo.repoid;
-	    ui.update('Virtual Environment ' + version);
+	    ui.update('Virtual Environment<br>' + version );
 	} else {
 	    ui.update('Virtual Environment');
 	}
@@ -303,11 +303,19 @@ Ext.define('PVE.StdWorkspace', {
 				'<img style="padding-top:4px;padding-right:5px" src="/pve2/images/proxmox_logo.png"/></a>'
 			},
 			{
-			    minWidth: 200,
 			    id: 'versioninfo',
 			    html: 'Virtual Environment'
 			},
 			{
+			    id: 'eolannouncement',
+			    padding: '0 0 0 15',
+			    width: 220,
+			    html: '<a href="https://pve.proxmox.com/wiki/FAQ" target="_blank">'+
+				    '<i class="fa fa-2x eolicon critical fa-exclamation-triangle"></i> ' +
+				    'Support for PVE 4.4 ends on 30.06.2018. ' +
+				    'Click for Details.</a>'
+			},
+			{
 			    xtype: 'pveGlobalSearchField',
 			    tree: rtree
 			},
-- 
2.11.0





More information about the pve-devel mailing list