Repo for work for the front-end side of CISL.
srccontains code, markup and styling, particularly:- Code to enable on-page glossary using CAST Figuration
- And a preference toggle for turning this feature on and off
- a number of customizations for the standard Infusion User Interface Options component to:
- integrate the Glossary preference
- remove some unwanted preferences
- change the options / appearance / behaviour of others
- Code to enable on-page glossary using CAST Figuration
pubscontains a few example "books" in (approximately) the format that the Readium 2 streamer would output; this includes a Readium Web Publication Manifest, HTML files and images. A glossary.json file, specific to this application, is also included.
- Clone this repo
npm installfor dependenciesgrunt buildwill run the necessary setup to build the project totarget, including copying over assets and dependencies fromnode_modulesand running webpack- Run a server from the
targetdirectory, like http-server - Access
http://localhost:8080/from your browser
- See "Building and Running the Demo" above
- You can run
grunt watchto watch thesrcdirectory and rebuild the demo as you make changes for speedier development flow.
grunt buildProdwill produce a somewhat more optimized production build of the Javascript assets, for deployment purposes.