Loading rxq/alignment.xqm +1 −1 Changes for rxq/alignment.xqm: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ import module namespace max.util = 'pddn/max/util' at 'util.xqm'; declare %rest:GET %output:method("html") %rest:path("/{$project}/{$doc=.*xml}/{$id1}/{$id2}") %rest:path("/{$project}/{$doc=.*xml}/{$id1}/{$id2}.html") function max.alignment:alignedHTML($project, $doc, $id1, $id2){ let $dbPath := max.config:getProjectDBPath($project) let $xsltDoc := max.util:buildXSLTDoc( Loading rxq/html.xqm +6 −31 Changes for rxq/html.xqm: 6 added lines, 31 removed lines. Original line number Diff line number Diff line Loading @@ -91,23 +91,8 @@ as element(html) { declare %private function max.html:generateHTMLHead($projectId, $content){ <head> <meta charset="UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=edge"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> <!-- other head content --> {max.html:buildMetas($projectId, $content)} <!-- Bootstrap core & theme CSS --> <link rel="stylesheet" href="{max.config:getBaseURI() || 'core/ui/lib/bootstrap.min.css'}"/> <!-- CSS globale --> <link rel="stylesheet" type="text/css" href='{max.config:getBaseURI() || "core/ui/css/max.css"}'/> <!-- CSS alignement --> <link rel="stylesheet" type="text/css" href='{max.config:getBaseURI() || "core/ui/css/alignment.css"}'/> <!-- CSS éditions / addons / plugins --> {max.html:generateCSSImports($projectId)} </head> max.html:buildMetas($projectId, $content), max.html:generateCSSImports($projectId) }; Loading @@ -115,8 +100,7 @@ declare %private function max.html:generateHTMLHead($projectId, $content){ Generates global js script import tags :) declare %private function max.html:generateAllJSImports($projectId, $pageId, $fragmentId){ <div id="js_scripts"> <!-- variables contextuelles --> <script type="text/javascript"> var rootURI = "{substring-before(max.config:getBaseURI(), $max.cons:BASE_DIR)}"; var baseURI="{max.config:getBaseURI()}"; Loading @@ -124,18 +108,9 @@ declare %private function max.html:generateAllJSImports($projectId, $pageId, $fr var projectId="{$projectId}"; var route ="{$pageId}"; var fragmentId ="{$fragmentId}"; </script> <!-- JQuery frameworks --> <script type="text/javascript" src='{max.config:getBaseURI() || "core/ui/lib/jquery.min.js"}'/> <!-- boostrap --> <script src='{max.config:getBaseURI() || "core/ui/lib/bootstrap.bundle.min.js"}'/> <!-- JS Max --> <script type="text/javascript" src='{max.config:getBaseURI() || "core/ui/js/Max.js"}'/> <!-- JS plugins/uiAddons du projet --> {max.html:generateJavascriptImports($projectId)} </div> </script>, <script type="text/javascript" src='{max.config:getBaseURI() || "core/ui/js/Max.js"}'/>, max.html:generateJavascriptImports($projectId) }; Loading ui/css/max.css→ui/css/tei.css File moved. View file ui/templates/ead.html +1 Changes for ui/templates/ead.html: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -8,6 +8,7 @@ <script type="text/javascript" src="{$baseURI}core/ui/js/ead.js"></script> <script type="text/javascript" src="{$baseURI}core/ui/lib/Sortable.min.js"></script> <title>{$prettyName}</title> {$head} </head> <body> <header> Loading ui/templates/tei.html +9 Changes for ui/templates/tei.html: 9 added lines, 0 removed lines. Original line number Diff line number Diff line <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"/> <link rel="stylesheet" href="{$baseURI}core/ui/lib/bootstrap.min.css"/> <link rel="stylesheet" type="text/css" href="{$baseURI}core/ui/css/tei.css"/> <link rel="stylesheet" type="text/css" href="{$baseURI}core/ui/css/alignment.css"/> {$head} </head> <body> <header id="topbar" class="navbar fixed-top navbar-light bg-light"> <a class="navbar-brand" href="{$home}"> Loading @@ -26,6 +33,8 @@ {$footer} <!-- js imports --> <script type="text/javascript" src="{$baseURI}core/ui/lib/jquery.min.js"/> <script type="text/javascript" src="{$baseURI}core/ui/lib/bootstrap.bundle.min.js"/> {$jsImports} </body> Loading Loading
rxq/alignment.xqm +1 −1 Changes for rxq/alignment.xqm: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ import module namespace max.util = 'pddn/max/util' at 'util.xqm'; declare %rest:GET %output:method("html") %rest:path("/{$project}/{$doc=.*xml}/{$id1}/{$id2}") %rest:path("/{$project}/{$doc=.*xml}/{$id1}/{$id2}.html") function max.alignment:alignedHTML($project, $doc, $id1, $id2){ let $dbPath := max.config:getProjectDBPath($project) let $xsltDoc := max.util:buildXSLTDoc( Loading
rxq/html.xqm +6 −31 Changes for rxq/html.xqm: 6 added lines, 31 removed lines. Original line number Diff line number Diff line Loading @@ -91,23 +91,8 @@ as element(html) { declare %private function max.html:generateHTMLHead($projectId, $content){ <head> <meta charset="UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=edge"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> <!-- other head content --> {max.html:buildMetas($projectId, $content)} <!-- Bootstrap core & theme CSS --> <link rel="stylesheet" href="{max.config:getBaseURI() || 'core/ui/lib/bootstrap.min.css'}"/> <!-- CSS globale --> <link rel="stylesheet" type="text/css" href='{max.config:getBaseURI() || "core/ui/css/max.css"}'/> <!-- CSS alignement --> <link rel="stylesheet" type="text/css" href='{max.config:getBaseURI() || "core/ui/css/alignment.css"}'/> <!-- CSS éditions / addons / plugins --> {max.html:generateCSSImports($projectId)} </head> max.html:buildMetas($projectId, $content), max.html:generateCSSImports($projectId) }; Loading @@ -115,8 +100,7 @@ declare %private function max.html:generateHTMLHead($projectId, $content){ Generates global js script import tags :) declare %private function max.html:generateAllJSImports($projectId, $pageId, $fragmentId){ <div id="js_scripts"> <!-- variables contextuelles --> <script type="text/javascript"> var rootURI = "{substring-before(max.config:getBaseURI(), $max.cons:BASE_DIR)}"; var baseURI="{max.config:getBaseURI()}"; Loading @@ -124,18 +108,9 @@ declare %private function max.html:generateAllJSImports($projectId, $pageId, $fr var projectId="{$projectId}"; var route ="{$pageId}"; var fragmentId ="{$fragmentId}"; </script> <!-- JQuery frameworks --> <script type="text/javascript" src='{max.config:getBaseURI() || "core/ui/lib/jquery.min.js"}'/> <!-- boostrap --> <script src='{max.config:getBaseURI() || "core/ui/lib/bootstrap.bundle.min.js"}'/> <!-- JS Max --> <script type="text/javascript" src='{max.config:getBaseURI() || "core/ui/js/Max.js"}'/> <!-- JS plugins/uiAddons du projet --> {max.html:generateJavascriptImports($projectId)} </div> </script>, <script type="text/javascript" src='{max.config:getBaseURI() || "core/ui/js/Max.js"}'/>, max.html:generateJavascriptImports($projectId) }; Loading
ui/templates/ead.html +1 Changes for ui/templates/ead.html: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -8,6 +8,7 @@ <script type="text/javascript" src="{$baseURI}core/ui/js/ead.js"></script> <script type="text/javascript" src="{$baseURI}core/ui/lib/Sortable.min.js"></script> <title>{$prettyName}</title> {$head} </head> <body> <header> Loading
ui/templates/tei.html +9 Changes for ui/templates/tei.html: 9 added lines, 0 removed lines. Original line number Diff line number Diff line <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"/> <link rel="stylesheet" href="{$baseURI}core/ui/lib/bootstrap.min.css"/> <link rel="stylesheet" type="text/css" href="{$baseURI}core/ui/css/tei.css"/> <link rel="stylesheet" type="text/css" href="{$baseURI}core/ui/css/alignment.css"/> {$head} </head> <body> <header id="topbar" class="navbar fixed-top navbar-light bg-light"> <a class="navbar-brand" href="{$home}"> Loading @@ -26,6 +33,8 @@ {$footer} <!-- js imports --> <script type="text/javascript" src="{$baseURI}core/ui/lib/jquery.min.js"/> <script type="text/javascript" src="{$baseURI}core/ui/lib/bootstrap.bundle.min.js"/> {$jsImports} </body> Loading