mirror of
https://github.com/wassname/side-by-side.git
synced 2026-08-20 12:50:30 +08:00
38 lines
1.4 KiB
Plaintext
38 lines
1.4 KiB
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.material-icons(ng-show="!pick") keyboard_arrow_up
|
|
.arrow.material-icons(ng-show="pick") keyboard_arrow_down
|
|
.text(ng-bind-html="heading")
|
|
|
|
.pick(ng-show="pick")
|
|
.pick-in
|
|
div#too-few(ng-hide="! tooFew") There is no escape.
|
|
div#too-many(ng-hide="! tooMany") You can only compare five translations at the moment. Choose wisely.
|
|
table
|
|
tr
|
|
th(ng-repeat="attribute in metaKeys" 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-bind-html="poem.meta[attribute]")
|
|
|
|
// verses
|
|
#content
|
|
.pure-g-r(du-scrollspy ng-href="#section-meta" id="section-meta")
|
|
.version(ng-repeat="poemmeta in meta")
|
|
.version-padded
|
|
.version-container.version-container-top
|
|
p
|
|
table
|
|
tr(ng-repeat="key in metaKeys")
|
|
td(ng-bind-html="key" class="key")
|
|
td(ng-bind-html="poemmeta[key]")
|
|
|
|
.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")
|