24ccb6d9e7
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
29 lines
1.3 KiB
HTML
29 lines
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html class="cp-app-noscroll">
|
|
<head>
|
|
<meta content="text/html; charset=utf-8" http-equiv="content-type"/>
|
|
<script async data-bootload="/file/inner.js" data-main="/common/sframe-boot.js?ver=1.11" src="/bower_components/requirejs/require.js?ver=2.3.5"></script>
|
|
<script src="/customize/pre-loading.js"></script>
|
|
<link href="/customize/src/pre-loading.css" rel="stylesheet" type="text/css">
|
|
<style>
|
|
.loading-hidden { display: none; }
|
|
#editor1 { display: none; }
|
|
</style>
|
|
</head>
|
|
<body class="cp-app-file">
|
|
<div id="cp-toolbar" class="cp-toolbar-container"></div>
|
|
<div id="cp-app-file-content">
|
|
<div id="cp-app-file-upload-form" style="display: none;">
|
|
<input type="file" name="file" id="cp-app-file-upfile" class="cp-app-file-input" />
|
|
<button for="cp-app-file-upfile" class="btn btn-primary cp-app-file-block unselectable" data-localization-title="upload_choose"
|
|
data-localization="upload_choose"></label>
|
|
</div>
|
|
<div id="cp-app-file-download-view" style="display: none;">
|
|
<media-tag id="cp-app-file-view"></media-tag>
|
|
</div>
|
|
<div id="cp-app-file-feedback" class="cp-app-file-block cp-app-file-hidden">
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
|