mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
bufferapp integration
This commit is contained in:
@@ -7,7 +7,7 @@ module.directive('popup', function() {
|
|||||||
return {
|
return {
|
||||||
link : function(scope, elm, attrs) {
|
link : function(scope, elm, attrs) {
|
||||||
elm.bind('click', function(event) {
|
elm.bind('click', function(event) {
|
||||||
window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');
|
window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=800');
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -47,24 +47,27 @@
|
|||||||
</label>
|
</label>
|
||||||
|
|
||||||
<span class="share-buttons" ui-if="settingsService.settings.socialButtons">
|
<span class="share-buttons" ui-if="settingsService.settings.socialButtons">
|
||||||
<a href="mailto:?subject={{entry.title}}&body={{entry.url}}" popup>
|
<a href="mailto:?subject={{entry.title|escape}}&body={{entry.url|escape}}" popup>
|
||||||
<i class="icon-envelope"></i>
|
<i class="icon-envelope"></i>
|
||||||
</a>
|
</a>
|
||||||
<a href="http://www.facebook.com/sharer.php?u=={{entry.url|escape}}" popup>
|
<a href="http://www.facebook.com/sharer.php?u=={{entry.url|escape}}" popup>
|
||||||
<i class="icon-facebook"></i>
|
<i class="icon-facebook"></i>
|
||||||
</a>
|
</a>
|
||||||
<a href="http://twitter.com/share?text={{entry.title}}&url={{entry.url|escape}}" popup>
|
<a href="http://twitter.com/share?text={{entry.title|escape}}&url={{entry.url|escape}}" popup>
|
||||||
<i class="icon-twitter"></i>
|
<i class="icon-twitter"></i>
|
||||||
</a>
|
</a>
|
||||||
<a href="https://plus.google.com/share?url={{entry.url|escape}}" popup>
|
<a href="https://plus.google.com/share?url={{entry.url|escape}}" popup>
|
||||||
<i class="icon-google-plus"></i>
|
<i class="icon-google-plus"></i>
|
||||||
</a>
|
</a>
|
||||||
<a href="https://getpocket.com/save?url={{entry.url|escape}}&title={{entry.title}}" popup>
|
<a href="https://getpocket.com/save?url={{entry.url|escape}}&title={{entry.title|escape}}" popup>
|
||||||
<i class="icon-pocket"></i>
|
<i class="icon-pocket"></i>
|
||||||
</a>
|
</a>
|
||||||
<a href="https://www.instapaper.com/hello2?url={{entry.url|escape}}&title={{entry.title}}" popup>
|
<a href="https://www.instapaper.com/hello2?url={{entry.url|escape}}&title={{entry.title|escape}}" popup>
|
||||||
<i class="icon-instapaper"></i>
|
<i class="icon-instapaper"></i>
|
||||||
</a>
|
</a>
|
||||||
|
<a href="https://bufferapp.com/add?url={{entry.url|escape}}&text={{entry.title|escape}}" popup>
|
||||||
|
<i class="icon-buffer"></i>
|
||||||
|
</a>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
22
src/main/webapp/vendor/zocial/zocial.css
vendored
22
src/main/webapp/vendor/zocial/zocial.css
vendored
@@ -12,15 +12,14 @@
|
|||||||
/* Reference icons from font-files
|
/* Reference icons from font-files
|
||||||
** Base 64-encoded version recommended to resolve cross-site font-loading issues
|
** Base 64-encoded version recommended to resolve cross-site font-loading issues
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'zocial';
|
font-family: 'zocial';
|
||||||
src: url('zocial-regular-webfont.eot'),
|
src: url('zocial-regular-webfont.eot'),
|
||||||
url('zocial-regular-webfont.woff'),
|
url('zocial-regular-webfont.woff'), url('zocial-regular-webfont.ttf')
|
||||||
url('zocial-regular-webfont.ttf') format('truetype'),
|
format('truetype'), url('zocial-regular-webfont.svg#zocialregular')
|
||||||
url('zocial-regular-webfont.svg#zocialregular') format('svg');
|
format('svg');
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-instapaper:before {
|
.icon-instapaper:before {
|
||||||
@@ -28,8 +27,15 @@
|
|||||||
font-family: 'zocial';
|
font-family: 'zocial';
|
||||||
content: "I";
|
content: "I";
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-pocket:before {
|
.icon-pocket:before {
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-family: 'zocial';
|
font-family: 'zocial';
|
||||||
content: "\00E7";
|
content: "\00E7";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.icon-buffer:before {
|
||||||
|
font-style: normal;
|
||||||
|
font-family: 'zocial';
|
||||||
|
content: "\00E5";
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user