mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-29 08:42:19 +00:00
28 lines
681 B
Text
28 lines
681 B
Text
|
extends ../layout
|
||
|
|
||
|
block content
|
||
|
.container
|
||
|
.row
|
||
|
.span12.span-box
|
||
|
.page-header
|
||
|
h1 ShareLaTeX - Online LaTeX Editor : #{title}
|
||
|
//- .btn-group#newProject
|
||
|
//- a.btn.btn-success(href='/project/#{project_id}') go to editor mode
|
||
|
-each doc in resources
|
||
|
h2 #{doc.path}
|
||
|
if (doc.url != null)
|
||
|
img(src='/project/#{project_id}/file/#{doc.id}')
|
||
|
else
|
||
|
pre.prettyprint.lang-tex.linenums
|
||
|
-each line in doc.content
|
||
|
//leave the line below #{line}
|
||
|
span.
|
||
|
#{line}
|
||
|
|
||
|
hr
|
||
|
|
||
|
|
||
|
- locals.supressDefaultJs = true
|
||
|
script(data-main=jsPath+'codeprettifyer.js', src=jsPath+'libs/require.js', baseurl=jsPath)
|
||
|
|