-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnewtab.html
More file actions
executable file
·257 lines (218 loc) · 15 KB
/
Copy pathnewtab.html
File metadata and controls
executable file
·257 lines (218 loc) · 15 KB
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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
<!DOCTYPE html>
<html>
<head>
<title>New Tab</title>
<link rel="stylesheet" href="/css/bootstrap.min.css">
<script type="text/javascript" src="/js/vendor/chrome_localStorage.js"></script>
<script type="text/javascript" src="/js/newtab/application.js"></script>
<script type="text/javascript" src="/js/background/logger.js"></script>
<script type="text/javascript" src="/js/vendor/jquery.2.1.0.js"></script>
<script type="text/javascript" src="/js/vendor/moment-with-locales.min.js"></script>
<script type="text/javascript" src="/js/vendor/jquery-ui.min.js"></script>
<script type="text/javascript" src="/js/background/config.js"></script>
<script type="text/javascript" src="/js/vendor/underscore-min.js"></script>
<script type="text/javascript" src="/js/vendor/backbone.js"></script>
<script type="text/javascript" src="/js/newtab/backbone-indexeddb.js"></script>
<script type="text/javascript" src="/js/newtab/google-oAuth.js"></script>
<script type="text/javascript" src="/js/vendor/google-client.js?onload=GoogleOauthHelper.handleClientLoad"></script>
<script type="text/javascript" src="/js/newtab/sync-helper.js"></script>
<script type="text/javascript" src="/js/newtab/background-image.js"></script>
<script type="text/javascript" src="/js/newtab/blank-page-router.js"></script>
<script type="text/javascript" src="/js/newtab/knote-client.js"></script>
<script type="text/javascript" src="/js/newtab/knotable-models.js"></script>
<script type="text/javascript" src="/js/newtab/knotable-views.js"></script>
<script type="text/javascript" src="/js/newtab/knotable.js"></script>
<script type="text/javascript" src="/js/newtab/offline-helper.js"></script>
<script type="text/javascript" src="/js/knotable-views/avatar-view.js"></script>
<script type="text/javascript" src="/js/knotable-views/email-view.js"></script>
<script type="text/javascript" src="/js/knotable-views/header-view.js"></script>
<script type="text/javascript" src="/js/knotable-views/intro-view.js"></script>
<script type="text/javascript" src="/js/knotable-views/knote-view.js"></script>
<script type="text/javascript" src="/js/knotable-views/knotes-view.js"></script>
<script type="text/javascript" src="/js/knotable-views/knoteSync-view.js"></script>
<script type="text/javascript" src="/js/knotable-views/search-view.js"></script>
<script type="text/javascript" src="/js/knotable-views/knotableView-init.js"></script>
<script type="text/javascript" src="/js/vendor/dropbox.min.js"></script>
<script type="text/javascript" src="/js/newtab/dropbox.js"></script>
<script type="text/javascript" src="/js/newtab/google-analytics.js"></script>
<script type="text/javascript" src="/js/newtab/messageManager.js"></script>
<link type="text/css" rel="stylesheet" href="/css/knotableTopic.css">
<link type="text/css" rel="stylesheet" href="/css/style.css">
<link type="text/css" rel="stylesheet" href="/css/blank-tab.css">
<link type="text/css" rel="stylesheet" href="/css/jquery-ui.min.css">
<link type="text/css" rel="stylesheet" href="/css/jquery-ui.theme.css">
</head>
<body id="background-grad">
<img class="background-img"></img>
<div class="page-container">
<a href="#" id="pad-link" target="_blank"></a>
<div class="knotable-wrapper">
<div class="">
<nav class="" id="newtab-header">
<div class="pull-left">
<span><a id="newtab-topic-id" target="_blank"><img src="/images/icon-48.png" alt=" Open this knotepad in browser"></a></span>
</div>
<ul class="pull-right col-lg-10 col-md-10 col-sm-10 visible-lg-block visible-md-block visible-sm-block">
<li class="user-avatar-container knotable-hide">
<a>
<div class="col-sm-11">
<a><strong id="user-avatar-username"></strong></a>
<div><a id="user-avatar-displayname"></a></div>
<div>
<span id="btn-sync-knotes" style="cursor: pointer;">
<i class="glyphicon glyphicon-cog"></i>
Settings
</span>
<a id="user-logout"><i class="glyphicon glyphicon-lock"></i> Logout</a>
</div>
</div>
<div class="col-sm-1">
<div style="text-align: center;" id="userAvatar"><img /></div>
</div>
</a>
</li>
</ul>
<!-- </ul> -->
</nav>
<div class="container-fluid">
<div class="row" style="margin-top: 7%;">
<div class="col-lg-6 col-sm-12 col-md-12" style="">
<div class="clock visible-lg-block">
<div class="clock-hour"></div>
<div class="clock-date"></div>
</div>
</div>
<div class="col-lg-6 col-sm-12 col-md-12" style="">
<i class="" id="knote-sync-message" style="cursor: pointer; float: right; top: -18px; margin-right: 15px; color: white;" >Syncing...</i>
<div class="" id="knotes-container">
<!-- <span style="cursor: pointer; float: right; top: -18px; margin-right: 3px; color: white;" >Syncing...</span> -->
<div class="col-lg-7 col-md-7 col-sm-7 col-xs-7 knote-editor">
<div class="panel">
<div class="panel-body">
<textarea id="knote-edit-area" placeholder="Enter a note"></textarea>
</div>
<div class="">
<div class="pull-left">
<button class="btn btn-clear" id="btn-add-knote">
<i class="glyphicon glyphicon-floppy-disk"></i>
</button>
<button class="btn btn-clear" id="btn-add-knote-plus">
<i class="glyphicon glyphicon-plus"></i>
</button>
</div>
<div class="pull-right">
<button disabled="disabled" class="btn btn-clear" id="btn-delete-knote">
<i class="glyphicon glyphicon-trash"></i>
</button>
</div>
</div>
</div>
</div>
<div class="col-lg-5 col-md-5 col-sm-5 col-xs-5 knote-list-container">
<div class="searchbox knotable-hide">
<i class="glyphicon glyphicon-search"></i>
<input type="text" placeholder="Search" id="searchbox">
<i class="glyphicon glyphicon-remove-sign"></i>
</div>
<ul class=" list-group" id="knotes-list">
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="knotable-lightbox hidden" style="visibility: visible;" id="email-knote-container">
<div class="knotable-lightbox-inner">
</div>
<div class="knotable-box knotable-box-large" style="padding:0px;border-radius:5px;overflow:hidden">
<div class="title-bar">
<div class="email-close">X</div>
</div>
<div class="gmail-box-wrapper">
<form id="email-knote-form" action="">
<fieldset disabled="disabled">
<p>
<div class="input-group input-group-lg inner-div">
<input name="email" id="email-knote-to" class="" placeholder="To" autofocus required title="Enter a valid email address" spellcheck="false" autocomplete="true">
</div>
<div class="input-group input-group-lg inner-div">
<input type="text" name="subject" id="email-knote-subject" class="" placeholder="Subject" required>
</div>
</p>
<div class="mail-content" style="height: 300px; overflow-y: auto;">
<blockquote id="email-knote-content" style="font-size: 12px; overflow:auto; text-overflow: ellipsis; white-space: nowrap;" contenteditable="true">
</blockquote>
</div>
<div class="footer-box">
<button type="Submit" class="knotable-button-full"> Send </button>
</div>
</fieldset>
</form>
</div>
</div>
</div>
<div class="knotable-lightbox hidden" style="visibility: visible;" id="sync-knote-container">
<div class="knotable-lightbox-inner">
</div>
<div class="knotable-box knotable-box-large" style="padding:0px;border-radius:5px;overflow:hidden; max-width: 400px; min-height: 207px;">
<div class="gmail-box-wrapper" style=" padding-top: 13px;">
<h4 style="margin-left: 4%;">Sync Knotes To: </h4> <br />
<ul>
<li><input disabled="diabled" checked="checked" type="checkbox" name="checkboxG5" id="sync-knotable" /><label style="padding-left: 8px;" for="sync-knotable" >Knotable: <span id="setting-user"> </span>'s Knotes from Chrome</label></li> <br />
<li><input type="checkbox" name="checkboxG4" id="sync-gmail" /><label style="padding-left: 8px;" for="sync-gmail" >Gmail: <a target="_blank" id="setting-gmail-link" href="https://mail.google.com/mail/u/0/#drafts"> Drafts </a> <span>(Beta) </span></label></li> <br />
<li><input type="checkbox" name="checkboxG4" id="sync-dropbox"/><label style="padding-left: 8px;" for="sync-dropbox" >Dropbox: Note Instantly </span></label></li> <br />
</ul>
<div class="footer-box">
<button style="background-color: white; color: grey; border: 1px solid rgb(238, 238, 238); border-radius: 4px; width: 20%; line-height: 2.2em; position: absolute; right: 306px; bottom: 15px; font-size: 15px; font-weight: 900;" class="knotable-button-full sync-close"> OK </button>
</div>
</div>
</div>
</div>
<!-- Intro Box starts here !-->
<div class="knotable-lightbox hidden" style="visibility: visible;" id="intro-box">
<div class="knotable-lightbox-inner">
</div>
<div class="knotable-box knotable-box-large" style="padding:0px;border-radius:5px;overflow:hidden; min-height: 207px;">
<div class="gmail-box-wrapper" style=" padding-top: 13px;">
<!-- <div class="close-intro" style=" float: right; margin-top: -15px; margin-right: 7px; cursor: pointer;"> X </div> -->
<div class="container-fluid">
<div class="col-lg-6 col-sm-12 col-md-3" >
<span class="knotable-logo-intro" style=" margin-top: 45px; margin-left: 25px;"></span>
<span id="extension-version" style="margin-left: 50px;">v0.1</span>
</div>
<div class="col-lg-6 col-sm-12 col-md-9" >
<p><strong>Hey there! Welcome to Knotes.</strong> Now you can grab quick notes to share them and work with others.</p>
<p><strong>Knotes lets you</strong></p>
<ul style="list-style-type: disc; -webkit-padding-start: 20px;">
<li>grab simple notes quickly and stash them</li>
<li>have them everywhere you work - Chrome, web, iOS, Android or email</li>
<li>save them to Knotable, Dropbox and Gmail Drafts</li>
<li>work offline or online</li>
</ul>
<p> <strong>What we're working on: </strong></p>
<ul style="list-style-type: disc; -webkit-padding-start: 20px;">
<li>recently fixed: caching/sessions, focus selector</li>
<li>to do: make login/reconnect smoother, better syncing</li>
</ul>
</div>
</div>
</div>
</div>
<!-- Intro Box Ends here !-->
</div>
</div>
<!-- <div class="white-screen"></div> -->
<script id="knote-template" type="text/x-handlebars-template">
<li data-knoteid="<%= knoteId %>" data-order="<%= order %>" data-timestamp="<%= timestamp %>" class="list-group-item list-knote">
<div class="body">
<strong> <%= content.length ? (c = content.split('\n')[0], c.length < 25 ? c : c.substr(0, 23) + '...') : '' %> </strong>
</div>
<div class="date"> <%= new moment(updated_date || date).fromNow() %> </div>
</li>
</script>
<script id="new-knote-template" type="text/x-handlebars-template">
<li class="list-group-item list-knote new-knote active" style="margin-bottom: 0px;border:none;border-bottom: 1px solid #ddd"><div class="body" style="height: 18px"><strong>new</strong></div></li>
</script>
</body>
</html>