main
Last change
on this file was
42bd667,
checked in by David Fuertes <dfuertes@…>, 4 years ago
|
Historial Limpio
|
-
Property mode set to
100755
|
File size:
556 bytes
|
Line | |
---|
1 | {{extend 'layout.html'}} |
---|
2 | {{block sectionclass}}peek{{end}} |
---|
3 | <!-- begin "peek" block --> |
---|
4 | <h2>{{=T("Peeking at file")}} "{{=filename}}"</h2> |
---|
5 | <p class="controls"> |
---|
6 | {{=button(URL('design',args=request.vars.app if request.vars.app else request.args[0], anchor=request.vars.id), T('back'))}} |
---|
7 | {{=button(URL('edit',args=request.args, vars=request.vars), T('Edit'))}} |
---|
8 | </p> |
---|
9 | <div class="code-wrapper"> |
---|
10 | {{ |
---|
11 | if filename[-3:]=='.py': language='python' |
---|
12 | else: language='html' |
---|
13 | }} |
---|
14 | {{=CODE(data,language=language,link='/examples/global/vars/')}} |
---|
15 | </div> |
---|
16 | <!-- end "peek" block --> |
---|
Note: See
TracBrowser
for help on using the repository browser.