# HG changeset patch # User casties # Date 1435594926 0 # Node ID ec638eda0d68ca6e4fa810556820b8e212fff886 # Parent d3c2ef4eaf6a3ff480c12a219882ab6fbdd15d5d fix display issues with codex (#49 #17). diff -r d3c2ef4eaf6a -r ec638eda0d68 src/main/webapp/imageServer/resources/css/diva4ismi.css --- a/src/main/webapp/imageServer/resources/css/diva4ismi.css Fri Jun 12 23:13:12 2015 +0000 +++ b/src/main/webapp/imageServer/resources/css/diva4ismi.css Mon Jun 29 16:22:06 2015 +0000 @@ -1,70 +1,50 @@ #witness-table-contents table tr td { text-align:right; color: #3b4186; - font-size: 10px; + /* font-size: 10px;*/ } #witness-date-copyist table tr th { color: #3b4186; - font-size: 10px; + /* font-size: 10px; */ } #title-date-composition table tr th { color: #3b4186; - font-size: 10px; + /* font-size: 10px; */ } -#title-incipit { - text-align:right; -} - -#title-explicit { - text-align:right; -} - -#title-colophon { - text-align:right; -} - +#title-incipit, +#title-explicit, +#title-colophon, #title-table-contents { - text-align:right; -} - - -#witness-incipit { - text-align:right; -} - -#witness-explicit { - text-align:right; -} - -#witness-colophon { - text-align:right; -} - -#witness-table-contents { text-align:right; } +#witness-incipit, +#witness-explicit, +#witness-explicit, +#witness-colophon, +#witness-table-contents, +#witness-title-written-in-witness, +#witness-author-written-in-witness { + text-align:right; +} + .ismi-fullscreen-icon { - z-index: 100; position: absolute; - top: 5px; left: 5px; - height: 26px; width: 26px; - background: url("../img/fullscreen.png") no-repeat } @@ -73,10 +53,6 @@ } -.attPanel{ - margin-top: 40px; -} - .divaBackgroud { background: none repeat scroll 0 0 #FFFFFF; border: 1px solid #C4C0B9; @@ -127,26 +103,36 @@ margin-right: auto; } -.divaPanel td{ +.divaPanel td { background-color: #E8E8E8; text-align: left; } +.attPanel { + margin-top: 40px; + font-size: 11px; +} + +.attPanel table, +.attPanel a { + font-size: 11px; +} + a{ color: #3B4186 !important; font-family: Arial,Verdana,sans-serif; - font-size: 11px; + /* font-size: 11px; */ } a:hover{ - //color: blue !important; + /* color: blue !important; */ } .tdTitle{ color: #3B4186; font-family: Arial,Verdana,sans-serif; font-weight: normal; - font-size: 10px; + /* font-size: 10px; */ width: 170px; text-align: left; padding: 5px 5px 5px 5px; @@ -158,12 +144,12 @@ } .tableContent td{ - //background-color: red; + /* background-color: red; */ width: 200px; color: #3B4186; font-family: Arial,Verdana,sans-serif; - font-size: 10px; + /* font-size: 10px; */ font-weight: normal; text-align: left; diff -r d3c2ef4eaf6a -r ec638eda0d68 src/main/webapp/imageServer/resources/js/diva4ismi.js --- a/src/main/webapp/imageServer/resources/js/diva4ismi.js Fri Jun 12 23:13:12 2015 +0000 +++ b/src/main/webapp/imageServer/resources/js/diva4ismi.js Mon Jun 29 16:22:06 2015 +0000 @@ -255,7 +255,9 @@ var bibInf=json.data.references[refKey]; showBibliographyEntryFormatted(refKey,bibInf,loc); } - referencesContent += ""; + if ((json.data.references == null)||(json.data.references.keys().length == 0)) { + $('#witness-refs').parent().hide(); + }; } @@ -401,7 +403,9 @@ var bibInf=json.data.references[refKey]; showBibliographyEntryFormatted(refKey,bibInf,loc); } - referencesContent += ""; + if ((json.data.references == null)||(json.data.references.keys().length == 0)) { + $('#title-bib').parent().hide(); + }; diff -r d3c2ef4eaf6a -r ec638eda0d68 src/main/webapp/public/publicCodex.jsp --- a/src/main/webapp/public/publicCodex.jsp Fri Jun 12 23:13:12 2015 +0000 +++ b/src/main/webapp/public/publicCodex.jsp Mon Jun 29 16:22:06 2015 +0000 @@ -350,7 +350,10 @@ - References + + + + + +
References + @@ -367,8 +370,9 @@
- -