var index = '<div class="' + contentClass + '"><div class="indexView bookmarkView" data-size="' + this.fluidbook.settings.bookmarkView + '">';
-
if (this.fluidbook.settings.bookmarkView === 'small') {
index += '<div class="indexViewHolder">';
if (onlyGroup === undefined || !onlyGroup) {
index += this.fluidbook.bookmarks.getBookmarkForPage(group.page, true, true);
}
index += '</div>';
- index += '</div>';
}
} else {
var group = groups[this.getGroupOfPage(onlyGroup)];
index += this.fluidbook.bookmarks.getBookmarkForPage(p, true, true);
}
index += '</div>';
- index += '</div>';
+
}
}
index += '</div>';
} else if (this.fluidbook.settings.bookmarkView === 'large') {
index += this.fluidbook.menu.index.getPages();
}
- index += '</div>';
+ index += '</div></div>';
index += '<div class="fonctions">';
if (this.fluidbook.settings.friend && this.fluidbook.settings.bookmarkSendEnable) {
index += '<a role="button" aria-label="' + this.fluidbook.l10n.__('send') + '" class="send" href="#">' + this.fluidbook.l10n.__('send') + '</a>';
-
}
if (this.fluidbook.settings.print || this.fluidbook.settings.pdf) {
// ToDo: differentiate between download & print?
index += '<a role="button" aria-label="' + downloadLabel + '" class="download" href="#">' + downloadLabel + '</a>';
}
index += '</div>';
- index += '</div>';
return index;
},
}
res += this.getPages(height, pageLinks, bookmarks, mobileFirst);
+ res += '</div></div>';
return res;
},
for (var i = start; i <= this.fluidbook.contentlock.getMaxPage(); i += increment) {
res += this.getPage(i, this.singleMode, height, pageLinks, bookmarks, mobileFirst, '');
}
- res += '</nav></div></div>';
+ res += '</nav>';
return res;
},