glowingbear-mainbox/directives/plugin.html

19 lines
580 B
HTML
Raw Normal View History

<div ng-show="plugin.visible">
2015-03-29 15:18:38 +02:00
<button class="btn btn-default 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">
2015-03-29 15:18:38 +02:00
<button class="btn btn-default 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>