Commit 9ece08ec authored by Emmanuel Kasper's avatar Emmanuel Kasper Committed by Dietmar Maurer

Add HTML doctype to our web ui, remove IE10-specific standard mode tag.

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: 's avatarEmmanuel Kasper <e.kasper@proxmox.com>
parent 050383dc
......@@ -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" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment