Merge pull request #226 from AAMasters/develop
Added 2 new divs + automatic formatting
This commit is contained in:
1 file changed
+32
-22
+32
-22
@@ -1,15 +1,20 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Superalgos Platform</title>
|
||||
<meta name="description" content="The system enabling a collective of humans and machines to collaborate and compete while co-building trading algorithms.">
|
||||
<meta name="description"
|
||||
content="The system enabling a collective of humans and machines to collaborate and compete while co-building trading algorithms.">
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<link href="https://fonts.googleapis.com/css?family=Saira+Condensed:300,600|Saira:300,600&subset=latin-ext,vietnamese" rel="stylesheet">
|
||||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous">
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css?family=Saira+Condensed:300,600|Saira:300,600&subset=latin-ext,vietnamese"
|
||||
rel="stylesheet">
|
||||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css"
|
||||
integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous">
|
||||
<link rel="shortcut icon" type="image/png/ico" href="/html/favicon.ico" />
|
||||
<script src="https://unpkg.com/apollo-client-browser@1.7.0"></script>
|
||||
|
||||
@@ -17,41 +22,46 @@
|
||||
<script type="text/javascript" src="<%= process.env.CANVAS_URL %>Scripts/AppPreLoader.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
function loadCanvas(){
|
||||
function loadCanvas() {
|
||||
if (window.canvasApp.visible === undefined) {
|
||||
window.canvasApp = {
|
||||
version: '1.0.0', // This is used to avoid catching problems at the browser level.
|
||||
sessionToken: '',
|
||||
executingAt: 'Master App',
|
||||
visible: false,
|
||||
topMargin: 130,
|
||||
urlPrefix: '<%= process.env.CANVAS_URL %>',
|
||||
graphQL: {
|
||||
masterAppApiUrl: '<%= process.env.PLATFORM_API_URL %>',
|
||||
},
|
||||
context: {}
|
||||
version: '1.0.0', // This is used to avoid catching problems at the browser level.
|
||||
sessionToken: '',
|
||||
executingAt: 'Master App',
|
||||
visible: false,
|
||||
topMargin: 130,
|
||||
urlPrefix: '<%= process.env.CANVAS_URL %>',
|
||||
graphQL: {
|
||||
masterAppApiUrl: '<%= process.env.PLATFORM_API_URL %>',
|
||||
},
|
||||
context: {}
|
||||
};
|
||||
|
||||
try {
|
||||
loadAdvancedAlgosPlatform();
|
||||
}
|
||||
catch(err) {
|
||||
catch (err) {
|
||||
console.log("[ERROR] MasterApp -> Index -> CanvasApp can not be started. Please check that AAWeb is running.");
|
||||
console.log("[ERROR] MasterApp -> Index -> err = " + err);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function onResize(){
|
||||
if (window.canvasApp === undefined) {return}
|
||||
if (window.canvasApp.eventHandler === undefined) {return}
|
||||
function onResize() {
|
||||
if (window.canvasApp === undefined) { return }
|
||||
if (window.canvasApp.eventHandler === undefined) { return }
|
||||
window.canvasApp.eventHandler.raiseEvent('Browser Resized')
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body id="body" onload="" onresize="onResize()">
|
||||
<div id="masterApp"></div>
|
||||
<div id="canvasApp"></div>
|
||||
<body id="body" onload="loadCanvas() style=" margin: 0; height: 100%; overflow: hidden" onresize="onResize()">
|
||||
|
||||
<div id="masterApp"></div>
|
||||
<div id="canvasApp"></div>
|
||||
<div id="textAreaDiv"></div>
|
||||
<div id="inputDiv"></div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
</html>
|
||||
Reference in new issue
Block a user