Commit 5e1c64a9 authored by Jerome Chauveau's avatar Jerome Chauveau
Browse files

ajustements CSS et js, léger clean breadcrumb

parent 051b84e9
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -8,8 +8,10 @@ class ApparatPlugin extends Plugin{

  run(){
      //si le fragment courant ne contient pas d'apparat
      if(!this.docWithApparat())
      if(!this.docWithApparat()){
         $(".apparat-witnesses").hide();
         return;
      }
      this.showWitness("lem");
      this.witnessTooltiping();
  }
@@ -104,7 +106,7 @@ class ApparatPlugin extends Plugin{


  docWithApparat(){
    return ($(".apparat").length + $(".lacunaStart").length + $(".lacunaEnd").length) > 0
    return ($("#text .apparat").length + $("#text .lacunaStart").length + $("#text .lacunaEnd").length) > 0
  }

}
+3 −1
Original line number Diff line number Diff line
@@ -10,8 +10,10 @@ declare variable $project external;
declare variable $doc external;
declare variable $id external;

declare variable $PLUGIN_ID := "breadcrumb";
declare variable $TOP_LABEL := "topLabel";

let $projectPrettyName := max.config:getPluginParameterValue($project, 'breadcrumb', 'topLabel')
let $projectPrettyName := max.config:getPluginParameterValue($project, $PLUGIN_ID, $TOP_LABEL)
let $title:= max.util:getDocTitle($dbPath, $doc, max.config:getXMLFormat($project))
let $xsl := max.config:getDocumentTitleTOCXSL($project)
let $transformedTitle := xslt:transform($title,$xsl)
+3 −6
Original line number Diff line number Diff line
@@ -5,11 +5,8 @@
#osd-viewer .openseadragon-container{
    min-height: 500px;
}
#main-max-container{
    position: relative;
}
#all-images-btn{
    position: absolute;
    top:0px;
    right:0px;
    position: fixed;
    bottom:100px;
    right:50px;
}
 No newline at end of file