Commit fb2c48bd authored by dje's avatar dje
Browse files

suppression classes css js-tree dans toc

parent d0dbda35
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -69,7 +69,6 @@ function max:page($project, $page){
         return 
           let $content := max.toc:getProjectTOC($project)
           let $meta := max.config:getHtmlHeadTags($project, 'default', $page)

           return max.html:render($project, $page, $content, (), $meta)    
     case "accueil"
       (:if 'accueil' frag does not exists -> display route list by default:)
+4 −4
Original line number Diff line number Diff line
@@ -92,7 +92,7 @@ declare function max.util:recursive-children-collection($dbName, $collection, $h
    let $colls := 
      for $c in max.util:children-collection($dbName, $collection)
      let $childPath :=  $collection || "/" || $c
      return <li class='jstree-closed'>{$c}{max.util:recursive-children-collection($dbName, $childPath, $hrefPrefix)}</li>
      return <li>{$c}{max.util:recursive-children-collection($dbName, $childPath, $hrefPrefix)}</li>
    
    (:result: docs + sub collections:)
    return <ul>{$docsOut,$colls}</ul>
@@ -135,7 +135,7 @@ declare function max.util:list-doc-in-collection($dbName, $collection, $hrefPref
                  default return  tokenize($d,"/")[last()]
                  
            return             
             <li class='jstree-closed'><a href="{$hrefPrefix || $d}">{$title}</a></li>
             <li><a href="{$hrefPrefix || $d}">{$title}</a></li>
          }
          catch *{ <li class='error'>'Erreur: ' {$err:description}</li>}
      else ()
@@ -160,14 +160,14 @@ declare function max.util:list-db-resources($dbName, $hrefPrefix as xs:string){
<ul>{
    if(count(max.util:doc-in-collection($dbName,'')))
    then
    <li id='rootDocs' class='jstree-closed'><span id="rootDocs-label">{$dbName}</span> 
    <li id='rootDocs'><span id="rootDocs-label">{$dbName}</span> 
      <ul>{max.util:list-doc-in-collection($dbName, '', $hrefPrefix)}</ul>
    </li>
    else()
  }
  {
  for $col in max.util:children-collection($dbName, "")
  return  <li class='jstree-closed'>{$col}{max.util:recursive-children-collection($dbName, $col, $hrefPrefix)}</li>
  return  <li>{$col}{max.util:recursive-children-collection($dbName, $col, $hrefPrefix)}</li>
  }
</ul>
};

ui/images/favicon.ico

0 → 100644
+1.12 KiB
Loading image diff...