commit
7520eca74e
1 changed files with 5 additions and 5 deletions
10
index.html
10
index.html
|
@ -287,13 +287,13 @@ $ openssl req -nodes -newkey rsa:2048 -keyout relay.pem -x509 -days 365 -out rel
|
|||
<span bindonce ng-repeat="part in bufferline.content" class="text" bo-class="part.classes" bo-html="part.text|linky:'_blank'"></span>
|
||||
|
||||
<div bindonce ng-repeat="metadata in bufferline.metadata">
|
||||
<div bo-show="metadata.visible">
|
||||
<button class="btn btn-primary pull-right" bo-click="metadata.visible = false" bo-text="'Hide ' + metadata.name">Hide {{ metadata.name }}</button>
|
||||
<div bo-html="metadata.content"></div>
|
||||
<div ng-show="metadata.visible">
|
||||
<button bindonce class="btn btn-primary pull-right" ng-click="metadata.visible = false">Hide {{ metadata.name }}</button>
|
||||
<div ng-bind-html="metadata.content"></div>
|
||||
|
||||
</div>
|
||||
<div bo-hide="metadata.visible">
|
||||
<button class="btn pull-right" bo-class="{'btn-warning': metadata.nsfw, 'btn-primary': !metadata.nsfw}" ng-click="metadata.visible = true">Show {{ metadata.name }}</button>
|
||||
<div ng-hide="metadata.visible">
|
||||
<button bindonce class="btn pull-right" bo-class="{'btn-warning': metadata.nsfw, 'btn-primary': !metadata.nsfw}" ng-click="metadata.visible = true">Show {{ metadata.name }}</button>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
|
|
Loading…
Reference in a new issue