mirror of https://github.com/Ombi-app/Ombi
parent
d31fd6f5a2
commit
a65bd3f948
@ -1,17 +1,42 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
|
||||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet">
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Ombi</title>
|
||||
<base href="/" />
|
||||
<link rel="stylesheet" href="/loading.css" />
|
||||
<script src="//maps.google.com/maps/api/js?libraries=visualization&key=AIzaSyBDar8LXU5vbURGTMcNLI0f9AsoSnpiV3I" async defer></script>
|
||||
|
||||
<script src="//maps.google.com/maps/api/js?libraries=visualization&key=AIzaSyBDar8LXU5vbURGTMcNLI0f9AsoSnpiV3I" async
|
||||
defer></script>
|
||||
|
||||
|
||||
</head>
|
||||
<script async defer>
|
||||
var xmlhttp = new XMLHttpRequest();
|
||||
// xmlhttp.onreadystatechange = function () {
|
||||
// if (this.readyState == 4 && this.status == 200) {
|
||||
// var myObj = JSON.parse(this.responseText);
|
||||
// window['_app_base'] = myObj;
|
||||
|
||||
// document.write('<base href="/' + window['_app_base'] + '" />');
|
||||
// }
|
||||
// };
|
||||
xmlhttp.open("GET", "api/v1/Settings/baseurl", false);
|
||||
xmlhttp.send();
|
||||
var myObj = JSON.parse(xmlhttp.responseText);
|
||||
window['_app_base'] = myObj;
|
||||
|
||||
document.write('<base href="/' + window['_app_base'] + '" />');
|
||||
</script>
|
||||
|
||||
<body>
|
||||
<app-ombi><p class="loading">Loading<span>.</span><span>.</span><span>.</span></p></app-ombi>
|
||||
|
||||
<app-ombi>
|
||||
<p class="loading">Loading<span>.</span><span>.</span><span>.</span></p>
|
||||
</app-ombi>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
</html>
|
Loading…
Reference in new issue