-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbookmarklet.html
More file actions
200 lines (182 loc) · 7.75 KB
/
Copy pathbookmarklet.html
File metadata and controls
200 lines (182 loc) · 7.75 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
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Personal Learning Library</title>
<link rel="stylesheet" href="http://cdn.foundation5.zurb.com/foundation.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script>
<link rel="stylesheet" href="css/styles.css" />
<!-- <script src="http://use.edgefonts.net/lato:n9,i4,n1,i7,i9,n7,i1,i3,n4,n3:all.js"></script>-->
</head>
<body>
<div class="row header">
<div class="small-12 columns">
<h3 class="frame-title text-center"><strong>PERSONAL LEARNING LIBRARY</strong></h3>
</div>
<ul class="tabs" data-tab>
<li class="tab-title active"><a href="#panel-create">Create</a>
</li>
<li class="tab-title"><a href="#panel-history">History</a>
</li>
</ul>
</div>
<div class="tabs-content">
<div class="content active" id="panel-create">
<div class="row bookmark-box">
<div class="small-12 columns">
<div class="page-title row panel no-top">
<div class="page-title-left">
<img id="favicon-create" class="favicon">
</div>
<div class="page-title-right">
<p id="page-title-text-create" class="page-title-text hidden"></p>
</div>
</div>
</div>
</div>
<div class="entry">
<div class="row">
<div class="section-title">
<span class="inline-title">Rating:</span>
<span class="starRating">
<input class="userRating" id="star5" type="radio" name="rating" value="5">
<label class="starBigLabel" for="star5">5</label>
<input class="userRating" id="star4" type="radio" name="rating" value="4">
<label class="starBigLabel" for="star4">4</label>
<input class="userRating" id="star3" type="radio" name="rating" value="3">
<label class="starBigLabel" for="star3">3</label>
<input class="userRating" id="star2" type="radio" name="rating" value="2">
<label class="starBigLabel" for="star2">2</label>
<input class="userRating" id="star1" type="radio" name="rating" value="1">
<label class="starBigLabel" for="star1">1</label>
</span>
</div>
</div>
<form>
<div class="row">
<div>
<label for="learned" class="section-title">I learned:</label>
<textarea id="learned" placeholder="Enter text here"></textarea>
</div>
<div>
<label for="remember" class="section-title">I want to remember:</label>
<textarea id="remember" placeholder="Enter text here"></textarea>
</div>
<div>
<label for="quote" class="section-title inline">Selected text:</label>
<span id="add-selected" class="label button inline">Add selected</span>
<textarea id="quote" placeholder="Select text on the page, then press the button on the right"></textarea>
</div>
<div class="row collapse prefix-radius tags-select" id="tag-box">
<div class="small-2 columns">
<span class="prefix section-title">Tags:</span>
</div>
<div class="small-10 columns">
<input type="text" id="user-tags-input" placeholder="Separate tags with spaces">
</div>
<p id="tag-row" class="small-text light"><strong>Your tags:</strong>
<span id="tags" class="hidden"></span>
</p>
</div>
</div>
<div class="row">
<label for="recommend" class="section-title">Would you recommend this to others?</label>
<input type="radio" class="recommend" name="recommend" value="Yes" id="recommend-yes">
<label for="recommend-yes"><span></span>Yes</label>
<input type="radio" class="recommend" name="recommend" value="No" id="recommend-no">
<label for="recommend-no"><span></span>No</label>
</div>
</form>
<div class="row bottom-buttons">
<ul class="button-group radius">
<a href="#" id="add-button" class="small button">Add Bookmark</a>
<a href="#" id="close-frame" class="small secondary button">Cancel</a>
</ul>
</div>
</div>
<div data-alert id="tincan-ok" class="hidden alert-box success radius">Bookmark successful!
<button class="close">×</button>
</div>
<div data-alert id="tincan-fail" class="hidden alert-box alert radius">Bookmark failed to save. Try again?
<button class="close">×</button>
</div>
</div>
<!--end panel-create-->
<div class="content" id="panel-history">
<div class="row panel no-top">
<p>Filter by tag:</p>
</div>
<!-- <a href="#" id="test-button" class="small button">get more</a>-->
<div class="row history-list-page">
<ul id="history-list">
<script id="history-list-item-template" type="text/x-handlebars-template">
{{#each this}}
<li class="panel history-list-item">
<div class="page-title-left">
<img id="tempfavicon" class="favicon" src="{{favicon context.extensions}}">
</div>
<div class="page-title-right">
<p id="temptitle" class="page-title-text inline">{{target}}</p>
</div>
<div>
<span class="starRatingDisplay starSmall">
<input class="userRating" id="smallstar5" type="radio" name="rating" value="5" />
<label class="starSmallLabel" for="smallstar5">5</label>
<input class="userRating" id="smallstar4" type="radio" name="rating" value="4" checked />
<label class="starSmallLabel" for="smallstar4">4</label>
<input class="userRating" id="smallstar3" type="radio" name="rating" value="3" />
<label class="starSmallLabel" for="smallstar3">3</label>
<input class="userRating" id="smallstar2" type="radio" name="rating" value="2" />
<label class="starSmallLabel" for="smallstar2">2</label>
<input class="userRating" id="smallstar1" type="radio" name="rating" value="1" />
<label class="starSmallLabel" for="smallstar1">1</label>
</span>
<p class="inline history-list-date">August 7, 2015 @ 2:13PM</p>
</div>
</li>
{{/each}}
</script>
</ul>
</div>
<div class="row history-single-page hidden">
<script id="single-history-template" type="text/x-handlebars-template">
<div class="panel history-list-item">
<div class="page-title-left">
<img id="tempfavicon" class="favicon">
</div>
<div class="page-title-right">
<p id="temptitle" class="page-title-text inline">Title</p>
</div>
<div>
<span class="starRating starSmall">
<input class="userRating" id="star5" type="radio" name="rating" value="5" checked>
<label class="starSmallLabel" for="star5">5</label>
<input class="userRating" id="star4" type="radio" name="rating" value="4">
<label class="starSmallLabel" for="star4">4</label>
<input class="userRating" id="star3" type="radio" name="rating" value="3">
<label class="starSmallLabel" for="star3">3</label>
<input class="userRating" id="star2" type="radio" name="rating" value="2">
<label class="starSmallLabel" for="star2">2</label>
<input class="userRating" id="star1" type="radio" name="rating" value="1">
<label class="starSmallLabel" for="star1">1</label>
</span>
<p class="inline history-list-date">August 7, 2015 @ 2:13PM</p>
</div>
</div>
</script>
<!--end history-list-item-->
</div>
<!--end history-single-page-->
</div>
<!--end panel-history-->
</div>
<!--end tabs-content-->
<script src="EnhancedPostMessage.min.js"></script>
<script src="tincan.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/3.0.3/handlebars.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="http://cdn.foundation5.zurb.com/foundation.js"></script>
<script src="frame.js"></script>
</body>
</html>