glowingbear-mainbox/directives/plugin.html

19 lines
542 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" class="embed" ng-class="::plugin.className"></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"
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>