better spacing and buttons examples

This commit is contained in:
mdipierro
2016-03-09 09:35:01 -06:00
parent ea5e86e11e
commit f23115cb9c
3 changed files with 37 additions and 15 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ def what():
return response.render(images=images)
@cache.action(time_expire=300, cache_model=cache.ram, quick='P')
#@cache.action(time_expire=300, cache_model=cache.ram, quick='P')
def download():
return response.render()
@@ -5,8 +5,8 @@
<h2>web2py<sup style="font-size:0.5em;">TM</sup> Download</h2>
<center>
<table>
<center class="spaced">
<table class="twothirds">
<thead>
<tr>
<th>For Normal Users</th>
@@ -16,24 +16,46 @@
</thead>
<tbody>
<tr>
<td><a class="btn btn-180 red" href="http://www.web2py.com/examples/static/web2py_win.zip">For Windows</a></td>
<td><a class="btn btn-180 yellow" href="http://www.web2py.com/examples/static/nightly/web2py_win.zip">For Windows</a></td>
<td><a class="btn btn-180 red" href="http://github.com/web2py/web2py/">Git Repository</a></td>
<td>
<a class="btn btn180 rounded red" href="http://www.web2py.com/examples/static/web2py_win.zip">For Windows</a>
</td>
<td>
<a class="btn btn180 rounded yellow" href="http://www.web2py.com/examples/static/nightly/web2py_win.zip">For Windows</a>
</td>
<td>
<a class="btn btn180 rounded red" href="http://github.com/web2py/web2py/">Git Repository</a>
</td>
</tr>
<tr>
<td><a class="btn btn-180 red" href="http://www.web2py.com/examples/static/web2py_osx.zip">For Mac</a></td>
<td><a class="btn btn-180 yellow" href="http://www.web2py.com/examples/static/nightly/web2py_osx.zip">For Mac</a></td>
<td>
<a class="btn btn180 rounded red" href="http://www.web2py.com/examples/static/web2py_osx.zip">For Mac</a>
</td>
<td>
<a class="btn btn180 rounded yellow" href="http://www.web2py.com/examples/static/nightly/web2py_osx.zip">For Mac</a>
</td>
<td></td>
</tr>
<tr>
<td><a class="btn btn-180 red" href="http://www.web2py.com/examples/static/web2py_src.zip">Source Code</a></td>
<td><a class="btn btn-180 yellow" href="http://www.web2py.com/examples/static/nightly/web2py_src.zip">Source Code</a></td>
<td><a class="btn btn-180 red" href="http://web2py.readthedocs.org/en/latest/">Source code docs</a></td>
<td>
<a class="btn btn180 rounded red" href="http://www.web2py.com/examples/static/web2py_src.zip">Source Code</a>
</td>
<td>
<a class="btn btn180 rounded yellow" href="http://www.web2py.com/examples/static/nightly/web2py_src.zip">Source Code</a>
</td>
<td>
<a class="btn btn180 rounded red" href="http://web2py.readthedocs.org/en/latest/">Source code docs</a>
</td>
</tr>
<tr>
<td><a class="btn btn-180 red" href="https://dl.dropbox.com/u/18065445/web2py/web2py_manual_5th.pdf">Manual</a></td>
<td><a class="btn btn-180" href="https://github.com/web2py/web2py/releases">Change Log</a></td>
<td><a class="btn btn-180" href="https://github.com/web2py/web2py/issues">Report a Bug</a></td>
<td>
<a class="btn btn180 rounded red" href="https://dl.dropbox.com/u/18065445/web2py/web2py_manual_5th.pdf">Manual</a>
</td>
<td>
<a class="btn btn180 rounded" href="https://github.com/web2py/web2py/releases">Change Log</a>
</td>
<td>
<a class="btn btn180 rounded" href="https://github.com/web2py/web2py/issues">Report a Bug</a>
</td>
</tr>
</tbody>
</table>
+1 -1
View File
@@ -14,7 +14,7 @@
tbody tr {border-bottom: none}
p {text-align: left}
pre {background-color: black!important;border-radius:5px; color:white; padding:10px}
.btn.btn-180 {min-width:180px!important}
a.btn.btn180 {padding:20px; font-size:1.2em; width:200px!important}
</style>
{{
left_sidebar_enabled = globals().get('left_sidebar_enabled', False)