Repo for work for the front-end side of CISL.
src
contains 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
pubs
contains 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 install
for dependenciesgrunt build
will run the necessary setup to build the project totarget
, including copying over assets and dependencies fromnode_modules
and running webpack- Run a server from the
target
directory, like http-server - Access
http://localhost:8080/
from your browser
- See "Building and Running the Demo" above
- You can run
grunt watch
to watch thesrc
directory and rebuild the demo as you make changes for speedier development flow.
grunt buildProd
will produce a somewhat more optimized production build of the Javascript assets, for deployment purposes.