forked from 720kb/angular-socialshare
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
297 lines (297 loc) · 10.4 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
289
290
291
292
293
294
295
296
297
<!doctype html>
<html ng-app="720kb">
<head>
<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="http://720kb.github.io/csshelper/assets/ext/src/helper.css">
<title>Angularjs Socialshare</title>
</head>
<body class="center-content" ng-controller="TestController as test">
<div class="separator100"></div>
<div class="line">
{{test.testValue}}
</div>
<div class="separator100"></div>
<div class="col6 offset-left2">
<div>
<button class="btn btn-medium font-bold"
socialshare
socialshare-provider="facebook"
socialshare-type="sharer"
socialshare-text="720kb"
socialshare-url="http://720kb.net"
socialshare-popup-height="300"
socialshare-popup-width="400"
socialshare-trigger="click" >
<i class="fa fa-facebook"></i> Share on Facebook (sharer)
</button>
</div>
<div class="separator30"></div>
<div>
<button class="btn btn-medium font-bold"
socialshare
socialshare-provider="facebook"
socialshare-type="feed"
socialshare-via="145634995501895"
socialshare-media="http://720kb.net/assets/img/720kb-fb.png"
socialshare-text="720kb"
socialshare-caption="720kb is enough"
socialshare-url="http://720kb.net"
socialshare-redirect-uri="https://developers.facebook.com/tools/explorer"
socialshare-popup-height="300"
socialshare-popup-width="400"
socialshare-trigger="click" >
<i class="fa fa-facebook"></i> Share on Facebook (feed dialog)
</button>
</div>
<div class="separator30"></div>
<div>
<button class="btn btn-medium font-bold"
socialshare
socialshare-provider="twitter"
socialshare-hashtags="720kb, apps, opensource, development, internet"
socialshare-via="twitter"
socialshare-text="720kb - test value is: {{test.testValue}}"
socialshare-url="http://720kb.net"
socialshare-popup-height="300"
socialshare-popup-width="400"
socialshare-trigger="click">
<i class="fa fa-twitter"></i> Share on Twitter
</button>
<div class="separator30"></div>
<button class="btn btn-medium font-bold"
socialshare
socialshare-provider="twitter">
<i class="fa fa-twitter"></i> Share on Twitter BY PROVIDER CONFIG
</button>
</div>
<div class="separator30"></div>
<div>
<button class="btn btn-medium font-bold"
socialshare
socialshare-provider="google+"
socialshare-url="http://720kb.net"
socialshare-popup-height="300"
socialshare-popup-width="400"
socialshare-trigger="click">
<i class="fa fa-google-plus"></i> Share on G+
</button>
</div>
<div class="separator30"></div>
<div>
<button class="btn btn-medium font-bold"
socialshare
socialshare-provider="stumbleupon"
socialshare-text="{{test.testValue}}"
socialshare-url="http://720kb.net"
socialshare-popup-height="300"
socialshare-popup-width="400"
socialshare-trigger="click" >
<i class="fa fa-stumbleupon"></i> Share on Stumble
</button>
</div>
<div class="separator30"></div>
<button class="btn btn-medium font-bold"
socialshare
socialshare-provider="stumbleupon">
<i class="fa fa-twitter"></i> Share on stumbleupon BY PROVIDER CONFIG
</button>
<div class="separator30"></div>
<div>
<button class="btn btn-medium font-bold"
socialshare
socialshare-provider="reddit"
socialshare-text="{{test.testValue}}"
socialshare-url="http://720kb.net"
socialshare-popup-height="300"
socialshare-popup-width="400"
socialshare-trigger="click" >
<i class="fa fa-reddit"></i> Share on Reddit
</button>
</div>
<div class="separator30"></div>
<div>
<button class="btn btn-medium font-bold"
socialshare
socialshare-provider="linkedin"
socialshare-text="{{test.testValue}}"
socialshare-url="http://720kb.net"
socialshare-description="720kb linkedin summary"
socialshare-source="720kb"
socialshare-popup-height="300"
socialshare-popup-width="400"
socialshare-trigger="click" >
<i class="fa fa-linkedin"></i> Share on Linkedin
</button>
</div>
<div class="separator30"></div>
<div>
<button class="btn btn-medium font-bold"
socialshare
socialshare-media="https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcTWGNvatNjOUyli3tBacDdAHmienfptFVStj_olGCWmaUXoIGYI"
socialshare-provider="pinterest"
socialshare-text="720kb"
socialshare-url="http://720kb.net"
socialshare-popup-height="300"
socialshare-popup-width="400"
socialshare-trigger="click" >
<i class="fa fa-pinterest"></i> Share on Pinterest
</button>
</div>
<div class="separator30"></div>
<div>
<button class="btn btn-medium font-bold"
socialshare
socialshare-provider="digg"
socialshare-text="720kb"
socialshare-url="http://720kb.net"
socialshare-popup-height="300"
socialshare-popup-width="400"
socialshare-trigger="click" >
<i class="fa fa-digg"></i> Share on Digg
</button>
</div>
<div class="separator30"></div>
<div>
<button class="btn btn-medium font-bold"
socialshare
socialshare-provider="tumblr"
socialshare-type="link"
socialshare-text="720kb"
socialshare-url="http://720kb.net"
socialshare-popup-height="300"
socialshare-popup-width="540"
socialshare-trigger="click" >
<i class="fa fa-tumblr"></i> Share on Tumblr (link)
</button>
</div>
<div class="separator30"></div>
<div>
<button class="btn btn-medium font-bold"
socialshare
socialshare-provider="tumblr"
socialshare-type="photo"
socialshare-text="720kb"
socialshare-media="http://720kb.net/assets/img/720kb-fb.png"
socialshare-popup-height="300"
socialshare-popup-width="540"
socialshare-trigger="click" >
<i class="fa fa-tumblr"></i> Share on Tumblr (photo)
</button>
</div>
<div class="separator30"></div>
<div>
<button class="btn btn-medium font-bold"
socialshare
socialshare-provider="delicious"
socialshare-text="720kb"
socialshare-url="http://720kb.net"
socialshare-popup-height="300"
socialshare-popup-width="400"
socialshare-trigger="click" >
<i class="fa fa-delicious"></i> Share on Delicious
</button>
</div>
<div class="separator30"></div>
<div>
<button class="btn btn-medium font-bold"
socialshare
socialshare-provider="vk"
socialshare-text="720kb"
socialshare-url="http://720kb.net"
socialshare-popup-height="300"
socialshare-popup-width="400"
socialshare-trigger="click" >
<i class="fa fa-vk"></i> Share on Vk
</button>
</div>
<div class="separator30"></div>
<div>
<button class="btn btn-medium font-bold"
socialshare
socialshare-provider="buffer"
socialshare-text="720kb"
socialshare-url="http://720kb.net"
socialshare-popup-height="300"
socialshare-popup-width="400"
socialshare-trigger="click" >
<i class="fa fa-bars"></i>
Share on Buffer
</button>
</div>
<div class="separator30"></div>
<div>
<button class="btn btn-medium font-bold"
socialshare
socialshare-provider="pocket"
socialshare-text="720kb"
socialshare-url="http://720kb.net"
socialshare-popup-height="300"
socialshare-popup-width="400"
socialshare-trigger="click" >
<i class="fa fa-get-pocket"></i>
Share on Pocket
</button>
</div>
<div class="separator30"></div>
<div>
<button class="btn btn-medium font-bold"
socialshare
socialshare-provider="wordpress"
socialshare-text="720kb"
socialshare-url="http://720kb.net"
socialshare-popup-height="300"
socialshare-popup-width="400"
socialshare-trigger="click" >
<i class="fa fa-wordpress"></i>
Share on Wordpress
</button>
</div>
<div class="separator30"></div>
<div>
<button class="btn btn-medium font-bold"
socialshare
socialshare-provider="xing"
socialshare-url="http://720kb.net"
socialshare-follow="https://www.xing.com/news/pages/marketing-werbung-44"
socialshare-popup-height="300"
socialshare-popup-width="400"
socialshare-trigger="click" >
<i class="fa fa-xing"></i> Share on Xing
</button>
</div>
<div class="separator30"></div>
<div>
<button class="btn btn-medium font-bold"
socialshare
socialshare-provider="flipboard"
socialshare-url="http://720kb.net"
socialshare-text="720kb"
socialshare-popup-height="300"
socialshare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1lbnRJRD0ieG1wLmRpZDpFN0NFRTMzMjg0NkYxMUU1QkEwQ0MyOUNENTM2Q0E5NyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Phc0s7MAAAFISURBVHja7FlBaoRAEOwOufg1/yJ49TmevfsCwTf4AMWTJ1FQcaLGhtnMrpBNMuuYapApWge77LKnR1kpRS7bGzlu7wKYeR1cSQeLcvQMuKQldRkJgQAIgAAIgABaiW9bkiTK87xtSddWxQ2XZUlt2xr+A7yNwzBQFEVshcAavO/7W/8kPYngJXgax9HwP8IyxnFsLwOf9+db8AOs+2y9A0rtj1LtJlgk8tV/cP3NPGTAtQz8zzJ6JKGu62g99vJIWsmkIAgoz3PDr++wbBFQewlkkYHgaZpoqemGf8VVVXHTNFiJX1qFztILPV2F0MxdTUK/XoXCMOSiKO5Oquv6NAQeWpZlfxKodQmdfUd22NtgSwkJOSShpzLQ9z2laXr33DzPVgmwtsl26l/TEjfjwxYIgAAIgAAIXIoAOxQ3G60EJPQi+xBgAPSbOleIl6pHAAAAAElFTkSuQmCC" width="18" valign="middle"/>
Share on Flipboard
</button>
</div>
<div class="separator30"></div>
<div>
<button class="btn btn-medium font-bold"
socialshare
socialshare-provider="hackernews"
socialshare-url="http://720kb.net"
socialshare-text="720kb"
socialshare-popup-height="300"
socialshare-popup-width="400"
socialshare-trigger="click" >
<i class="fa fa-hacker-news"></i> Share on Hacker News
</button>
</div>
<div class="separator30"></div>
<div class="separator100"></div>
</div>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.4/angular.min.js"></script>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.4/angular-route.min.js"></script>
<script type="text/javascript" src="lib/angular-socialshare.js"></script>
<script type="text/javascript" src="assets/js/index.js"></script>
</body>
</html>