links to new videos
This commit is contained in:
@@ -7,3 +7,4 @@
|
|||||||
- [[Quick Examples http://www.web2py.com/examples/default/examples]]
|
- [[Quick Examples http://www.web2py.com/examples/default/examples]]
|
||||||
- [[API http://web2py.com/book/default/chapter/04#API popup]]
|
- [[API http://web2py.com/book/default/chapter/04#API popup]]
|
||||||
- [[Sphinx (source code documentation) http://web2py.readthedocs.org/en/latest/ popup]]
|
- [[Sphinx (source code documentation) http://web2py.readthedocs.org/en/latest/ popup]]
|
||||||
|
- [[Videos https://vimeo.com/album/3016728]] (edited by Nico Zanferrari)
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 28 KiB |
@@ -1,5 +1,7 @@
|
|||||||
{{extend 'layout.html'}}
|
{{extend 'layout.html'}}
|
||||||
|
|
||||||
|
<iframe src="//player.vimeo.com/hubnut/album/3016728?color=ff6600&background=ffffff&slideshow=1&video_title=1&video_byline=1" width="400" height="300" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
|
||||||
|
|
||||||
<div class="contentleft">
|
<div class="contentleft">
|
||||||
<div >
|
<div >
|
||||||
{{=get_content('main')}}
|
{{=get_content('main')}}
|
||||||
|
|||||||
@@ -26,13 +26,13 @@ random.shuffle(quotes)
|
|||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a href="http://link.packtpub.com/SUlnrN">
|
<a href="https://vimeo.com/album/3016728">
|
||||||
<img src="{{=URL('static','images/book-recipes.png')}}" />
|
<img src="{{=URL('static','images/videos.png')}}" />
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a href="http://www.youtube.com/playlist?list=PL5E2E223FE3777851">
|
<a href="http://link.packtpub.com/SUlnrN">
|
||||||
<img src="{{=URL('static','images/videos.png')}}" />
|
<img src="{{=URL('static','images/book-recipes.png')}}" />
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -89,10 +89,8 @@ def get_databases(request):
|
|||||||
dbs[key] = value
|
dbs[key] = value
|
||||||
return dbs
|
return dbs
|
||||||
|
|
||||||
|
|
||||||
databases = get_databases(None)
|
databases = get_databases(None)
|
||||||
|
|
||||||
|
|
||||||
def eval_in_global_env(text):
|
def eval_in_global_env(text):
|
||||||
exec ('_ret=%s' % text, {}, global_env)
|
exec ('_ret=%s' % text, {}, global_env)
|
||||||
return global_env['_ret']
|
return global_env['_ret']
|
||||||
@@ -105,7 +103,6 @@ def get_database(request):
|
|||||||
session.flash = T('invalid request')
|
session.flash = T('invalid request')
|
||||||
redirect(URL('index'))
|
redirect(URL('index'))
|
||||||
|
|
||||||
|
|
||||||
def get_table(request):
|
def get_table(request):
|
||||||
db = get_database(request)
|
db = get_database(request)
|
||||||
if len(request.args) > 1 and request.args[1] in db.tables:
|
if len(request.args) > 1 and request.args[1] in db.tables:
|
||||||
|
|||||||
Reference in New Issue
Block a user