mirror of
https://github.com/wassname/side-by-side.git
synced 2026-08-27 12:30:33 +08:00
26 lines
1018 B
Plaintext
26 lines
1018 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
|
|
.arrow.fa.fa-arrow-up(ng-show="!pick")
|
|
.arrow.fa.fa-arrow-down(ng-show="pick")
|
|
.text(ng-bind-html="heading")
|
|
|
|
.pick(ng-show="pick")
|
|
.pick-in
|
|
table
|
|
tr
|
|
th(ng-repeat="attribute in metaKeys" 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 in metaKeys" ng-if="attribute != 'Active'" ng-bind-html="poem.meta[attribute]")
|
|
|
|
// verses
|
|
#content
|
|
.pure-g-r(du-scrollspy ng-href="#section-{{$index + 1}}" offset="100px" ng-repeat="verse in verses" id="section-{{$index + 1}}")
|
|
.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")
|