links to new videos

This commit is contained in:
mdipierro
2014-08-30 21:33:27 -05:00
parent 55f9762e30
commit 33fcfe2736
5 changed files with 7 additions and 7 deletions

View File

@@ -7,3 +7,4 @@
- [[Quick Examples http://www.web2py.com/examples/default/examples]]
- [[API http://web2py.com/book/default/chapter/04#API 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

View File

@@ -1,5 +1,7 @@
{{extend 'layout.html'}}
<iframe src="//player.vimeo.com/hubnut/album/3016728?color=ff6600&amp;background=ffffff&amp;slideshow=1&amp;video_title=1&amp;video_byline=1" width="400" height="300" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
<div class="contentleft">
<div >
{{=get_content('main')}}

View File

@@ -26,13 +26,13 @@ random.shuffle(quotes)
</a>
</td>
<td>
<a href="http://link.packtpub.com/SUlnrN">
<img src="{{=URL('static','images/book-recipes.png')}}" />
<a href="https://vimeo.com/album/3016728">
<img src="{{=URL('static','images/videos.png')}}" />
</a>
</td>
<td>
<a href="http://www.youtube.com/playlist?list=PL5E2E223FE3777851">
<img src="{{=URL('static','images/videos.png')}}" />
<a href="http://link.packtpub.com/SUlnrN">
<img src="{{=URL('static','images/book-recipes.png')}}" />
</a>
</td>
</tr>

View File

@@ -89,10 +89,8 @@ def get_databases(request):
dbs[key] = value
return dbs
databases = get_databases(None)
def eval_in_global_env(text):
exec ('_ret=%s' % text, {}, global_env)
return global_env['_ret']
@@ -105,7 +103,6 @@ def get_database(request):
session.flash = T('invalid request')
redirect(URL('index'))
def get_table(request):
db = get_database(request)
if len(request.args) > 1 and request.args[1] in db.tables: