thingspeak/app/views/channels/_socialbuttons.html.erb

30 lines
1.2 KiB
Plaintext
Raw Permalink Normal View History

2014-08-05 22:00:27 +02:00
<div class="socialButtons">
<% if current_user %>
<div class="buttonlets padded watchButtonPadding">
<%= check_box_tag 'watch', 1, current_user.watchings.check(current_user.id, @channel.id) %>
<label for="watch" class="watchButtonLabel" >
<i class="fa fa-eye pull-left"></i>
<div id="watchText" class="watchButtonText">Watch</div>
</label>
</div>
<% end %>
2014-08-05 22:00:27 +02:00
<span class="hidden-xs hidden-sm">
<div class="addthis_toolbox addthis_default_style buttonlets padded tweetButton">
<a class="addthis_button_tweet"></a>
</div>
<div class="addthis_toolbox addthis_default_style buttonlets padded facebookButton">
<a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
</div>
<div class="addthis_toolbox addthis_default_style buttonlets padded googleplusButton">
<a class="addthis_button_google_plusone" g:plusone:size="medium"></a>
</div>
<div class="addthis_toolbox addthis_default_style buttonlets padded">
<a class="addthis_counter addthis_pill_style"></a>
</div>
</span>
</div>
<script type="text/javascript" src="https://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4f9168ce642d4694"></script>