gns3-web-ui/src/index.html

44 lines
1.1 KiB
HTML
Raw Normal View History

2017-09-25 13:07:52 +02:00
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
2018-07-20 09:01:37 +02:00
<title>GNS3 Web UI</title>
<!-- It's important to have base here because of the script below //-->
2018-07-23 17:57:09 +02:00
<base href="/">
<script>
var userAgent = navigator.userAgent.toLowerCase();
2018-07-20 09:01:37 +02:00
2018-07-23 17:57:09 +02:00
//in case we're running in electron because we need it for resources
if (userAgent.indexOf(' electron/') > -1) {
var base = document.getElementsByTagName('base');
if(base.length > 0) {
base.href ='./';
}
else {
document.write('<base href="./" />');
}
}
</script>
2017-09-25 13:07:52 +02:00
<meta name="viewport" content="width=device-width, initial-scale=1">
2017-10-19 12:16:59 +02:00
<link rel="icon" type="image/x-icon" href="assets/favicon.ico">
2017-09-25 13:07:52 +02:00
2017-10-19 12:16:59 +02:00
<script type="application/javascript">
// Github Pages redirection
(function(){
var redirect = sessionStorage.redirect;
delete sessionStorage.redirect;
if (redirect && redirect != location.href) {
history.replaceState(null, null, redirect);
}
})();
</script>
2017-09-25 13:07:52 +02:00
</head>
<body class="mat-app-background">
2017-09-25 13:07:52 +02:00
<app-root></app-root>
</body>
2017-10-19 12:16:59 +02:00
2017-09-25 13:07:52 +02:00
</html>