forked from clientIO/appmixer-demo-firebase-vanilla
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
113 lines (100 loc) · 3.75 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
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
<!doctype html>
<!--
Copyright 2016 Google Inc. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License
Modifications copyright (C) 2022 client IO s.r.o.
-->
<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">
<meta name="msapplication-tap-highlight" content="no">
<meta name="description" content="Demonstrates the use of Google Cloud Database with a Firebase DB">
<title>Appmixer Embedding Quickstart</title>
<link rel="stylesheet" href="main.css">
<link rel="icon" href="favicon.ico"/>
</head>
<body>
<!-- Splash Page -->
<div id="splash-page">
<h1>Appmixer Embedding Quickstart</h1>
<button id="sign-in-button">Sign in with Google</button>
</div>
<header id="main-header">
<h1>Appmixer Embedding Quickstart</h1>
<!-- Navigation Bar -->
<nav>
<a href="#recent">Recent</a>
<a href="#posts">My Posts</a>
<a href="#integrations">My Integrations</a>
<a href="#automations">My Automations</a>
</nav>
<a id="add-post-button" href="#new-post"></a>
<button id="sign-out-button">Sign out</button>
</header>
<main>
<!-- New Post Page -->
<div id="page-new-post" class="page">
<dialog>
<form id="new-post-form" action="#">
<h1>New Post</h1>
<label for="new-post-title">Title</label>
<input id="new-post-title" type="text" required>
<label for="new-post-message">Message</label>
<textarea id="new-post-message" required></textarea>
<button type="submit">Add Post</button>
</form>
</dialog>
</div>
<!-- Recent Posts Page -->
<div id="page-recent" class="page">
<div class="posts-container"></div>
</div>
<!-- Posts Page -->
<div id="page-posts" class="page">
<div class="posts-container"></div>
</div>
<!-- Integrations Page -->
<div id="page-integrations" class="page">
<nav>
<a href="#integrations">All Integrations</a>
<a href="#integrations/enabled">Enabled Integrations</a>
</nav>
<section>
<div id="appmixer-integrations"></div>
</section>
</div>
<!-- Automations Page -->
<div id="page-automations" class="page">
<section>
<div id="appmixer-flow-manager"></div>
</section>
</div>
<!-- Designer Page -->
<div id="page-designer" class="page">
<section>
<div id="appmixer-designer"></div>
</section>
</div>
</main>
<!-- Import and configure the Firebase SDK -->
<!-- These scripts are made available when the app is served or deployed on Firebase Hosting -->
<!-- If you do not serve/host your project using Firebase Hosting see https://firebase.google.com/docs/web/setup -->
<script src="/__/firebase/9.14.0/firebase-app-compat.js"></script>
<script src="/__/firebase/9.14.0/firebase-auth-compat.js"></script>
<script src="/__/firebase/9.14.0/firebase-database-compat.js"></script>
<script src="/__/firebase/init.js"></script>
<!-- Replace with your own Appmixer SDK coming from your Appmixer tenant: https://my.[YOUR_TENANT].appmixer.cloud/appmixer/appmixer.js -->
<script src="https://my.qa.appmixer.com/appmixer/appmixer.js"></script>
<script async type="module" src="scripts/main.js"></script>
</body>
</html>