From f23115cb9c191f2ff27fb897fdb8012683b9bbd4 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Wed, 9 Mar 2016 09:35:01 -0600 Subject: [PATCH] better spacing and buttons examples --- applications/examples/controllers/default.py | 2 +- .../examples/views/default/download.html | 48 ++++++++++++++----- applications/examples/views/layout.html | 2 +- 3 files changed, 37 insertions(+), 15 deletions(-) diff --git a/applications/examples/controllers/default.py b/applications/examples/controllers/default.py index 10e55f11..f06eca62 100644 --- a/applications/examples/controllers/default.py +++ b/applications/examples/controllers/default.py @@ -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() diff --git a/applications/examples/views/default/download.html b/applications/examples/views/default/download.html index 284e03ee..6ac7b0c5 100644 --- a/applications/examples/views/default/download.html +++ b/applications/examples/views/default/download.html @@ -5,8 +5,8 @@

web2pyTM Download

-
- +
+
@@ -16,24 +16,46 @@ - - - + + + - - + + - - - + + + - - - + + +
For Normal Users
For WindowsFor WindowsGit Repository + For Windows + + For Windows + + Git Repository +
For MacFor Mac + For Mac + + For Mac +
Source CodeSource CodeSource code docs + Source Code + + Source Code + + Source code docs +
ManualChange LogReport a Bug + Manual + + Change Log + + Report a Bug +
diff --git a/applications/examples/views/layout.html b/applications/examples/views/layout.html index a859767a..ceec4141 100644 --- a/applications/examples/views/layout.html +++ b/applications/examples/views/layout.html @@ -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} {{ left_sidebar_enabled = globals().get('left_sidebar_enabled', False)