glowingbear-mainbox/directives/plugin.html

19 lines
531 B
HTML
Raw Normal View History

<div ng-show="plugin.visible">
2014-02-07 02:59:50 +01:00
<button class="btn btn-primary btn-sm pull-right"
ng-click="hideContent()">
Hide {{ plugin.name }}
2014-02-07 02:59:50 +01:00
</button>
<div ng-bind-html="displayedContent" bo-class="'embed_' + plugin.$$hashKey"></div>
2014-02-07 02:59:50 +01:00
</div>
<div ng-hide="plugin.visible">
2014-02-07 02:59:50 +01:00
<button class="btn btn-sm pull-right"
bo-class="{
'btn-warning': plugin.nsfw,
'btn-primary': !plugin.nsfw}"
ng-click="showContent()">
Show {{ plugin.name }}
2014-02-07 02:59:50 +01:00
</button>
</div>