ingenta-lens
Version:
A novel way of seeing content.
43 lines (37 loc) • 913 B
JavaScript
var ContainerPanel = require('./panels/container_panel');
var figuresPanel = new ContainerPanel({
type: 'resource',
name: 'figures',
container: 'figures',
title: 'Figures',
icon: 'fa-picture-o',
references: ['figure_reference'],
zoom: true,
});
var citationsPanel = new ContainerPanel({
type: 'resource',
name: 'citations',
container: 'citations',
title: 'References',
icon: 'fa-link',
references: ['citation_reference'],
});
var definitionsPanel = new ContainerPanel({
type: 'resource',
name: 'definitions',
container: 'definitions',
title: 'Glossary',
icon: 'fa-book',
references: ['definition_reference'],
});
var infoPanel = new ContainerPanel({
type: 'resource',
name: 'info',
container: 'info',
title: 'Info',
icon: 'fa-info',
references: ['contributor_reference'],
});
module.exports = [
figuresPanel, citationsPanel, definitionsPanel, infoPanel
];