18 lines
387 B
HTML
18 lines
387 B
HTML
|
{{extend 'default.mobile/layout.html'}}
|
||
|
|
||
|
{{block sectionclass}}peek{{end}}
|
||
|
|
||
|
<h2>{{=T("Peeking at file")}} "{{=filename}}"</h2>
|
||
|
|
||
|
<p>
|
||
|
{{=button(URL('design',args=request.args[0]), T('back'))}}
|
||
|
{{=button(URL('edit',args=request.args), T('Edit'))}}
|
||
|
</p>
|
||
|
|
||
|
{{
|
||
|
if filename[-3:]=='.py': language='python'
|
||
|
else: language='html'
|
||
|
}}
|
||
|
{{=CODE(data,language=language,link='/examples/global/vars/')}}
|
||
|
|