SP/web2py/applications/admin/views/default.mobile/peek.html

18 lines
387 B
HTML
Raw Normal View History

2018-10-25 15:33:07 +00:00
{{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/')}}