-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdemo.html
40 lines (37 loc) · 1.4 KB
/
demo.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
<html>
<head>
<meta charset="UTF-8" />
<title>Content Designer - PVL</title>
<link rel="stylesheet" href="https://zesty-io.github.io/parsley/pvl/dist/main.css"/>
</head>
<body>
<div class="header">
<h1>Content Designer Demo</h1>
<div>
<img src="https://brand.zesty.io/zesty-io-logo-horizontal-light-color.png" alt="zesty brand logo" />
</div>
</div>
<div id="app"></div>
<script src="https://zesty-io.github.io/websites/fetch-api-wrapper/zestyio-rest-fetch-wrapper.js"></script>
<script>
function getCookie(cname) {
var name = cname + "=";
var ca = document.cookie.split(';');
for(var i = 0; i < ca.length; i++) {
var c = ca[i];
while (c.charAt(0) == ' ') {
c = c.substring(1);
}
if (c.indexOf(name) == 0) {
return c.substring(name.length, c.length);
}
}
return "";
}
if(getCookie('APP_SID') != ''){
ZestyAPI = new ZestyioRestFetchWrapper('',getCookie('APP_SID'))
}
</script>
<script src="https://zesty-io.github.io/parsley/pvl/dist/bundle.js"></script>
</body>
</html>