overleaf/services/web/app/views/project/ide-react.pug
Jakob Ackermann 945a6a8155 Merge pull request #21234 from overleaf/jpa-pug-partials
[web] prefix file names of pug partials with underscore

GitOrigin-RevId: 956618f52e2639185d9f518c44d62f72ba0e222e
2024-10-28 09:05:03 +00:00

31 lines
1,001 B
Text

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)