-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
27 lines (24 loc) · 1.04 KB
/
popup.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
<!DOCTYPE html>
<html ng-app="ReaderChromeEx" ng-csp>
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<link rel="stylesheet" href="css/popup.css">
<!--<script src="js/lib/jquery-1.8.2.min.js"></script>-->
<script src="js/lib/angular.js"></script>
<script src="js/app/app.js"></script>
<script src="js/app/popup.js"></script>
</head>
<body id="popup">
<div ng-controller="PageController">
<button ng-click="saveLink()" type="button" class="btn btn-info btn-block">Save current page</button>
<h3>To read:</h3>
<h3>{{ allLinks }}</h3>
<ul id="list">
<li ng-repeat="link in savedLinks | orderBy:'dateAdded'">
<button ng-click="removeLink(link.title)" type="button" class="btn btn-xs">x</button>
<a href="{{ link.url }}" target="_blank">{{ link.title }}</a>
</li>
</ul>
</div>
</body>
</html>