plugins: use buttons to display additional content
This commit is contained in:
parent
3f56c80f56
commit
41b0684c82
|
@ -124,12 +124,12 @@ $ openssl req -nodes -newkey rsa:2048 -keyout relay.pem -x509 -days 365 -out rel
|
||||||
<div ng-repeat="metadata in bufferline.metadata">
|
<div ng-repeat="metadata in bufferline.metadata">
|
||||||
<div ng-show="metadata.visible">
|
<div ng-show="metadata.visible">
|
||||||
<div ng-bind-html="metadata.content"></div>
|
<div ng-bind-html="metadata.content"></div>
|
||||||
<a ng-click="metadata.visible = false">Hide additional content</a>
|
<button class="btn btn-primary" ng-click="metadata.visible = false">Hide additional content</button>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div ng-hide="metadata.visible">
|
<div ng-hide="metadata.visible">
|
||||||
<a ng-click="metadata.visible = true">Show additional content</a> <span ng-show="metadata.nsfw">(possibly nsfw)</span>
|
<button class="btn" ng-class="{'btn-warning': metadata.nsfw, 'btn-primary': !metadata.nsfw}" ng-click="metadata.visible = true">Show additional content</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
|
|
Loading…
Reference in New Issue