cryptpad/www/code
Maxime Cesson 24ccb6d9e7 Apply placeholder to all relevant applications on a slow connection #865
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
2022-07-13 13:21:38 +02:00
..
app-code.less Fix markdown preview width in Code 2022-05-31 09:29:06 +01:00
export.js Fix issues of no file extension for pad export 2019-07-29 16:30:48 +02:00
index.html Apply placeholder to all relevant applications on a slow connection #865 2022-07-13 13:21:38 +02:00
inner.html Apply placeholder to all relevant applications on a slow connection #865 2022-07-13 13:21:38 +02:00
inner.js hide the code preview button when in present mode 2022-06-01 16:42:10 +05:30
markers.js set uid in cursor object in outer scope 2021-08-27 18:23:07 +05:30
mermaid-new.css Update mermaid 2020-03-27 13:54:43 +01:00
mermaid.css revert addition of underlines to some mermaid titles 2019-12-06 09:14:33 -05:00
orgmode.js Fix TypeError in codemirror with code blocks 2021-11-25 12:22:44 +01:00