mirror of https://github.com/xwiki-labs/cryptpad
![]() Made with the following command from the cryptpad/ root directory: $ patternStatic='(<link href=\"\/customize\/src\/outer\.css.*$|<script async data-bootload=\"\/customize\/template\.js\".*$)'; $ pattern2='<style>$'; $ js='<script src=\"\/customize\/pre-loading\.js\"><\/script>'; $ css='<link href=\"\/customize\/src\/pre-loading\.css\" rel=\"stylesheet\" type=\"text\/css\">'; $ find . -name 'index.html' | grep -v -E '(onlyoffice|bower_components|node_modules)' | while read x; \ do if [ `grep -cE "$pattern" $x` -gt 0 ]; then sed -E "s/($pattern)/$js\n \1\n $css/" $x > tmp; \ mv tmp $x; y=`echo $x | sed 's/index\.html/inner\.html/'`; if [ -f "$y" ]; then \ sed -E "s/($pattern2)/$js\n $css\n \1/" $y > tmp; mv tmp $y; fi; fi; done |
||
---|---|---|
.. | ||
app-code.less | ||
export.js | ||
index.html | ||
inner.html | ||
inner.js | ||
markers.js | ||
mermaid-new.css | ||
mermaid.css | ||
orgmode.js |