glowingbear-mainbox/directives/plugin.html

19 lines
568 B
HTML
Raw Normal View History

<div ng-show="plugin.visible">
<button class="btn btn-primary btn-sm pull-right unselectable"
ng-click="hideContent()">
Hide {{ ::plugin.name }}
2014-02-07 02:59:50 +01:00
</button>
<div ng-bind-html="displayedContent" class="embed" ng-class="::plugin.className"></div>
2014-02-07 02:59:50 +01:00
</div>
<div ng-hide="plugin.visible">
<button class="btn btn-sm pull-right unselectable"
ng-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>