overleaf/services/web/app/views/project/flat.jade
2014-02-12 10:23:40 +00:00

27 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)