overleaf/services/web/app/views/project/ide-react.pug

32 lines
1,002 B
Text
Raw Normal View History

extends ../layout-react
block vars
- var suppressNavbar = true
- var suppressFooter = true
- var suppressSkipToContent = true
- var deferScripts = true
- bootstrap5PageStatus = 'enabled' // One of 'disabled', 'enabled', and 'queryStringOnly'
- bootstrap5PageSplitTest = 'bootstrap-5-ide'
- metadata.robotsNoindexNofollow = true
block entrypointVar
- entrypoint = 'pages/ide'
block content
main#ide-root
.loading-screen
.loading-screen-brand-container
.loading-screen-brand(style="height: 20%;")
h3.loading-screen-label #{translate("loading")}
span.loading-screen-ellip .
span.loading-screen-ellip .
span.loading-screen-ellip .
block append meta
include ./editor/meta
block prepend foot-scripts
each file in (useOpenTelemetry ? entrypointScripts("tracing") : [])
script(type="text/javascript", nonce=scriptNonce, src=file, defer=deferScripts)
script(type="text/javascript", nonce=scriptNonce, src=(wsUrl || '/socket.io') + '/socket.io.js', defer=deferScripts)