-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun.html
35 lines (28 loc) · 1.11 KB
/
run.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Run | DriveApps</title>
<link rel="stylesheet" type="text/css" href="css/style.css" />
</head>
<body>
<div id="form-output" class="form-output">
<div class="loading-spinner"></div>
</div>
<!-- Scripts -->
<script src="config.js"></script>
<script src="js/run.js"></script>
<!-- Option A) Directly load Client Library -->
<!-- <script src="https://YOUR-DRIVEWORKS-LIVE-SERVER-URL.COM/DriveworksLiveIntegrationClient.min.js" onload="dwClientLoaded()"></script> -->
<!-- Option B) Inject Client Library dynamically from server url in config file -->
<script>
(function(doc, script) {
script = doc.createElement("script");
script.src = config.serverUrl + "/DriveWorksLiveIntegrationClient.min.js";
script.onload = () => dwClientLoaded(); // Custom local function run when client has loaded
doc.body.appendChild(script);
}(document));
</script>
</body>
</html>