Files
side-by-side/source/documents/partials/comparison.html.jade
T
2014-10-11 09:31:49 +02:00

24 lines
846 B
Plaintext

.pure-menu.pure-menu-open.pure-menu-horizontal.menu-verses(ng-click="flipPick()")
.pure-g-r
.version(ng-repeat="heading in headings")
.version-padded
.version-menu
.text(ng-bind-html="heading")
.pick(ng-show="pick")
.pick-in
table
tr
th(ng-repeat="(attribute, value) in all[0].meta" ng-if="attribute != 'Active'" ng-bind-html="attribute")
tr(ng-repeat="poem in all" class="switch" ng-class="{disabled: !poem.meta.Active}" ng-click="switchActive(poem)")
td(ng-repeat="(attribute, value) in poem.meta" ng-if="attribute != 'Active'" ng-bind-html="value")
// verses
#content
.pure-g-r(ng-repeat="verse in verses")
.version(ng-repeat="version in verse")
.version-padded
.version-container
.section(ng-hide="version.section == ''" ng-bind-html="version.section")
.text(ng-bind-html="version.text")