-
Notifications
You must be signed in to change notification settings - Fork 0
/
titles.html
123 lines (115 loc) · 3.31 KB
/
titles.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
<!doctype html>
<html>
<head>
<title>Update Titles - Bookmark Robot</title>
<link rel="stylesheet" type="text/css" href="vendor/pure/pure-min.css">
<link rel="stylesheet" href="vendor/jstree/dist/themes/default/style.min.css" />
<link rel="stylesheet" type="text/css" href="robot.css">
<script type="text/javascript" src="config.js"></script>
<script data-main="titles.js" type="text/javascript" src="vendor/requirejs/require.js"></script>
</head>
<body>
<div class="header">
<h1>Bookmark Robot</h1>
</div>
<div class="menu">
<div class="pure-menu pure-menu-horizontal">
<ul class="pure-menu-list">
<li class="pure-menu-item">
<a href="organize.html" class="pure-menu-link">Organize</a>
</li>
<li class="pure-menu-item">
<a href="duplicates.html" class="pure-menu-link">Find Duplicates</a>
</li>
<li class="pure-menu-item pure-menu-selected">
<a href="titles.html" class="pure-menu-link">Update Titles</a>
</li>
<li class="pure-menu-item">
<a href="advanced.html" class="pure-menu-link">Advanced</a>
</li>
</ul>
</div>
</div>
<div class="pure-g">
<div class="pure-u-1-4 l-box">
<p>
We go to each of your bookmarks and check to see if there is a newer
page title.
</p>
<p>
You can delete bookmarks that no longer exist.
</p>
<p data-bind="visible: requestTotal">
Request count:
<span data-bind="text: requestCount"></span>
/
<span data-bind="text: requestTotal"></span>
</p>
<p data-bind="visible: !loadingTitles() && updatedBookmarks().length > 0">
<button class="pure-button pure-button-primary" data-bind="click: updateTitles">
Update Titles
</button>
</p>
<p data-bind="visible: !loadingTitles()">
<button class="pure-button pure-button-primary" data-bind="click: start">
Start
</button>
</p>
<p data-bind="visible: loadingTitles">
<button class="pure-button" data-bind="click: stopLoading">
Stop
</button>
</p>
</div>
<div class="pure-u-18-24 l-box">
<h2>Updated Titles</h2>
<table class="pure-table table-fullwidth">
<thead>
<tr>
<th>Url</th>
<th>Original Title</th>
<th>Updated Title</th>
</tr>
</thead>
<tbody data-bind="foreach: updatedBookmarks">
<tr>
<td data-bind="text: url"></td>
<td data-bind="text: original"></td>
<td data-bind="text: updated"></td>
</tr>
</tbody>
</table>
<h2>Missing Bookmarks</h2>
<table class="pure-table table-fullwidth">
<thead>
<tr>
<th width="50%">Url</th>
<th width="50%">Title</th>
</tr>
</thead>
<tbody data-bind="foreach: missingBookmarks">
<tr>
<td data-bind="text: url"></td>
<td data-bind="text: title"></td>
</tr>
</tbody>
</table>
<h2>Empty Name</h2>
<table class="pure-table table-fullwidth">
<thead>
<tr>
<th width="50%">Url</th>
<th width="50%">Title</th>
</tr>
</thead>
<tbody data-bind="foreach: emptyTitleBookmarks">
<tr>
<td data-bind="text: url"></td>
<td data-bind="text: title"></td>
</tr>
</tbody>
</table>
</div>
</div>
</body>
</html>