Loading plugins/index/index.css +88 −21 Original line number Diff line number Diff line .index-letter-block{ list-style-type: none; clear:both; font-size:10px; border-top: 2px solid #aaa; div.index { min-width: 50%; } .index-letter-block > ul > li{ list-style-type: none; width:24%; float: left; border:1px solid #ccc; margin:2px; min-height: 200px; padding:2px; background-color: #eee; div.personnes { min-width: 50%; } #alphabet_liste { border-color: #C0C0C0; border-style: solid; border-width: 1px; line-height: 2; padding-top: 5px; position: fixed; right: 50px; width: 15%; font-size: 12px; } #alphabet_liste, tr { padding: 5px; vertical-align: top; } .index .personnes h1 { font-size: 1.3em; } .index .developper { background-size: 100% 4px; padding: 0px 0px 0px 15px; width: 80%; margin: 4px 0px 0px 8px; border: none; } div.index fieldset { width: 80%; max-width: 800px; padding-top: 0px; padding-left: 20px; padding-bottom: 10px; padding-right: 60px; margin: 2px 2px 2px 2px; /* border: 1px solid #808080; */ border: none; } .subindex>.collapsible { width: 100%; } div.index legend.collapsible { color: #808080; width: 7%; cursor: pointer; padding-right: -65px; outline: none; font-size: 100%; text-align: left; font-weight: normal; border-radius: 4px; padding-left: 25px; margin-left: 0px; } legend.collapsible::after { content: "▶"; font-size: 11px; padding: 0px 9px 0px 8px; } legend.collapsible.active::after { content: "▼"; font-size: 11px; padding-left: 9px; } legend.collapsible:hover, legend.collapsible.active { background-color: #fff; } li.fr:nth-of-type(1){ color: green; div.index .collapsible:hover, div.index .collapsible.active { background-color: transparent; } .index-block{ display:flex; flex-direction: column; justify-content:space-between; p.entries { margin: 5px 0px 0px 20px; color:black; } a.index-link:after{content:" | "} No newline at end of file plugins/index/index.xqm +3 −3 Original line number Diff line number Diff line Loading @@ -39,10 +39,10 @@ let $indexFilePath :=file:parent(file:parent(file:parent(static-base-uri()))) || let $custXQ := file:parent(file:parent(file:parent(static-base-uri())))||"editions/"||$project||"/xq/index/index_"||$type||".xq" let $custXSL := file:parent(file:parent(file:parent(static-base-uri())))||"editions/"||$project||"/ui/xsl/index/index_"||$type||".xsl" (: let $HTMLIndex := if (file:exists($custXQ) and file:exists($custXSL)) let $HTMLIndex := if (file:exists($custXQ) and file:exists($custXSL)) then max.plugin.index:loadIndex($project,$type,$custXQ,$custXSL,$lang) else "error" :) let $HTMLIndex := max.plugin.index:loadIndex($project,$type,$custXQ,$custXSL,$lang) else "error" let $res := switch ($HTMLIndex) case "error" Loading Loading
plugins/index/index.css +88 −21 Original line number Diff line number Diff line .index-letter-block{ list-style-type: none; clear:both; font-size:10px; border-top: 2px solid #aaa; div.index { min-width: 50%; } .index-letter-block > ul > li{ list-style-type: none; width:24%; float: left; border:1px solid #ccc; margin:2px; min-height: 200px; padding:2px; background-color: #eee; div.personnes { min-width: 50%; } #alphabet_liste { border-color: #C0C0C0; border-style: solid; border-width: 1px; line-height: 2; padding-top: 5px; position: fixed; right: 50px; width: 15%; font-size: 12px; } #alphabet_liste, tr { padding: 5px; vertical-align: top; } .index .personnes h1 { font-size: 1.3em; } .index .developper { background-size: 100% 4px; padding: 0px 0px 0px 15px; width: 80%; margin: 4px 0px 0px 8px; border: none; } div.index fieldset { width: 80%; max-width: 800px; padding-top: 0px; padding-left: 20px; padding-bottom: 10px; padding-right: 60px; margin: 2px 2px 2px 2px; /* border: 1px solid #808080; */ border: none; } .subindex>.collapsible { width: 100%; } div.index legend.collapsible { color: #808080; width: 7%; cursor: pointer; padding-right: -65px; outline: none; font-size: 100%; text-align: left; font-weight: normal; border-radius: 4px; padding-left: 25px; margin-left: 0px; } legend.collapsible::after { content: "▶"; font-size: 11px; padding: 0px 9px 0px 8px; } legend.collapsible.active::after { content: "▼"; font-size: 11px; padding-left: 9px; } legend.collapsible:hover, legend.collapsible.active { background-color: #fff; } li.fr:nth-of-type(1){ color: green; div.index .collapsible:hover, div.index .collapsible.active { background-color: transparent; } .index-block{ display:flex; flex-direction: column; justify-content:space-between; p.entries { margin: 5px 0px 0px 20px; color:black; } a.index-link:after{content:" | "} No newline at end of file
plugins/index/index.xqm +3 −3 Original line number Diff line number Diff line Loading @@ -39,10 +39,10 @@ let $indexFilePath :=file:parent(file:parent(file:parent(static-base-uri()))) || let $custXQ := file:parent(file:parent(file:parent(static-base-uri())))||"editions/"||$project||"/xq/index/index_"||$type||".xq" let $custXSL := file:parent(file:parent(file:parent(static-base-uri())))||"editions/"||$project||"/ui/xsl/index/index_"||$type||".xsl" (: let $HTMLIndex := if (file:exists($custXQ) and file:exists($custXSL)) let $HTMLIndex := if (file:exists($custXQ) and file:exists($custXSL)) then max.plugin.index:loadIndex($project,$type,$custXQ,$custXSL,$lang) else "error" :) let $HTMLIndex := max.plugin.index:loadIndex($project,$type,$custXQ,$custXSL,$lang) else "error" let $res := switch ($HTMLIndex) case "error" Loading