Skip to content

Commit 224a770

Browse files
committed
Fixed Implement Gitter chat directly to demo showcase. #84
1 parent b57d4f9 commit 224a770

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/main/webapp/index.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@
2626

2727
</script>
2828

29+
<!-- Gitter Chat - Embed -->
30+
<script>
31+
((window.gitter = {}).chat = {}).options = {
32+
room: 'GwtMaterialDesign/gwt-material'
33+
};
34+
</script>
35+
<script src="https://sidecar.gitter.im/dist/sidecar.v1.js" async defer></script>
36+
2937
<script type="text/javascript" language="javascript" src="gwtmaterialdemo/gwtmaterialdemo.nocache.js"></script>
3038
</head>
3139

@@ -40,6 +48,12 @@
4048
</div>
4149
</noscript>
4250
<style type="text/css">
51+
.gitter-open-chat-button, .gitter-open-chat-button:visited {
52+
background: #2465c0;
53+
}
54+
aside.gitter-chat-embed {
55+
z-index: 9999;
56+
}
4357
.splash-overlay {
4458
top: 0;
4559
left: 0;
@@ -90,5 +104,6 @@
90104
<div class="indeterminate"></div>
91105
</div>
92106
</div>
107+
93108
</body>
94109
</html>

0 commit comments

Comments
 (0)