-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathdrive-apps.html
137 lines (104 loc) · 4.67 KB
/
drive-apps.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<title>DriveApps | DriveWorks</title>
<!-- Core Styles -->
<link rel="stylesheet" type="text/css" href="dist/css/core.css" />
<!-- Theme Styles (customizable) -->
<link rel="stylesheet" type="text/css" href="dist/css/theme/theme.css" />
<link rel="stylesheet" type="text/css" href="dist/css/theme/drive-apps.css" />
<!-- Favicon -->
<link rel="icon" href="favicon.ico" />
<!-- Custom Font -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap" rel="stylesheet">
</head>
<body class="template-drive-apps has-navigation">
<main class="content-wrap">
<!-- Navigation -->
<aside class="content-nav">
<div class="logo-wrap">
<a href="projects.html" class="logo" title="Dashboard">
<img src="dist/img/logo-light.svg" alt="DriveWorks" />
</a>
<button id="nav-toggle" class="nav-toggle" title="Menu">
<svg class="icon">
<use xlink:href="dist/icons.svg#menu" />
<title>Menu</title>
</svg>
</button>
</div>
<nav id="nav-list">
<ul>
<li>
<a href="projects.html">
<svg class="icon"><use xlink:href="dist/icons.svg#projects" /></svg>
Projects
</a>
</li>
<li>
<a href="drive-apps.html" class="is-current">
<svg class="icon"><use xlink:href="dist/icons.svg#drive-apps" /></svg>
DriveApps
</a>
</li>
<li>
<a href="history.html">
<svg class="icon"><use xlink:href="dist/icons.svg#history" /></svg>
History
</a>
</li>
<li class="logout-list">
<button type="button" id="logout-nav" class="logout-button">
Log out
</button>
</li>
</ul>
</nav>
<div class="user-actions">
<div id="active-username" class="active-username">
<svg class="icon"><use xlink:href="dist/icons.svg#user" /></svg>
<span class="username"></span>
</div>
<button type="button" id="logout-button" class="logout-button">
Log out
</button>
</div>
</aside>
<section class="content-inner">
<div class="drive-app-inner">
<div class="section-title">
<h1>DriveApps</h1>
</div>
<div id="drive-app-list" class="drive-app-list" style="opacity: 0;">
<div class="drive-app-item skeleton-item"><div class="skeleton-block"></div></div>
<div class="drive-app-item skeleton-item"><div class="skeleton-block"></div></div>
<div class="drive-app-item skeleton-item"><div class="skeleton-block"></div></div>
<div class="drive-app-item skeleton-item"><div class="skeleton-block"></div></div>
</div>
</div>
</section>
<button type="button" id="nav-close" class="nav-overlay" title="Close Menu">
Close Menu
</button>
</main>
<!-- Scripts -->
<script src="config.js"></script>
<script src="dist/js/core.js"></script>
<script src="dist/js/drive-apps.js"></script>
<!-- Option A) Directly load Client Library -->
<!-- <script src="https://YOUR-DRIVEWORKS-LIVE-SERVER-URL.COM/DriveworksLiveIntegrationClient.min.js" onload="dwClientLoaded()" onerror="dwClientLoadError()"></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.onerror = () => dwClientLoadError();
script.onload = () => dwClientLoaded(); // Custom local function run when client has loaded
doc.body.appendChild(script);
}(document));
</script>
</body>
</html>