-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathindex.html
87 lines (83 loc) · 5.09 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content:"IE=edge" /> <meta
name="viewport" content:"width=device-width, initial-scale=1.0" />
<title>webex-contact-center-widget-starter</title>
<link
href="css/momentum-ui.min.css"
type="text/css"
rel="stylesheet"
/>
<link
href="css/momentum-ui-icons.min.css"
type="text/css"
rel="stylesheet"
/>
<link href="gridstack.min.css" type="text/css" rel="stylesheet" />
<link href="style.css" type="text/css" rel="stylesheet" />
<script>
let AGENTX_SERVICE = {};
</script>
</head>
<body style="width: 100vw; height: 100vh; overflow: hidden">
<md-theme lumos style="width: 100%">
<header
style="
display: flex;
align-items: center;
height: 35px;
padding: 12px;
background-color: var(--md-primary-bg-color);
color: var(--md-primary-text-color);
border-bottom: 1px solid var(--md-primary-seperator-color);
"
>
<img src="./webex_cc_logo.png" style="padding-right: 12px" />
<span style="font-size: 16px; font-weight: bold; padding-right: 12px"
>Demo Widgets</span
>
<md-alert-banner style="flex: 1;" show type="warning" closable>
Some of the demo widgets cannot be previewed, because it needs
additional props like google api key etc.
</md-alert-banner>
<div class="header-right">
<notes-header-widget agent-id="13471-23890"></notes-header-widget>
<md-menu-overlay>
<md-button slot="menu-trigger" color="green" outline>Resources <md-icon style="padding-left: 5px;" name="icon-arrow-down-optical_14"></md-icon></md-button>
<md-list style="width: 100%;" label="mmmmmmeeee">
<md-list-item aria-label="Neptunium" slot="list-item"><md-icon style="padding-right: 12px;;" name="icon-document_24"></md-icon><a href="https://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cust_contact/contact_center/webexcc/developer_20/webexcc_b_20-desktop-developer-guide-/webexcc_m_30-build-a-custom-widget.html" target="_blank">Desktop Developer Guide</a></md-list-item>
<md-list-item aria-label="Neptunium" slot="list-item"><md-icon style="padding-right: 12px;;" name="icon-document_24"></md-icon><a href="https://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cust_contact/contact_center/webexcc/developer_20/webexcc_b_20-desktop-developer-guide-/webexcc_m_30-javascript-sdk.html" target="_blank">Desktop SDK</a></md-list-item>
<md-list-item aria-label="Neptunium" slot="list-item" style="display: flex;justify-content: center; align-items: center;"><md-icon style="padding-right: 12px;;" name="icon-github-circle_24"></md-icon><a href="https://github.com/CiscoDevNet/webex-contact-center-widget-starter" target="_blank">Desktop Starter Widgets</a></md-list-item>
<md-list-item aria-label="Neptunium" slot="list-item" style="display: flex;justify-content: center; align-items: center;"><md-icon style="padding-right: 12px;;" name="icon-apps_24"></md-icon><a href="https://momentum.design/ " target="_blank">Momentum Design</a></md-list-item>
<md-list-item aria-label="Neptunium" slot="list-item" style="display: flex;justify-content: center; align-items: center;"><md-icon style="padding-right: 12px;;" name="icon-apps_24"></md-icon><a href="https://momentum-design.github.io/momentum-ui/?path=/story/accordion--default" target="_blank">Momentum Web Component Storybook</a></md-list-item>
<md-list-item aria-label="Neptunium" slot="list-item" style="display: flex;justify-content: center; align-items: center;"><md-icon style="padding-right: 12px;;" name="icon-github-circle_24"></md-icon><a href="https://github.com/momentum-design/momentum-ui/tree/master/web-components" target="_blank">Momentum Web Component</a></md-list-item>
</md-list>
</md-menu-overlay>
<md-toggle-switch click="handleThemeToggle" style="padding-left:12px"></md-toggle-switch>
Switch Theme</md-toggle-switch
>
</div>
</header>
<main
style="background-color: var(--md-secondary-bg-color); height: calc(100vh - 60px); overflow-x: hidden; overflow-y: auto">
<div
class="grid-stack grid-stack-animate ui-droppable"
id="simple-grid"
></div>
<demo-widget-preview></demo-widget-preview>
</main>
</md-theme>
<script src="gridstack-h5.js"></script>
<script src="widgets/notes-widget.js"></script>
<script src="widgets/covid-by-location.js"></script>
<script src="widgets/timer.js"></script>
<script src="widgets/rss-feed-widget.js"></script>
<script src="widgets/crm.js"></script>
<script src="widgets/hospital-bed-capacity.js"></script>
<script src="widgets/map-widget.js"></script>
<script src="widgets/learning-widget-sample.js"></script>
<script src="demo.js"></script>
</body>
</html>