-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
288 lines (244 loc) · 13.1 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
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
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
<!doctype html>
<html ng-app="myApp">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>the smart foxies</title>
<link href='http://fonts.googleapis.com/css?family=Courgette|Open+Sans+Condensed:300,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/app.css" />
<link rel="stylesheet" href="css/style.css" />
<script src="js/foundation/vendor/modernizr.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.14/angular.min.js"></script>
<script src="/js/app.js"></script>
<script src="/js/controllers.js"></script>
<script src="/js/directives.js"></script>
<script src="/js/services.js"></script>
<script src="https://apis.google.com/js/client.js"></script>
</head>
<body ng-cloak>
<!-- Google Tag Manager -->
<noscript>
<iframe src="//www.googletagmanager.com/ns.html?id=GTM-MJ25NN"
height="0" width="0" style="display: none; visibility: hidden"></iframe>
</noscript>
<script>(function (w, d, s, l, i) {
w[l] = w[l] || []; w[l].push({
'gtm.start':
new Date().getTime(), event: 'gtm.js'
}); var f = d.getElementsByTagName(s)[0],
j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src =
'//www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f);
})(window, document, 'script', 'dataLayer', 'GTM-MJ25NN');
</script>
<!-- End Google Tag Manager -->
<div class="off-canvas-wrap">
<div class="inner-wrap">
<nav class="tab-bar">
<section class="left-small">
<a class="left-off-canvas-toggle menu-icon"><span></span></a>
</section>
<section class="middle tab-bar-section">
<h1 class="title"></h1>
</section>
<section class="right-small">
<a class="right-off-canvas-toggle menu-icon"><span></span></a>
</section>
</nav>
<aside class="left-off-canvas-menu">
<ul class="off-canvas-list">
<li>
<label>menu</label></li>
<li><a href="#">Home</a></li>
<li><a href="#">Connect</a></li>
<li>
<div id="logout" style="display: none;">
<button id="disconnect">Logout</button>
</div>
</li>
<li><a href="#">Say What</a></li>
<li><a href="#">About the foxies</a></li>
</ul>
</aside>
<aside class="right-off-canvas-menu">
<ul class="off-canvas-list">
<li>
<label>messages</label></li>
<li><a class="new" href="#">Azadeh</a></li>
<li><a href="#">Penny</a></li>
<li><a href="#">Mary</a></li>
<li><a href="#">James</a></li>
</ul>
</aside>
<section>
<div data-geo-location=""></div>
</section>
<section class="main-section">
<!-- START: HOME NOT LOGGED IN -->
<div class="screen-home">
<img src="img/logo-foxies.gif">
<h2>the smart foxies</h2>
</div>
<div class="screen-connect">
<div google-connect=""></div>
</div>
<div class="screen-search">
<div ng-controller="SearchCtrl">
<ul class="list list-search-results">
<li ng-repeat="book in books.items">
<a href="">
<h4 class="">{{book.volumeInfo.title}}</h4>
<small ng-repeat="author in book.volumeInfo.authors">
<span>{{author}}</span>
</small>
<img ng-src="{{book.volumeInfo.imageLinks.thumbnail}}" />
</a>
<ul class="list">
<li>
<button ng-show="showActionButtonNow" ng-click="AddtoBookShelf(0,book)">Add to Favorites</button></li>
<li>
<button ng-show="showActionButtonNow" ng-click="AddtoBookShelf(2,book)">Add it to Read list</button></li>
<li>
<button ng-show="showActionButtonNow" ng-click="AddtoBookShelf(3,book)">Mark it as Reading it now</button></li>
<li>
<button ng-show="showActionButtonNow" ng-click="AddtoBookShelf(4,book)">Mark it as you have read it</button></li>
</ul>
</li>
</ul>
<form ng-submit="search()">
<h3>Start with searching for a book?</h3>
<input class="input-search" type="text" ng-model="keyword" placeholder="e.g. The Bookthief">
<input class="button button-search" type="submit" value="go">
</form>
</div>
</div>
<div class="screen-what">
<h1>Say what?</h1>
<p>Travelling on public transport can be so dull, right? You stare out of the window and suddenly someone walks by with an awesome book in their hands. You wanna know what it is! NOW!</p>
<p>Go to the smart foxies search and search for the book if you could catch the name. If not, doesn't matter: Sign up to the smart foxies and see books that get read around you. RIGHT NOW! Oh, right, there it is. It's the latest Stephen King and it's Sam, who's reading it! Wonder if it's awesome?</p>
<p>Ask Sam, we got a messaging service between members. The best thing: IT'S ALL FOR FREE!</p>
</div>
<!-- <div class="screen-what screen-about">
<h1>Say who?</h1>
<ul class="list list-us">
<li>
<div class="figure">
<img src="img/Aza.jpg">
</div>
<article>
<h3><span>Azadeh</span>, 32</h3>
<p>I’m from Iran. I have B.S. Degree in software engineering and I started programming when I was at high school. I started programming as a carrier with C++. I switched to VB6 in less than a year and then C#! I worked on variety of web/windows projects from working directly with hardware interfaces and send commands to load cell, encoders and dialogic boards to yummy, good looking websites like KFC australia .</p>
</article>
</li>
</ul>
</div> -->
<!-- END: HOME NOT LOGGED IN -->
<!-- START: HOME LOGGED IN -->
<div class="screen-bookoftheday">
<header>
<h3 class="">Book of the day</h3>
<p>3 people around you are currently reading</p>
</header>
<article>
<div class="book">
<a href="">
<h4 class="">Einmal Sydney und zurueck</h4>
<small>
<span>Katrin Schmidt</span>
</small>
<img src="img/bookoftheday.jpg" width="200" />
</a>
</div>
</article>
</div>
<!-- END: HOME LOGGED IN -->
<div class="screen-around">
<div ng-controller="AroundMe">
<header>
<h3 class="">Smart foxies around me</h3>
</header>
<ul class="list list-people">
<li ng-repeat="person in people">
<a href="#screen-mybooks">
<div class="person">
<label>{{person.displayName}}</label>
<img ng-src="{{person.image}}">
</div>
<div class="book">
<img ng-src="{{person.volumeInfo.imageLinks.smallThumbnail}}">
</div>
</a>
</li>
</ul>
</div>
</div>
<!-- START: PROFILE -->
<div class="screen-mybooks">
<div ng-controller="GoogleUserProfileCtrl">
<div class="profile" ng-show="showNow">
<header>
<h3 class="">My profile</h3>
</header>
<div class="figure">
<img ng-src="{{profile.image}}">
</div>
<article>
<h3><span>{{profile.displayName}}</span></h3>
<p>{{profile.circledByCount}} have you in circles</p>
<p>{{profile.aboutMe}}</p>
<p>{{profile.tagline}}</p>
</article>
<div class="button-container">
<a href="{{profile.url}}" class="button" style="margin-top: 15px">Edit profile on google +</a>
</div>
</div>
<div ng-repeat="bookshelve in bookshelves.items">
<div ng-if="bookshelve.title == 'Reading now' && bookshelve.volumeCount > 0" style="clear: both">
<header>
<h3 class="">{{bookshelve.title}}</h3>
<span>{{bookshelve.volumeCount}} in total</span>
</header>
<ul class="list">
<li ng-repeat="volume in bookshelve.volumes.items">
<a href="">
<h4 class="">{{volume.volumeInfo.title}}</h4>
<small ng-repeat="author in volume.volumeInfo.authors">
<span>{{author}}</span>
</small>
<img ng-src="{{volume.volumeInfo.imageLinks.thumbnail}}" />
</a>
</li>
</ul>
</div>
</div>
<div ng-repeat="bookshelve in bookshelves.items">
<div ng-if="bookshelve.title != 'Reading now' && bookshelve.volumeCount > 0" style="clear: both">
<header>
<h3 class="">{{bookshelve.title}}</h3>
<span>{{bookshelve.volumeCount}} in total</span>
</header>
<ul class="list">
<li ng-repeat="volume in bookshelve.volumes.items">
<a href="">
<h4 class="">{{volume.volumeInfo.title}}</h4>
<small ng-repeat="author in volume.volumeInfo.authors">
<span>{{author}}</span>
</small>
<img ng-src="{{volume.volumeInfo.imageLinks.thumbnail}}" />
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<!-- END: PROFILE -->
</section>
</div>
<a class="exit-off-canvas"></a>
</div>
<div id="content"></div>
<script src="js/foundation/vendor/foundation.min.js"></script>
<script src="js/foundation/app.js"></script>
</body>
</html>