cryptpad/www/file
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-file.less use markdown block styles for plaintext in the file app 2021-02-24 09:12:39 +05:30
file-crypto.js Deduplicate code between File and MediaTag 2020-12-03 15:22:39 +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 set tab title for file app 2022-04-12 13:14:31 +05:30
main.js Fix password-protected files 2021-06-08 11:14:20 +02:00