-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathindex.html
170 lines (151 loc) · 9.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
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset=utf-8 />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- Mobile viewing enhancement -->
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<!-- Description should be roughly 155 characters, no double quotes, use keywords -->
<meta name="description" content="Firebase v3 Web Auth Full Functionality Example Code" />
<!-- Format as Primary Keyword - Secondary Keyword | Brand Name, keep under 55 characters -->
<title>Firebase v3 Web Auth Sandbox</title>
<!-- Minimize the number of CSS files for performance -->
<link rel="shortcut icon" href="favicon.png">
<link href='https://fonts.googleapis.com/css?family=Roboto:400,700,100,300,700italic,500,500italic,400italic,300italic,100italic|Roboto+Condensed:300' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="https://code.getmdl.io/1.1.3/material.orange-amber.min.css" />
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="demo-layout-transparent mdl-layout mdl-js-layout">
<!-- Header -->
<header class="mdl-layout__header mdl-layout__header--transparent ">
<div class="mdl-layout__header-row mdl-color-text--grey-700">
<span class="mdl-layout-title">
<a href="/"><img src="../images/firebase-logo.png" alt="logo" height="48"></a>
</span>
<!-- Add spacer, to align navigation to the right -->
<div class="mdl-layout-spacer"></div>
<!-- Navigation -->
<nav class="mdl-navigation">
<a class="mdl-navigation__link" href="javascript:void(0)" id="sign-in-button">
<i class="material-icons">account_circle</i> <span id="account">Sign In</span>
</a>
<a class="mdl-navigation__link" href="javascript:void(0)" id="account-menu-button">
</a>
<a class="mdl-navigation__link" href="javascript:void(0)" id="help-button">
<i class="material-icons">help</i> <span id="help">Help</span>
</a>
</nav>
</div>
</header>
<!-- Side Drawer -->
<div class="mdl-layout__drawer">
<span class="mdl-layout-title"><img src="../images/firebase-logo.png" alt="logo" height="48"></span>
<div class="drawer-separator"></div>
<nav class="mdl-navigation">
<a class="mdl-navigation__link" href="/public"><i class="material-icons">lock_open</i> Public</a>
<a class="mdl-navigation__link" href="/help"><i class="material-icons">help_outline</i> Help</a>
</nav>
</div>
<!--Main Page -->
<main class="mdl-layout__content page-content">
<!--Card Section -->
<section class="mdl-grid">
<!-- Center Card -->
<div class="mdl-layout-spacer"></div>
<div class="mdl-card mdl-shadow--2dp mdl-cell" id="welcome-card">
<div class="mdl-card__title">
<h1 class="mdl-card__title-text mdl-color-text--white">Welcome</h1>
</div>
<div class="mdl-card__supporting-text mdl-typography--headline">
<ul class="demo-list-three mdl-list">
<li class="mdl-list__item mdl-list__item--three-line">
<span class="mdl-list__item-primary-content">
<i class="material-icons mdl-list__item-avatar">public</i>
<span>Create Firebase Web Project</span>
<span class="mdl-list__item-text-body">
Setup a Firebase project. Make note of your configuration parameters.
</span>
</span>
<span class="mdl-list__item-secondary-content">
<a class="mdl-list__item-secondary-action" href="#"><i class="material-icons mdl-color-text--orange-300">looks_one</i></a>
</span>
</li>
<li class="mdl-list__item mdl-list__item--three-line">
<span class="mdl-list__item-primary-content">
<i class="material-icons mdl-list__item-avatar">fingerprint</i>
<span>Enable Authentication</span>
<span class="mdl-list__item-text-body">
Enable all 6 Methods of Authentication. Follow the Firebase instructions.
</span>
</span>
<span class="mdl-list__item-secondary-content">
<a class="mdl-list__item-secondary-action" href="#"><i class="material-icons mdl-color-text--orange-300">looks_two</i></a>
</span>
</li>
<li class="mdl-list__item mdl-list__item--three-line">
<span class="mdl-list__item-primary-content">
<i class="material-icons mdl-list__item-avatar">http</i>
<span>Serve Website</span>
<span class="mdl-list__item-text-body">
Firebase hosting is free for testing. I recommend Cloud9 IDE as your workspace. It's also free.
</span>
</span>
<span class="mdl-list__item-secondary-content">
<a class="mdl-list__item-secondary-action" href="#"><i class="material-icons mdl-color-text--orange-300">looks_3</i></a>
</span>
</li>
</ul>
</div>
<div class="mdl-card__actions mdl-card--border intro-card-actions">
<a class="mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect" href="https://firebase.google.com/docs/auth/">
Firebase Docs
</a>
<div class="mdl-layout-spacer"></div>
<a class="mdl-button mdl-js-button mdl-js-ripple-effect" href="/public">
Public Page
</a>
</div>
</div>
<!-- Center Card -->
<div class="mdl-layout-spacer"></div>
<!--/Card Section -->
</section>
<p class="text-center license">Copyright © 2016 <a class="mdl-color-text--grey-600" href="javascript:void(0)" onclick="window.open('https://rack.pub', 'newwindow', 'width=800, height=400'); return false;">Ron Royston</a>, MIT License</p>
</main>
<!--Main Page Footer Section -->
<footer class="mdl-mini-footer">
<div class="mdl-mini-footer__left-section">
<div class="mdl-logo">
More Information
</div>
<ul class="mdl-mini-footer__link-list">
<li><a href="https://firebase.google.com/docs/auth/">Firebase Authentication</a></li>
<li><a href="https://firebase.google.com/docs/reference/js/index-all">Firebase Web Reference Index</a></li>
</ul>
</div>
</footer>
</div>
<!--Toast Messages Markup -->
<div id="toast" class="mdl-js-snackbar mdl-snackbar">
<div class="mdl-snackbar__text"></div>
<button class="mdl-snackbar__action" type="button"></button>
</div>
<!-- IE Compatibility shims -->
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.2/html5shiv.min.js""></script>
<![endif]-->
<!--[if IE]>
<script src="//cdnjs.cloudflare.com/ajax/libs/es5-shim/4.1.7/es5-shim.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/classlist/2014.01.31/classList.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/selectivizr/1.0.2/selectivizr-min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/flexie/1.0.3/flexie.min.js"></script>
<link href="../assets/ie.css" rel="stylesheet">
<![endif]-->
<!-- end shims -->
<script src="https://www.gstatic.com/firebasejs/3.2.1/firebase.js"></script>
<script defer src="https://code.getmdl.io/1.1.3/material.min.js"></script>
<script src="script.js"></script>
</body>
</html>