[pve-devel] [PATCH 2/2] Add HTML doctype to our web ui, remove IE10-specific standard mode tag.

Emmanuel Kasper e.kasper at proxmox.com
Thu Apr 2 10:27:15 CEST 2015


The use of the HTML doctype is recommended for Ext4 and Ext5, and is supported by all
post 2008 browsers.
Basically it tells the browser to interpret the HTML according to standards, and not
according to what IE6 might have thought of it.
This will also drop support for IE6 and IE7, which are anyway not supported by ext5.

The HTML doctype will make all browsers switch to their standard
compliant mode, hence we don't need anymore to toggle this specifically for IE.

Signed-off-by: Emmanuel Kasper <e.kasper at proxmox.com>
---
 PVE/ExtJSIndex.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/ExtJSIndex.pm b/PVE/ExtJSIndex.pm
index 81daf1c..5ecff92 100644
--- a/PVE/ExtJSIndex.pm
+++ b/PVE/ExtJSIndex.pm
@@ -7,10 +7,10 @@ sub get_index {
     my ($lang, $username, $csrftoken, $console) = @_;
 
     my $page = <<_EOD;
+<!DOCTYPE html>
 <html>
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-    <meta http-equiv="X-UA-Compatible" content="IE=10">
     <title>Proxmox Virtual Environment</title>
  
     <link rel="stylesheet" type="text/css" href="/pve2/ext4/resources/css/ext-all.css" />
-- 
2.1.4




More information about the pve-devel mailing list