cryptpad/www/whiteboard
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-whiteboard.less Merge branch 'staging' into dark 2021-02-05 10:23:20 +01:00
colors.js Add missing file for whiteboard 2017-04-10 18:25:02 +02:00
export.js Fix whiteboard download and export 2021-02-23 18:07:40 +01: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 manually apply fabricjs update 2021-11-16 17:17:16 +05:30