examples path, thanks Anthony

This commit is contained in:
Massimo Di Pierro
2011-12-13 15:31:09 -06:00
parent 711a701ed7
commit d3a3b098c7
9 changed files with 152 additions and 62 deletions
@@ -5,6 +5,7 @@
<h2>web2py<sup style="font-size:0.5em;">TM</sup> Download</h2>
<div style="width: 90%; margin: 0 auto;">
<center>
<table class="downloads">
<tr>
@@ -39,6 +40,7 @@
</tr>
</table>
</center>
<p style="text-align:left;">
The source code version works on all supported platforms, including Linux, but it requires Python 2.5, 2.6, or 2.7.
It runs on Windows and most Unix systems, including <b>Linux</b> and <b>BSD</b>.
@@ -99,4 +101,4 @@
{{block sidebar}}{{end}}
{{block leftbadges}}{{end}}
</div>
+14 -16
View File
@@ -1,41 +1,40 @@
{{right_sidebar_enabled=True}}
{{extend 'layout.html'}}
<center>
<img src="{{=URL('static','images/tag-cloud-color-small.png')}}"/>
</center>
<img class="scale-with-grid centered" src="{{=URL('static','images/tag-cloud-color-small.png')}}" />
<h3>WEB2PY<sup>TM</sup> WEB FRAMEWORK</h3>
<p>Free open source full-stack framework for rapid development of fast, scalable, <a href="http://www.web2py.com/book/default/chapter/01#security" target="_blank">secure</a> and portable database-driven web-based applications. Written and programmable in <a href="http://www.python.org" target="_blank">Python</a>. <a href="http://www.gnu.org/licenses/lgpl.html">LGPLv3 License</a>.
Current version: {{="%s.%s.%s (%s) %s" % request.env.web2py_version}}</p>
{{block extra}}
<div class="container">
<div class="container aboutW2P">
<div class="sixteen columns">
<div class="five columns">
<div class="one-third column alpha">
<h3><a href="{{=URL('about')}}">BATTERIES INCLUDED</a></h3>
<p>Everything you need in one package including fast multi-threaded web server, SQL database and web-based interface. No third party dependencies but works with <a href={{=URL('what')}}>third party tools</a>.</p>
</div>
<div class="five columns">
<div class="one-third column">
<h3><a href="http://web2py.com/demo_admin">WEB-BASED IDE</a></h3>
<p>Create, modify, deploy and manage application from anywhere using your browser. One web2py instance can run multiple web sites using different databases. Try the <a href="http://web2py.com/demo_admin">interactive demo</a>.</p>
</div>
<div class="five columns">
<div class="one-third column omega">
<h3><a href="{{=URL('documentation')}}">EXTENSIVE DOCS</a></h3>
<p>Start with some <a href="{{=URL('examples')}}">quick examples</a>, then read the <a href="http://web2py.com/book">reference manual</a>, watch <a href="http://vimeo.com/album/178500">videos</a>, and join a <a href="{{=URL('default', 'usergroups')}}">user group</a> for discussion. Take advantage of the <a href="http://web2py.com/layouts">layouts</a>, <a href="http://dev.s-cubism.com/web2py_plugins">plugins</a>, and <a href="http://web2pyslices.com">recipes</a>.</p>
<p>Start with some <a href="{{=URL('examples')}}">quick examples</a>, then read the <a href="http://web2py.com/book">reference manual</a>, watch <a href="http://vimeo.com/album/178500">videos</a>, and join a <a href="{{=URL('default', 'usergroups')}}">user group</a> for discussion. Take advantage of the <a href="http://web2py.com/layouts">layouts</a>, <a href="http://dev.s-cubism.com/web2py_plugins">plugins</a>, and&nbsp;<a href="http://web2pyslices.com">recipes</a>.</p>
</div>
</div>
</div>
<div class="container">
<img class="scale-with-grid centered" src="/examples/static/images/shadow-bottom.png">
<div class="container userQuotes">
<div class="sixteen columns">
<img src="{{=URL('static','images/shadow-bottom.png')}}" width="100%"/>
<!-- img src="{{=URL('static','images/shadow-bottom.png')}}" width="100%"/ -->
{{for k,quote in enumerate(quotes[:3]):}}
<div class="five columns">
<div class="one-third column {{=[' alpha', '', ' omega'][k]}}">
<em>
<p>{{=quote[0]}}</p>
<p>{{=quote[0]}}</p>
</em>
<span class="right">
<a href="{{=quote[2]}}"><em>{{=quote[1]}}</em></a>
<a href="{{=quote[2]}}"><em>&mdash;{{=quote[1]}}</em></a>
</span>
</div>
{{pass}}
@@ -44,12 +43,11 @@ Current version: {{="%s.%s.%s (%s) %s" % request.env.web2py_version}}</p>
{{end}}
{{block right_sidebar}}
<div style="text-align:center">
<div class="one-third column" style="text-align:center">
<a href="http://web2py.com/book"><img src="{{=URL('static','images/tablet.png')}}" alt="Tablet" /></a>
<br/>
<a class="button" href="{{=URL('download')}}" style="width:90%">DOWNLOAD NOW</a><br/>
<a class="button" href="http://web2py.com/demo_admin" style="width:90%">ONLINE DEMO</a><br/>
<a class="button" href="http://web2py.com/poweredby" style="width:90%">SITES POWERED</a>
<a class="button" href="http://web2py.com/poweredby" style="width:90%">SITES POWERED BY WEB2PY</a>
</div>
{{end}}
@@ -39,6 +39,7 @@
</li><li>Carlos Galindo
</li><li>Carsten Haese (Informix)
</li><li>Chris Clark (Ingres, Jython support)
</li><li>Chris May (new website)
</li><li>Chris Steel
</li><li>Christian Foster Howes (GAE support)
</li><li>Christopher Smiga (Informix)
+12 -17
View File
@@ -55,11 +55,7 @@
</script>
{{
# using sidebars need to know what sidebar you want to use
left_sidebar_enabled = globals().get('left_sidebar_enabled',False)
right_sidebar_enabled = globals().get('right_sidebar_enabled',False)
middle_columns = {0:'sixteen',1:'ten',2:'eight'}[
(left_sidebar_enabled and 1 or 0)+(right_sidebar_enabled and 1 or 0)]
}}
<!-- uncomment here to load jquery-ui
@@ -74,39 +70,38 @@
<div class="header">
<div class="container">
<div class="sixteen columns">
<img src="{{=URL('static','images/web2py_logo.png')}}" />
<h5>{{=response.subtitle or ''}}</h5>
<img src="{{=URL('static','images/web2py_logo.png')}}" class="logo" alt="web2py logo" />
<h5>{{=response.subtitle or ''}}</h5>
</div>
<div class="sixteen columns statusbar">
{{block statusbar}}
{{is_mobile=request.user_agent().is_mobile}}
<div id="menu">{{=MENU(response.menu,_class='mobile-menu' if is_mobile else 'sf-menu',mobile=is_mobile)}}
{{block statusbar}}
{{is_mobile=request.user_agent().is_mobile}}
<div id="menu" class="clearfix">{{=MENU(response.menu,_class='mobile-menu' if is_mobile else 'sf-menu',mobile=is_mobile)}}
{{end}}
<!-- AddToAny BEGIN -->
<div style="float:right;padding-top:6px;" class="a2a_kit a2a_default_style">
<a class="a2a_dd" href="http://www.addtoany.com/share_save">Share</a></div>
<script type="text/javascript" src="http://static.addtoany.com/menu/page.js"></script>
<!-- AddToAny END -->
</div>
<div class="sixteen columns announce">
<a href="http://www.infoworld.com/d/open-source-software/bossie-awards-2011-the-best-open-source-application-development-software-171759-0&current=10&last=1#slideshowTop">2011 BOSSIE AWARD FOR OPEN SOURCE DEVELOPMENT SOFTWARE</a>
</div>
</div>
</div>
</div>
<div class="sixteen columns announce">
<a href="http://www.infoworld.com/d/open-source-software/bossie-awards-2011-the-best-open-source-application-development-software-171759-0&current=10&last=1#slideshowTop">2011 BOSSIE AWARD FOR OPEN SOURCE DEVELOPMENT SOFTWARE</a>
</div>
</div>
</div>
<div class="main">
<div class="container mainbody">
<div class="sixteen columns">
<div class="{{=middle_columns}} columns center">
<div class="{{=right_sidebar_enabled and 'two-thirds column alpha' or 'sixteen columns alpha omega'}}">
{{block center}}
{{include}}
{{end}}
</div>
{{if right_sidebar_enabled:}}
<div class="five columns">
<div class="one-third column omega">
{{block right_sidebar}}
<h3>Right Sidebar</h3>
<p></p>