-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbookmarksList.html
More file actions
46 lines (35 loc) · 1.51 KB
/
bookmarksList.html
File metadata and controls
46 lines (35 loc) · 1.51 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
<!DOCTYPE html>
<html ng-app="pocket" class="chrome-extension">
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
<title>Pocket Extension</title>
<script src="../js/bookmarkList.js"></script>
</head>
<body ng-controller="bookmarksCtrl">
<div class="bar bar-header bar-calm item-input-inset">
<button class="button ion-ios7-close" ng-click="wipeCache()" ng-show="debugMode"></button>
<label class="item-input-wrapper">
<i class="icon ion-ios7-search placeholder-icon"></i>
<input type="search" placeholder="Search" ng-model="searchText">
</label>
<button id="add-or-article-view" class="button ion-ios7-plus" ng-click="addCurrentOrArticleView()"></button>
</div>
<ion-content class="has-header">
<ion-refresher on-refresh="onRefresh()"></ion-refresher>
<ion-list class="list" can-swipe="true">
<ion-item ng-repeat="item in bookmarks" href="#" class="item" ng-click="bookmarkSelected(item)">
<h2>{{ item.title || item.url }}</h2>
<p>{{ item.domain }}</p>
<ion-option-button class="button-calm" ng-click="archive($event, item)"><span class="v-center">archive</span></ion-option-button>
</ion-item>
</ion-list>
<ion-infinite-scroll
style=""
on-infinite="loadNextPage()"
ng-if="!allResultsFetched"
distance="5%">
</ion-infinite-scroll>
</ion-content>
</body>
</html>