-
Notifications
You must be signed in to change notification settings - Fork 1
/
index-m.html
executable file
·136 lines (136 loc) · 5.47 KB
/
index-m.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
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang=""> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang=""> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang=""> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js" lang="">
<!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="author" content="Green Ido | @greenido | plus.google.com/+greenido">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Noter</title>
<meta name="description" content="A note taking PWA that works with firebase as its backend">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="apple-touch-icon" href="apple-touch-icon.png">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/bootstrap-markdown.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<style>
body {
padding-top: 50px;
padding-bottom: 20px;
}
</style>
<link rel="stylesheet" href="css/bootstrap-theme.min.css">
<link rel="stylesheet" href="css/main.css">
<script src="js/vendor/modernizr-2.8.3-respond-1.4.2.min.js"></script>
</head>
<body>
<!--[if lt IE 8]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Noter</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li><a href="/index.html">Simple Noter</a></li>
<li><a href="https://github.com/greenido/Noter" target="_blank">Code</a></li>
</ul>
<form id="login-form" class="navbar-form navbar-right" role="form">
<div class="form-group">
<input id="email" type="text" placeholder="Email" class="form-control">
</div>
<div class="form-group">
<input id="passwd" type="password" placeholder="Password" class="form-control">
</div>
<button type="submit" id="sign-in-but" class="btn btn-success">Sign in</button>
<span id='spin'><i class="fa fa-spinner fa-spin"></i></span>
</form>
<div id="logout-div"></div>
<form class='navbar-form navbar-right' role='form'>
<button id="online-status" type="button" class="btn btn-info">Online</button>
</form>
</div>
<!--/.navbar-collapse -->
</div>
</nav>
<!-- Main jumbotron for a primary marketing message or call to action -->
<div class="jumbotron">
<div class="container">
<!-- The EDITOR -->
<textarea id="main-editor" data-provide="markdown" rows="15"></textarea>
<div class="col-lg-3 col-md-3 col-sm-3 alert alert-success" id="save-alert">
<strong>Note Saved!</strong>
</div>
</div>
</div>
<!-- Small modal for errors/warnings -->
<div id='err-modal' class="modal fade" tabindex="-1" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title">Oppss... A little problam</h4>
</div>
<div class="modal-body">
<h3>Check again your email/password.</h3>
<p>If you can't login please check with @greenido</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div class="container">
<h2>Notes</h2>
<div class="col-lg-10 col-md-10">
<div id="notes-list"></div>
<br>
</div>
<hr>
<footer>
<div class="col-md-4">
<p><a href="https://twitter.com/greenido">@greenido</a> 2016 © </p>
</div>
</footer>
</div>
<script src="https://cdn.firebase.com/js/client/2.3.1/firebase.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script>
window.jQuery || document.write('<script src="js/vendor/jquery-1.11.2.min.js"><\/script>')
</script>
<script src="js/vendor/bootstrap.min.js"></script>
<script src="js/bootstrap-markdown.js"></script>
<script src="js/markdown.js"></script>
<script src="js/main.js"></script>
<script>
(function(b, o, i, l, e, r) {
b.GoogleAnalyticsObject = l;
b[l] || (b[l] =
function() {
(b[l].q = b[l].q || []).push(arguments)
});
b[l].l = +new Date;
e = o.createElement(i);
r = o.getElementsByTagName(i)[0];
e.src = '//www.google-analytics.com/analytics.js';
r.parentNode.insertBefore(e, r)
}(window, document, 'script', 'ga'));
ga('create', 'UA-27750723-1', 'auto');
ga('send', 'pageview');
</script>
</body>
<!-- v0.4 -->
</html>