wax_theme 0.1.0.beta → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +1 -0
- data/README.md +79 -30
- data/_includes/collection_gallery.html +58 -0
- data/_includes/{wax/footer.html → footer.html} +2 -4
- data/_includes/head.html +13 -0
- data/_includes/{wax/header.html → header.html} +1 -2
- data/_includes/{wax/inline_image.html → inline_image.html} +1 -1
- data/_includes/{wax/collection/interactive_metadata.html → interactive_metadata_table.html} +38 -21
- data/_includes/item_metadata.html +26 -0
- data/_includes/{wax/item/pagination.html → item_pagination.html} +0 -0
- data/_includes/osd_iiif_image_viewer.html +22 -0
- data/_includes/{wax/parallax.html → parallax_image.html} +10 -6
- data/_includes/search_box.html +31 -0
- data/_includes/{wax/image_viewer/simple.html → simple_image_viewer.html} +0 -0
- data/_layouts/default.html +25 -0
- data/_layouts/{wax/exhibit.html → exhibit.html} +1 -1
- data/_layouts/{wax/collection_item.html → generic_collection_item.html} +8 -8
- data/_layouts/page.html +8 -0
- data/_layouts/qatar_item.html +24 -0
- data/_sass/_wax.scss +234 -165
- data/assets/bootstrap/bootstrap.min.js +7 -0
- data/assets/bootstrap/bootstrap.min.js.map +1 -0
- data/assets/{css → datatables}/datatables.css +0 -0
- data/assets/{js → datatables}/datatables.min.js +0 -0
- data/assets/{js/elasticlunr.min.js → elasticlunr.min.js} +0 -0
- data/assets/{js/jquery-3.2.1.min.js → jquery-3.2.1.min.js} +0 -0
- data/assets/openseadragon/alt-buttons/fullpage_grouphover.png +0 -0
- data/assets/openseadragon/alt-buttons/fullpage_hover.png +0 -0
- data/assets/openseadragon/alt-buttons/fullpage_pressed.png +0 -0
- data/assets/openseadragon/alt-buttons/fullpage_rest.png +0 -0
- data/assets/openseadragon/alt-buttons/home_grouphover.png +0 -0
- data/assets/openseadragon/alt-buttons/home_hover.png +0 -0
- data/assets/openseadragon/alt-buttons/home_pressed.png +0 -0
- data/assets/openseadragon/alt-buttons/home_rest.png +0 -0
- data/assets/openseadragon/alt-buttons/next_grouphover.png +0 -0
- data/assets/openseadragon/alt-buttons/next_hover.png +0 -0
- data/assets/openseadragon/alt-buttons/next_pressed.png +0 -0
- data/assets/openseadragon/alt-buttons/next_rest.png +0 -0
- data/assets/openseadragon/alt-buttons/previous_grouphover.png +0 -0
- data/assets/openseadragon/alt-buttons/previous_hover.png +0 -0
- data/assets/openseadragon/alt-buttons/previous_pressed.png +0 -0
- data/assets/openseadragon/alt-buttons/previous_rest.png +0 -0
- data/assets/openseadragon/alt-buttons/rotateleft_grouphover.png +0 -0
- data/assets/openseadragon/alt-buttons/rotateleft_hover.png +0 -0
- data/assets/openseadragon/alt-buttons/rotateleft_pressed.png +0 -0
- data/assets/openseadragon/alt-buttons/rotateleft_rest.png +0 -0
- data/assets/openseadragon/alt-buttons/rotateright_grouphover.png +0 -0
- data/assets/openseadragon/alt-buttons/rotateright_hover.png +0 -0
- data/assets/openseadragon/alt-buttons/rotateright_pressed.png +0 -0
- data/assets/openseadragon/alt-buttons/rotateright_rest.png +0 -0
- data/assets/openseadragon/alt-buttons/zoomin_grouphover.png +0 -0
- data/assets/openseadragon/alt-buttons/zoomin_hover.png +0 -0
- data/assets/openseadragon/alt-buttons/zoomin_pressed.png +0 -0
- data/assets/openseadragon/alt-buttons/zoomin_rest.png +0 -0
- data/assets/openseadragon/alt-buttons/zoomout_grouphover.png +0 -0
- data/assets/openseadragon/alt-buttons/zoomout_hover.png +0 -0
- data/assets/openseadragon/alt-buttons/zoomout_pressed.png +0 -0
- data/assets/openseadragon/alt-buttons/zoomout_rest.png +0 -0
- data/assets/openseadragon/images/button_grouphover.png +0 -0
- data/assets/openseadragon/images/button_hover.png +0 -0
- data/assets/openseadragon/images/button_pressed.png +0 -0
- data/assets/openseadragon/images/button_rest.png +0 -0
- data/assets/openseadragon/images/flip_grouphover.png +0 -0
- data/assets/openseadragon/images/flip_hover.png +0 -0
- data/assets/openseadragon/images/flip_pressed.png +0 -0
- data/assets/openseadragon/images/flip_rest.png +0 -0
- data/assets/openseadragon/images/fullpage_grouphover.png +0 -0
- data/assets/openseadragon/images/fullpage_hover.png +0 -0
- data/assets/openseadragon/images/fullpage_pressed.png +0 -0
- data/assets/openseadragon/images/fullpage_rest.png +0 -0
- data/assets/openseadragon/images/home_grouphover.png +0 -0
- data/assets/openseadragon/images/home_hover.png +0 -0
- data/assets/openseadragon/images/home_pressed.png +0 -0
- data/assets/openseadragon/images/home_rest.png +0 -0
- data/assets/openseadragon/images/next_grouphover.png +0 -0
- data/assets/openseadragon/images/next_hover.png +0 -0
- data/assets/openseadragon/images/next_pressed.png +0 -0
- data/assets/openseadragon/images/next_rest.png +0 -0
- data/assets/openseadragon/images/previous_grouphover.png +0 -0
- data/assets/openseadragon/images/previous_hover.png +0 -0
- data/assets/openseadragon/images/previous_pressed.png +0 -0
- data/assets/openseadragon/images/previous_rest.png +0 -0
- data/assets/openseadragon/images/rotateleft_grouphover.png +0 -0
- data/assets/openseadragon/images/rotateleft_hover.png +0 -0
- data/assets/openseadragon/images/rotateleft_pressed.png +0 -0
- data/assets/openseadragon/images/rotateleft_rest.png +0 -0
- data/assets/openseadragon/images/rotateright_grouphover.png +0 -0
- data/assets/openseadragon/images/rotateright_hover.png +0 -0
- data/assets/openseadragon/images/rotateright_pressed.png +0 -0
- data/assets/openseadragon/images/rotateright_rest.png +0 -0
- data/assets/openseadragon/images/zoomin_grouphover.png +0 -0
- data/assets/openseadragon/images/zoomin_hover.png +0 -0
- data/assets/openseadragon/images/zoomin_pressed.png +0 -0
- data/assets/openseadragon/images/zoomin_rest.png +0 -0
- data/assets/openseadragon/images/zoomout_grouphover.png +0 -0
- data/assets/openseadragon/images/zoomout_hover.png +0 -0
- data/assets/openseadragon/images/zoomout_pressed.png +0 -0
- data/assets/openseadragon/images/zoomout_rest.png +0 -0
- data/assets/openseadragon/openseadragon.min.js +9 -0
- data/assets/openseadragon/openseadragon.min.js.map +1 -0
- data/assets/{js/popper.min.js → popper.min.js} +0 -1
- data/assets/search-ui.js +63 -0
- data/assets/styles.scss +20 -20
- metadata +130 -249
- data/_includes/wax/collection/gallery.html +0 -33
- data/_includes/wax/head.html +0 -16
- data/_includes/wax/image_viewer/leaflet.html +0 -11
- data/_includes/wax/image_viewer/mirador.html +0 -8
- data/_includes/wax/item/metadata.html +0 -23
- data/_includes/wax/mirador_compare.html +0 -11
- data/_includes/wax/search.html +0 -12
- data/_layouts/wax/default.html +0 -20
- data/_layouts/wax/page.html +0 -13
- data/_layouts/wax/reuse_page.html +0 -7
- data/_sass/_syntax.scss +0 -129
- data/assets/css/leaflet.css +0 -636
- data/assets/js/bootstrap.min.js +0 -7
- data/assets/js/leaflet-iiif.min.js +0 -8
- data/assets/js/leaflet.js +0 -5
- data/assets/js/wax.js +0 -91
- data/assets/logo.png +0 -0
- data/assets/mirador/css/mirador-combined.css +0 -4107
- data/assets/mirador/fonts/FontAwesome.otf +0 -0
- data/assets/mirador/fonts/MaterialIcons-Regular.eot +0 -0
- data/assets/mirador/fonts/MaterialIcons-Regular.ijmap +0 -1
- data/assets/mirador/fonts/MaterialIcons-Regular.svg +0 -2373
- data/assets/mirador/fonts/MaterialIcons-Regular.ttf +0 -0
- data/assets/mirador/fonts/MaterialIcons-Regular.woff +0 -0
- data/assets/mirador/fonts/MaterialIcons-Regular.woff2 +0 -0
- data/assets/mirador/fonts/fontawesome-webfont.eot +0 -0
- data/assets/mirador/fonts/fontawesome-webfont.svg +0 -2671
- data/assets/mirador/fonts/fontawesome-webfont.ttf +0 -0
- data/assets/mirador/fonts/fontawesome-webfont.woff +0 -0
- data/assets/mirador/fonts/fontawesome-webfont.woff2 +0 -0
- data/assets/mirador/images/border_type_1.png +0 -0
- data/assets/mirador/images/border_type_2.png +0 -0
- data/assets/mirador/images/border_type_3.png +0 -0
- data/assets/mirador/images/border_type_4.png +0 -0
- data/assets/mirador/images/border_type_5.png +0 -0
- data/assets/mirador/images/debut_dark.png +0 -0
- data/assets/mirador/locales/ar/translation.json +0 -42
- data/assets/mirador/locales/de/translation.json +0 -103
- data/assets/mirador/locales/en/translation.json +0 -106
- data/assets/mirador/locales/es/translation.json +0 -86
- data/assets/mirador/locales/fr/translation.json +0 -103
- data/assets/mirador/locales/ga/translation.json +0 -97
- data/assets/mirador/locales/ja/translation.json +0 -82
- data/assets/mirador/locales/ko/translation.json +0 -83
- data/assets/mirador/locales/nl/translation.json +0 -39
- data/assets/mirador/locales/zh-CN/translation.json +0 -76
- data/assets/mirador/locales/zh-TW/translation.json +0 -76
- data/assets/mirador/locales/zh/translation.json +0 -74
- data/assets/mirador/mirador.js +0 -49145
- data/assets/mirador/plugins/advlist/index.js +0 -7
- data/assets/mirador/plugins/advlist/plugin.js +0 -160
- data/assets/mirador/plugins/advlist/plugin.min.js +0 -1
- data/assets/mirador/plugins/anchor/index.js +0 -7
- data/assets/mirador/plugins/anchor/plugin.js +0 -118
- data/assets/mirador/plugins/anchor/plugin.min.js +0 -1
- data/assets/mirador/plugins/autolink/index.js +0 -7
- data/assets/mirador/plugins/autolink/plugin.js +0 -180
- data/assets/mirador/plugins/autolink/plugin.min.js +0 -1
- data/assets/mirador/plugins/autoresize/index.js +0 -7
- data/assets/mirador/plugins/autoresize/plugin.js +0 -169
- data/assets/mirador/plugins/autoresize/plugin.min.js +0 -1
- data/assets/mirador/plugins/autosave/index.js +0 -7
- data/assets/mirador/plugins/autosave/plugin.js +0 -226
- data/assets/mirador/plugins/autosave/plugin.min.js +0 -1
- data/assets/mirador/plugins/bbcode/index.js +0 -7
- data/assets/mirador/plugins/bbcode/plugin.js +0 -101
- data/assets/mirador/plugins/bbcode/plugin.min.js +0 -1
- data/assets/mirador/plugins/charmap/index.js +0 -7
- data/assets/mirador/plugins/charmap/plugin.js +0 -1275
- data/assets/mirador/plugins/charmap/plugin.min.js +0 -1
- data/assets/mirador/plugins/code/index.js +0 -7
- data/assets/mirador/plugins/code/plugin.js +0 -94
- data/assets/mirador/plugins/code/plugin.min.js +0 -1
- data/assets/mirador/plugins/codesample/css/prism.css +0 -138
- data/assets/mirador/plugins/codesample/index.js +0 -7
- data/assets/mirador/plugins/codesample/plugin.js +0 -967
- data/assets/mirador/plugins/codesample/plugin.min.js +0 -1
- data/assets/mirador/plugins/colorpicker/index.js +0 -7
- data/assets/mirador/plugins/colorpicker/plugin.js +0 -126
- data/assets/mirador/plugins/colorpicker/plugin.min.js +0 -1
- data/assets/mirador/plugins/contextmenu/index.js +0 -7
- data/assets/mirador/plugins/contextmenu/plugin.js +0 -168
- data/assets/mirador/plugins/contextmenu/plugin.min.js +0 -1
- data/assets/mirador/plugins/directionality/index.js +0 -7
- data/assets/mirador/plugins/directionality/plugin.js +0 -66
- data/assets/mirador/plugins/directionality/plugin.min.js +0 -1
- data/assets/mirador/plugins/emoticons/img/smiley-cool.gif +0 -0
- data/assets/mirador/plugins/emoticons/img/smiley-cry.gif +0 -0
- data/assets/mirador/plugins/emoticons/img/smiley-embarassed.gif +0 -0
- data/assets/mirador/plugins/emoticons/img/smiley-foot-in-mouth.gif +0 -0
- data/assets/mirador/plugins/emoticons/img/smiley-frown.gif +0 -0
- data/assets/mirador/plugins/emoticons/img/smiley-innocent.gif +0 -0
- data/assets/mirador/plugins/emoticons/img/smiley-kiss.gif +0 -0
- data/assets/mirador/plugins/emoticons/img/smiley-laughing.gif +0 -0
- data/assets/mirador/plugins/emoticons/img/smiley-money-mouth.gif +0 -0
- data/assets/mirador/plugins/emoticons/img/smiley-sealed.gif +0 -0
- data/assets/mirador/plugins/emoticons/img/smiley-smile.gif +0 -0
- data/assets/mirador/plugins/emoticons/img/smiley-surprised.gif +0 -0
- data/assets/mirador/plugins/emoticons/img/smiley-tongue-out.gif +0 -0
- data/assets/mirador/plugins/emoticons/img/smiley-undecided.gif +0 -0
- data/assets/mirador/plugins/emoticons/img/smiley-wink.gif +0 -0
- data/assets/mirador/plugins/emoticons/img/smiley-yell.gif +0 -0
- data/assets/mirador/plugins/emoticons/index.js +0 -7
- data/assets/mirador/plugins/emoticons/plugin.js +0 -87
- data/assets/mirador/plugins/emoticons/plugin.min.js +0 -1
- data/assets/mirador/plugins/fullpage/index.js +0 -7
- data/assets/mirador/plugins/fullpage/plugin.js +0 -519
- data/assets/mirador/plugins/fullpage/plugin.min.js +0 -1
- data/assets/mirador/plugins/fullscreen/index.js +0 -7
- data/assets/mirador/plugins/fullscreen/plugin.js +0 -177
- data/assets/mirador/plugins/fullscreen/plugin.min.js +0 -1
- data/assets/mirador/plugins/help/img/logo.png +0 -0
- data/assets/mirador/plugins/help/index.js +0 -7
- data/assets/mirador/plugins/help/plugin.js +0 -727
- data/assets/mirador/plugins/help/plugin.min.js +0 -1
- data/assets/mirador/plugins/hr/index.js +0 -7
- data/assets/mirador/plugins/hr/plugin.js +0 -39
- data/assets/mirador/plugins/hr/plugin.min.js +0 -1
- data/assets/mirador/plugins/image/index.js +0 -7
- data/assets/mirador/plugins/image/plugin.js +0 -1211
- data/assets/mirador/plugins/image/plugin.min.js +0 -1
- data/assets/mirador/plugins/imagetools/index.js +0 -7
- data/assets/mirador/plugins/imagetools/plugin.js +0 -3684
- data/assets/mirador/plugins/imagetools/plugin.min.js +0 -1
- data/assets/mirador/plugins/importcss/index.js +0 -7
- data/assets/mirador/plugins/importcss/plugin.js +0 -264
- data/assets/mirador/plugins/importcss/plugin.min.js +0 -1
- data/assets/mirador/plugins/insertdatetime/index.js +0 -7
- data/assets/mirador/plugins/insertdatetime/plugin.js +0 -173
- data/assets/mirador/plugins/insertdatetime/plugin.min.js +0 -1
- data/assets/mirador/plugins/legacyoutput/index.js +0 -7
- data/assets/mirador/plugins/legacyoutput/plugin.js +0 -220
- data/assets/mirador/plugins/legacyoutput/plugin.min.js +0 -1
- data/assets/mirador/plugins/link/index.js +0 -7
- data/assets/mirador/plugins/link/plugin.js +0 -713
- data/assets/mirador/plugins/link/plugin.min.js +0 -1
- data/assets/mirador/plugins/lists/index.js +0 -7
- data/assets/mirador/plugins/lists/plugin.js +0 -1115
- data/assets/mirador/plugins/lists/plugin.min.js +0 -1
- data/assets/mirador/plugins/media/index.js +0 -7
- data/assets/mirador/plugins/media/plugin.js +0 -1166
- data/assets/mirador/plugins/media/plugin.min.js +0 -1
- data/assets/mirador/plugins/nonbreaking/index.js +0 -7
- data/assets/mirador/plugins/nonbreaking/plugin.js +0 -85
- data/assets/mirador/plugins/nonbreaking/plugin.min.js +0 -1
- data/assets/mirador/plugins/noneditable/index.js +0 -7
- data/assets/mirador/plugins/noneditable/plugin.js +0 -118
- data/assets/mirador/plugins/noneditable/plugin.min.js +0 -1
- data/assets/mirador/plugins/pagebreak/index.js +0 -7
- data/assets/mirador/plugins/pagebreak/plugin.js +0 -109
- data/assets/mirador/plugins/pagebreak/plugin.min.js +0 -1
- data/assets/mirador/plugins/paste/index.js +0 -7
- data/assets/mirador/plugins/paste/plugin.js +0 -1497
- data/assets/mirador/plugins/paste/plugin.min.js +0 -1
- data/assets/mirador/plugins/preview/index.js +0 -7
- data/assets/mirador/plugins/preview/plugin.js +0 -123
- data/assets/mirador/plugins/preview/plugin.min.js +0 -1
- data/assets/mirador/plugins/print/index.js +0 -7
- data/assets/mirador/plugins/print/plugin.js +0 -38
- data/assets/mirador/plugins/print/plugin.min.js +0 -1
- data/assets/mirador/plugins/save/index.js +0 -7
- data/assets/mirador/plugins/save/plugin.js +0 -120
- data/assets/mirador/plugins/save/plugin.min.js +0 -1
- data/assets/mirador/plugins/searchreplace/index.js +0 -7
- data/assets/mirador/plugins/searchreplace/plugin.js +0 -603
- data/assets/mirador/plugins/searchreplace/plugin.min.js +0 -1
- data/assets/mirador/plugins/spellchecker/index.js +0 -7
- data/assets/mirador/plugins/spellchecker/plugin.js +0 -757
- data/assets/mirador/plugins/spellchecker/plugin.min.js +0 -1
- data/assets/mirador/plugins/tabfocus/index.js +0 -7
- data/assets/mirador/plugins/tabfocus/plugin.js +0 -124
- data/assets/mirador/plugins/tabfocus/plugin.min.js +0 -1
- data/assets/mirador/plugins/table/index.js +0 -7
- data/assets/mirador/plugins/table/plugin.js +0 -10144
- data/assets/mirador/plugins/table/plugin.min.js +0 -1
- data/assets/mirador/plugins/template/index.js +0 -7
- data/assets/mirador/plugins/template/plugin.js +0 -345
- data/assets/mirador/plugins/template/plugin.min.js +0 -1
- data/assets/mirador/plugins/textcolor/index.js +0 -7
- data/assets/mirador/plugins/textcolor/plugin.js +0 -346
- data/assets/mirador/plugins/textcolor/plugin.min.js +0 -1
- data/assets/mirador/plugins/textpattern/index.js +0 -7
- data/assets/mirador/plugins/textpattern/plugin.js +0 -370
- data/assets/mirador/plugins/textpattern/plugin.min.js +0 -1
- data/assets/mirador/plugins/toc/index.js +0 -7
- data/assets/mirador/plugins/toc/plugin.js +0 -228
- data/assets/mirador/plugins/toc/plugin.min.js +0 -1
- data/assets/mirador/plugins/visualblocks/css/visualblocks.css +0 -154
- data/assets/mirador/plugins/visualblocks/index.js +0 -7
- data/assets/mirador/plugins/visualblocks/plugin.js +0 -135
- data/assets/mirador/plugins/visualblocks/plugin.min.js +0 -1
- data/assets/mirador/plugins/visualchars/index.js +0 -7
- data/assets/mirador/plugins/visualchars/plugin.js +0 -505
- data/assets/mirador/plugins/visualchars/plugin.min.js +0 -1
- data/assets/mirador/plugins/wordcount/index.js +0 -7
- data/assets/mirador/plugins/wordcount/plugin.js +0 -343
- data/assets/mirador/plugins/wordcount/plugin.min.js +0 -1
- data/assets/mirador/skins/lightgray/content.inline.min.css +0 -1
- data/assets/mirador/skins/lightgray/content.min.css +0 -1
- data/assets/mirador/skins/lightgray/content.mobile.min.css +0 -1
- data/assets/mirador/skins/lightgray/fonts/tinymce-mobile.woff +0 -0
- data/assets/mirador/skins/lightgray/fonts/tinymce-small.eot +0 -0
- data/assets/mirador/skins/lightgray/fonts/tinymce-small.svg +0 -63
- data/assets/mirador/skins/lightgray/fonts/tinymce-small.ttf +0 -0
- data/assets/mirador/skins/lightgray/fonts/tinymce-small.woff +0 -0
- data/assets/mirador/skins/lightgray/fonts/tinymce.eot +0 -0
- data/assets/mirador/skins/lightgray/fonts/tinymce.svg +0 -131
- data/assets/mirador/skins/lightgray/fonts/tinymce.ttf +0 -0
- data/assets/mirador/skins/lightgray/fonts/tinymce.woff +0 -0
- data/assets/mirador/skins/lightgray/img/anchor.gif +0 -0
- data/assets/mirador/skins/lightgray/img/loader.gif +0 -0
- data/assets/mirador/skins/lightgray/img/object.gif +0 -0
- data/assets/mirador/skins/lightgray/img/trans.gif +0 -0
- data/assets/mirador/skins/lightgray/skin.min.css +0 -1
- data/assets/mirador/skins/lightgray/skin.mobile.min.css +0 -2
- data/assets/mirador/themes/inlite/index.js +0 -7
- data/assets/mirador/themes/inlite/theme.js +0 -10235
- data/assets/mirador/themes/inlite/theme.min.js +0 -1
- data/assets/mirador/themes/mobile/index.js +0 -7
- data/assets/mirador/themes/mobile/theme.js +0 -13546
- data/assets/mirador/themes/mobile/theme.min.js +0 -1
- data/assets/mirador/themes/modern/index.js +0 -7
- data/assets/mirador/themes/modern/theme.js +0 -10041
- data/assets/mirador/themes/modern/theme.min.js +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 516a59cfab9cee3da58ed4cfc82630e5ee7bdb5a66cede77cee0badf808ac585
|
4
|
+
data.tar.gz: 35f97e51d47292e9f99060373c7894c5073b05e10edea7e9dc8d5b815ee91c37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78557a185755d0fba96104485708437ef3525fb4fdc2a65a34227fe5e8d2e136105914bd5440b65346764327a412671dff81bc97057d142067f0ba859d7a30ae
|
7
|
+
data.tar.gz: d590934c69b0a4c5ecfe66fbbea2abf7f3ae9835c859bb79ab8bfaf093f478d84126438c3f6ac595e0bc89b95e7630689f3316ded1046a893147fa888773c020
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -1,50 +1,99 @@
|
|
1
|
-
#
|
1
|
+
# minicomp/wax 🐝
|
2
|
+
[![Gem Version](https://badge.fury.io/rb/wax_theme.svg)](https://badge.fury.io/rb/wax_tasks) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com) [![Build Status](https://travis-ci.org/mnyrop/wax.svg?branch=master)](https://travis-ci.org/minicomp/wax) [![Gem Downloads](https://img.shields.io/gem/dt/wax_theme.svg?color=046d0b)](https://badge.fury.io/rb/wax_theme) [![Join the chat at https://gitter.im/minicomp/wax](https://badges.gitter.im/minicomp/wax.svg)](https://gitter.im/minicomp/wax?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) ![License](https://img.shields.io/github/license/minicomp/wax_tasks.svg?color=c6a1e0)
|
2
3
|
|
3
|
-
[![Gem Version](https://badge.fury.io/rb/wax_theme.svg)](https://badge.fury.io/rb/wax_tasks) ![License](https://img.shields.io/badge/license-MIT-yellowgreen.svg) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com) [![docs](http://img.shields.io/badge/docs-rdoc.info-blue.svg)](https://www.rubydoc.info/github/mnyrop/wax_tasks/)
|
4
4
|
|
5
|
-
[![Build Status](https://travis-ci.org/mnyrop/wax_theme.svg?branch=rubocop)](https://travis-ci.org/mnyrop/wax_theme) [![](https://img.shields.io/librariesio/github/mnyrop/wax_theme.svg)](https://libraries.io/github/mnyrop/wax_theme)
|
6
5
|
|
7
|
-
__wax_theme__ is a gem packaged [Jekyll](https://jekyllrb.com/) theme for [Minicomp/Wax](https://github.com/minicomp/wax/).
|
8
6
|
|
9
|
-
It includes components specifically tailored for minimal scholarly exhibition sites, including IIIF and flat image viewers, faceted galleries, parallax banners, dynamic search boxes, data tables, and more.
|
10
7
|
|
11
|
-
|
8
|
+
__Wax is an extensible workflow for producing scholarly exhibitions with minimal computing principles.__<br>
|
9
|
+
It's comprised of: __a few Ruby gems__ for processing image data and associated metadata ([wax_tasks](https://github.com/minicomp/wax_tasks/), [wax_iiif](https://github.com/minicomp/wax_iiif/)), __a Jekyll theme__ ([wax_theme](https://github.com/minicomp/wax/)), and (hopefully soon!) a lot of __documentation and recipes__ for creating, deploying, and maintaining digital exhibitions.
|
12
10
|
|
13
|
-
<a href="https://minicomp.github.io/wax/">
|
14
|
-
<img src="https://raw.githubusercontent.com/minicomp/wiki/master/docs/assets/wax_screen.gif"/>
|
15
|
-
</a>
|
16
|
-
|
17
|
-
## Installation
|
18
11
|
|
19
|
-
|
12
|
+
- [Prerequisites](#Prerequisites)
|
13
|
+
- [Getting Started](#Getting-Started)
|
20
14
|
|
21
|
-
|
22
|
-
gem "wax_theme"
|
23
|
-
```
|
24
|
-
|
25
|
-
And add this line to your Jekyll site's `_config.yml`:
|
15
|
+
<br>
|
26
16
|
|
27
|
-
|
28
|
-
|
29
|
-
|
17
|
+
<a href="https://minicomp.github.io/wax/">
|
18
|
+
<img src="https://raw.githubusercontent.com/minicomp/wiki/master/assets/wax_screen.gif"/>
|
19
|
+
</a>
|
30
20
|
|
31
|
-
|
21
|
+
<br>
|
32
22
|
|
33
|
-
|
23
|
+
# Prerequisites
|
34
24
|
|
35
|
-
Or install it yourself as:
|
36
25
|
|
37
|
-
|
26
|
+
You'll need `Ruby >= 2.4` with `bundler` installed. Check your versions with:
|
38
27
|
|
39
|
-
|
28
|
+
```bash
|
29
|
+
$ ruby -v
|
30
|
+
ruby 2.4.5p335 (2018-10-18 revision 65137) [x86_64-darwin18]
|
40
31
|
|
41
|
-
|
32
|
+
$ bundler -v
|
33
|
+
Bundler version 2.0.1
|
34
|
+
```
|
42
35
|
|
43
|
-
|
36
|
+
To process images, you will also need to have ImageMagick and Ghostscript installed and functional. You can check to see if you have ImageMagick by running:
|
44
37
|
|
45
|
-
|
38
|
+
```bash
|
39
|
+
$ convert -version
|
40
|
+
Version: ImageMagick 6.9.9-20 Q16 x86_64 2017-10-15 http://www.imagemagick.org
|
41
|
+
Copyright: (c) 1999-2017 ImageMagick Studio LLC
|
42
|
+
```
|
46
43
|
|
47
|
-
|
44
|
+
... and check Ghostscript with:
|
45
|
+
```bash
|
46
|
+
$ gs -version
|
47
|
+
GPL Ghostscript 9.21 (2017-03-16)
|
48
|
+
Copyright (C) 2017 Artifex Software, Inc. All rights reserved.
|
49
|
+
```
|
48
50
|
|
49
|
-
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
50
51
|
|
52
|
+
# Getting Started
|
53
|
+
|
54
|
+
__There are a few ways to get started with Wax, depending on your needs.__ Cloning the demo is suggested for new users so you can see how a full Wax site would work. __Advanced Jekyllers__ can start from a clean Jekyll install.
|
55
|
+
|
56
|
+
### Option 1: Clone the demo
|
57
|
+
|
58
|
+
1. Change directory into where you'd like your site, e.g., your Desktop:
|
59
|
+
```sh
|
60
|
+
cd ~/Desktop
|
61
|
+
```
|
62
|
+
2. Clone this repository
|
63
|
+
```sh
|
64
|
+
git clone https://github.com/minicomp/wax.git
|
65
|
+
```
|
66
|
+
3. Change directory into the site repository and install the dependencies:
|
67
|
+
```sh
|
68
|
+
cd wax
|
69
|
+
bundle install
|
70
|
+
```
|
71
|
+
4. Serve the site locally
|
72
|
+
```sh
|
73
|
+
bundle exec jekyll serve
|
74
|
+
```
|
75
|
+
#### Option 2: Start from scratch (Advanced)
|
76
|
+
|
77
|
+
1. Make a new Jekyll site and cd into it:
|
78
|
+
```sh
|
79
|
+
jekyll new ~/Desktop/wax_site
|
80
|
+
cd ~/Desktop/wax_site
|
81
|
+
```
|
82
|
+
2. Add this line to your Jekyll site's Gemfile:
|
83
|
+
```sh
|
84
|
+
gem "wax_theme"
|
85
|
+
```
|
86
|
+
3. And add this line to your Jekyll site's \_config.yml:
|
87
|
+
```sh
|
88
|
+
theme: wax_theme
|
89
|
+
```
|
90
|
+
4. Install the dependencies:
|
91
|
+
```sh
|
92
|
+
bundle install
|
93
|
+
```
|
94
|
+
5. Serve the site locally
|
95
|
+
```sh
|
96
|
+
bundle exec jekyll serve
|
97
|
+
```
|
98
|
+
|
99
|
+
When the demo site is serving correctly you're ready to swap in your own content and configuration to make your own exhibition site.
|
@@ -0,0 +1,58 @@
|
|
1
|
+
{% assign collection = site[include.collection] %}
|
2
|
+
|
3
|
+
{% if include.only and include.facet_by %}
|
4
|
+
{% assign subset = collection | where: include.facet_by, include.only %}
|
5
|
+
{% endif %}
|
6
|
+
|
7
|
+
<div id='wax-gallery-{{ include.collection }}-container' class='wax-gallery-container full-width'>
|
8
|
+
<div class='wax-inline-container'>
|
9
|
+
<div id="{{ include.collection }}-facet-buttons" class="facet-buttons"></div>
|
10
|
+
<div id="wax-gallery-{{ include.collection }}" class="wax-gallery"></div>
|
11
|
+
</div>
|
12
|
+
</div>
|
13
|
+
|
14
|
+
|
15
|
+
<script type="text/javascript">
|
16
|
+
$( document ).ready(function() {
|
17
|
+
var container = $('#wax-gallery-{{ include.collection }}-container');
|
18
|
+
var gallery = $('#wax-gallery-{{ include.collection }}');
|
19
|
+
var buttonDiv = $('#{{ include.collection }}-facet-buttons');
|
20
|
+
|
21
|
+
{% if subset %}
|
22
|
+
{% for item in subset %}
|
23
|
+
{%- capture item_html -%}
|
24
|
+
"<div class='gallery-item {{ item[include.facet_by] | slugify }} all'><a href='{{ item.url | absolute_url }}'><div class='hovereffect'><img class='img-responsive gallery-thumb' src='{{ item.thumbnail | absolute_url }}'/><div class='overlay'><p class='info'>{{ item.label }}</p></div></div></a></div>"
|
25
|
+
{%- endcapture -%}
|
26
|
+
gallery.append({{ item_html | strip_newlines }});
|
27
|
+
{% endfor %}
|
28
|
+
{% else %}
|
29
|
+
{% for item in collection %}
|
30
|
+
{%- capture item_html -%}
|
31
|
+
"<div class='gallery-item {{ item[include.facet_by] | slugify }} all'><a href='{{ item.url | absolute_url }}'><div class='hovereffect'><img class='img-responsive gallery-thumb' src='{{ item.thumbnail | absolute_url }}' alt='{{ item.label }}'/><div class='overlay'><p class='info'>{{ item.label }}</p></div></div></a></div>"
|
32
|
+
{%- endcapture -%}
|
33
|
+
gallery.append({{ item_html | strip_newlines }});
|
34
|
+
{% endfor %}
|
35
|
+
{% endif %}
|
36
|
+
|
37
|
+
{% if include.facet_by %}
|
38
|
+
{% unless subset %}
|
39
|
+
var facets = Array.from(new Set([{%- for item in collection -%}'{{ item[include.facet_by] | slugify }}'{% unless forloop.last %}, {% endunless %}{%- endfor -%}]));
|
40
|
+
buttonDiv.append("<button class='btn facet active' data-filter='all'>show all</button>");
|
41
|
+
|
42
|
+
for (i in facets) {
|
43
|
+
buttonDiv.append(`<button class='btn facet' data-filter='${facets[i]}'>${facets[i]}</button>`);
|
44
|
+
}
|
45
|
+
|
46
|
+
$(document).ready(function(){
|
47
|
+
$(".facet").click(function(){
|
48
|
+
var filterValue = $(this).attr('data-filter');
|
49
|
+
$('.facet').removeClass('active');
|
50
|
+
$(this).addClass('active');
|
51
|
+
if(filterValue == 'all') { $('.all').show('slow'); }
|
52
|
+
else { $('.all').hide('slow'); $(`.${filterValue}`).show('slow'); }
|
53
|
+
});
|
54
|
+
});
|
55
|
+
{% endunless %}
|
56
|
+
{% endif %}
|
57
|
+
});
|
58
|
+
</script>
|
@@ -1,7 +1,6 @@
|
|
1
1
|
<footer id='wax-footer' class='page-footer container-fluid'>
|
2
2
|
<div class='wax-inline-container'>
|
3
3
|
<div class='row'>
|
4
|
-
<!-- column 1-->
|
5
4
|
<div class='col'>
|
6
5
|
<p class='footer-title'>{{ site.title }}</p>
|
7
6
|
<p class='footer-description'>{{ site.description }}</p>
|
@@ -10,7 +9,6 @@
|
|
10
9
|
Built with <a href='https://github.com/minicomp/wax/'>Minicomp/Wax</a>
|
11
10
|
</p>
|
12
11
|
</div>
|
13
|
-
<!-- column 2-->
|
14
12
|
<div class='col'>
|
15
13
|
<p class='footer-title'>Links</p>
|
16
14
|
<p class='footer-links'>
|
@@ -24,8 +22,8 @@
|
|
24
22
|
<p class='footer-logos'>
|
25
23
|
{% for item in site.footer.logos %}
|
26
24
|
{% assign link = item.link | default: '#' %}
|
27
|
-
<a href="{{ link | absolute_url }}">
|
28
|
-
<img src='{{ item.img | absolute_url }}' />
|
25
|
+
<a href="{{ link | absolute_url }}" aria-label="Logo link to resource">
|
26
|
+
<img src='{{ item.img | absolute_url }}' alt="logo"/>
|
29
27
|
</a>
|
30
28
|
{% endfor %}
|
31
29
|
</p>
|
data/_includes/head.html
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
<head>
|
2
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
3
|
+
<title>
|
4
|
+
{{ site.title }}{% if page.label %} | {{ page.label }}{% elsif page.title %} | {{ page.title }}{% endif %}
|
5
|
+
</title>
|
6
|
+
|
7
|
+
<link rel='canonical' href='{{ page.url | absolute_url }}'/>
|
8
|
+
<link rel='icon' type='image/png' href="{{ 'img/logo.png' | absolute_url }}">
|
9
|
+
<link rel='stylesheet' href="{{ '/assets/styles.css' | absolute_url }}"/>
|
10
|
+
|
11
|
+
<script type='text/javascript' src="{{ '/assets/jquery-3.2.1.min.js' | absolute_url }}"></script>
|
12
|
+
<noscript>Please enable JavaScript in your browser.</noscript>
|
13
|
+
</head>
|
@@ -1,7 +1,6 @@
|
|
1
1
|
<nav id='wax-header' class='navbar navbar-expand-lg navbar-light'>
|
2
2
|
<div class='wax-inline-container'>
|
3
3
|
<a class='navbar-brand' href="{{ '/' | absolute_url }}" title='Home'>
|
4
|
-
<img src="{{ '/assets/logo.png' | absolute_url }}" width='30' height='30' class='d-inline-block align-top' alt='logo'>
|
5
4
|
{{ site.title | newline_to_br }}
|
6
5
|
</a>
|
7
6
|
|
@@ -31,5 +30,5 @@
|
|
31
30
|
{% endfor %}
|
32
31
|
</ul>
|
33
32
|
</div>
|
34
|
-
|
33
|
+
</div>
|
35
34
|
</nav>
|
@@ -1,8 +1,41 @@
|
|
1
|
-
<link rel="stylesheet" type="text/css" href="{{ '/assets/
|
2
|
-
<script type="text/javascript" src="{{ 'assets/
|
1
|
+
<link rel="stylesheet" type="text/css" href="{{ '/assets/datatables/datatables.css' | absolute_url }}" />
|
2
|
+
<script type="text/javascript" src="{{ 'assets/datatables/datatables.min.js' | absolute_url }}"></script>
|
3
3
|
|
4
|
-
<table id='{{ include.collection }}-datatable' class='datatable display'>
|
5
|
-
|
4
|
+
<table id='{{ include.collection }}-datatable' class='datatable display'></table>
|
5
|
+
{% assign data = site.data[include.collection] %}
|
6
|
+
{%- capture columns -%}
|
7
|
+
{%- for field in data.first -%}
|
8
|
+
{
|
9
|
+
"title": "{{ field[0] }}",
|
10
|
+
"data": "{{ field[0] }}"
|
11
|
+
}{% unless forloop.last %}, {% endunless %}
|
12
|
+
{%- endfor -%}
|
13
|
+
{%- endcapture -%}
|
14
|
+
|
15
|
+
<script>
|
16
|
+
$(document).ready(function () {
|
17
|
+
$('#{{ include.collection }}-datatable').DataTable({
|
18
|
+
data: {{ data | jsonify }},
|
19
|
+
columns: [{{ columns }}],
|
20
|
+
scrollY: 600,
|
21
|
+
scrollX: 600,
|
22
|
+
paging: false,
|
23
|
+
fixedHeader: false,
|
24
|
+
searching: false,
|
25
|
+
ordering: false,
|
26
|
+
dom: 'Bfrtip',
|
27
|
+
buttons: [
|
28
|
+
'csvHtml5'
|
29
|
+
]
|
30
|
+
});
|
31
|
+
});
|
32
|
+
</script>
|
33
|
+
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
{% comment %}
|
38
|
+
{% assign first_item = site.data[include.collection].first %}
|
6
39
|
<thead>
|
7
40
|
<tr>
|
8
41
|
{% for field in first_item %}
|
@@ -34,20 +67,4 @@
|
|
34
67
|
{% endfor %}
|
35
68
|
</tbody>
|
36
69
|
</table>
|
37
|
-
|
38
|
-
<script>
|
39
|
-
$(document).ready(function () {
|
40
|
-
$('#{{ include.collection }}-datatable').DataTable({
|
41
|
-
scrollY: 600,
|
42
|
-
scrollX: 600,
|
43
|
-
paging: false,
|
44
|
-
fixedHeader: false,
|
45
|
-
searching: false,
|
46
|
-
dom: 'Bfrtip',
|
47
|
-
buttons: [
|
48
|
-
'csvHtml5',
|
49
|
-
'copyHtml5'
|
50
|
-
]
|
51
|
-
});
|
52
|
-
});
|
53
|
-
</script>
|
70
|
+
{% endcomment %}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<dl class='metadata-block'>
|
2
|
+
{% for item in include.meta %}
|
3
|
+
{% if item.value contains 'page.' %}
|
4
|
+
{% assign key = item.value | remove: 'page.' %}
|
5
|
+
{% assign value = page[key] %}
|
6
|
+
{% else %}
|
7
|
+
{% assign value = item.value %}
|
8
|
+
{% endif %}
|
9
|
+
|
10
|
+
{% if item.type == 'link' %}
|
11
|
+
{% if key == 'manifest' %}
|
12
|
+
{%- capture value -%}
|
13
|
+
<a href="{{ value | absolute_url }}" target="_blank" rel="noreferrer">{{ value | absolute_url }}</a>
|
14
|
+
{%- endcapture -%}
|
15
|
+
{% else %}
|
16
|
+
{%- capture value -%}
|
17
|
+
<a href="{{ value | absolute_url }}" target="_blank" rel="noreferrer">
|
18
|
+
{{ value | absolute_url | remove: 'https://' | remove: 'http://' | split: "/" | first }}
|
19
|
+
</a>
|
20
|
+
{%- endcapture -%}
|
21
|
+
{% endif %}
|
22
|
+
{% endif %}
|
23
|
+
<dt>{{ item.label }}</dt>
|
24
|
+
<dd>{{ value | strip }}</dd>
|
25
|
+
{% endfor %}
|
26
|
+
</dl>
|
File without changes
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<div id="osd" class="image-viewer"></div>
|
2
|
+
<script async defer src="{{ '/assets/openseadragon/openseadragon.min.js' | absolute_url }}"></script>
|
3
|
+
|
4
|
+
<script>
|
5
|
+
$(document).ready(function () {
|
6
|
+
var manifestUrl = "{{ include.manifest | absolute_url }}";
|
7
|
+
$.getJSON(manifestUrl, function(data) {
|
8
|
+
var tileSources = [];
|
9
|
+
$.each(data.sequences[0].canvases, function(k, val) {
|
10
|
+
tileSources.push(val.images[0].resource.service['@id'] + '/info.json');
|
11
|
+
});
|
12
|
+
OpenSeadragon({
|
13
|
+
id: "osd",
|
14
|
+
sequenceMode: true,
|
15
|
+
prefixUrl: "{{ '/assets/openseadragon/images/' | absolute_url }}",
|
16
|
+
tileSources: tileSources,
|
17
|
+
homeFillsViewer: false,
|
18
|
+
showReferenceStrip: true
|
19
|
+
});
|
20
|
+
});
|
21
|
+
});
|
22
|
+
</script>
|
@@ -1,22 +1,26 @@
|
|
1
1
|
{% if include.image %}
|
2
|
-
{% assign image = image
|
2
|
+
{% assign image = image %}
|
3
3
|
{% else %}
|
4
4
|
{% assign item = site[include.collection] | where: 'pid', include.pid | first %}
|
5
|
-
{% assign image = item.full
|
5
|
+
{% assign image = item.full %}
|
6
6
|
{% endif %}
|
7
7
|
|
8
|
-
{
|
8
|
+
{%- capture style -%}
|
9
9
|
background-image: url('{{ image | absolute_url }}');
|
10
10
|
background-position: 0% {{ include.y | default: '15%' }};
|
11
|
-
{% endcapture %}
|
12
11
|
|
13
|
-
|
12
|
+
{% if include.height %}
|
13
|
+
height: {{ include.height }} !important;
|
14
|
+
{% endif %}
|
15
|
+
{%- endcapture -%}
|
16
|
+
|
17
|
+
<div class='wax-parallax full-width {% if page.banner %}top-banner{% else %}inline-parallax{% endif %}'>
|
14
18
|
<div class='parallax-image' style="{{ style | strip }}"></div>
|
15
19
|
|
16
20
|
{% if item.label %}
|
17
21
|
<div class='parallax-caption'>
|
18
22
|
<div class='wax-inline-container'>
|
19
|
-
|
23
|
+
Above: <a href='{{ item.url | absolute_url }}'>{{ item.label }}</a>
|
20
24
|
</div>
|
21
25
|
</div>
|
22
26
|
{% endif %}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
{% assign placeholder = include.placeholder | default: 'Search... ' %}
|
2
|
+
{% assign key = include.search | default: 'main' %}
|
3
|
+
{% assign config = site.search[key] %}
|
4
|
+
{% assign index = config.index | absolute_url %}
|
5
|
+
{%- capture fields -%}
|
6
|
+
{%- for collection in config.collections -%}
|
7
|
+
{%- for field in collection[1].fields -%}
|
8
|
+
{{ field }}{% unless forloop.last %}|||{% endunless %}
|
9
|
+
{%- endfor -%}
|
10
|
+
{%- endfor -%}
|
11
|
+
{%- endcapture -%}
|
12
|
+
{% assign fields = fields | split: '|||' | uniq %}
|
13
|
+
|
14
|
+
<div class='search-block'>
|
15
|
+
<div class='input-group'>
|
16
|
+
<input type='text' class='form-control' id='search' name='x' placeholder='{{ placeholder }}'>
|
17
|
+
</div>
|
18
|
+
<div id='results'></div>
|
19
|
+
</div>
|
20
|
+
|
21
|
+
<script type='text/javascript' src="{{ '/assets/elasticlunr.min.js' | absolute_url }}"></script>
|
22
|
+
<script type='text/javascript' src="{{ '/assets/search-ui.js' | absolute_url }}"></script>
|
23
|
+
<script type='text/javascript'>
|
24
|
+
var fields = {{ fields | jsonify }};
|
25
|
+
var indexFile = "{{ index }}";
|
26
|
+
var url = "{{ '' | absolute_url }}";
|
27
|
+
|
28
|
+
$(document).ready(function() {
|
29
|
+
startSearchUI(fields, indexFile, url);
|
30
|
+
});
|
31
|
+
</script>
|