Skip to content

Commit

Permalink
[IMP] website_apps_store: improved download button (OCA#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarolar authored and Victor Martin committed Apr 29, 2019
1 parent 26e651b commit f269a6e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 13 deletions.
11 changes: 0 additions & 11 deletions website_apps_store/static/src/css/style.css
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
.padd_0{
padding: 0;
}
.zip_button{
margin-top: 8px;
margin-bottom: 8px;
border: 1px solid #2976b6;
padding: 10px;
border-radius: 7px;
text-align: center;
font-weight: 600;
color: black;
background-color: #337ab4;
}
.font_12{
font-size: 12px;
}
9 changes: 7 additions & 2 deletions website_apps_store/views/templates.xml
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,13 @@
</xpath>
<xpath expr='//form[hasclass("js_add_cart_variants")]' position="after">
<div class="col-xs-12 padd_0" t-if="product.odoo_module_id">
<div class="col-xs-4 zip_button">
<button name="download_zip" id="download_zip" t-att-data-tmpl-id="product.id">Download</button>
<div class="col-xs-4 mt16 mb16">
<button class="btn btn-primary btn-lg"
name="download_zip"
id="download_zip"
t-att-data-tmpl-id="product.id">Download
<span class="fa fa-download"/>
</button>
</div>
</div>
<div class="col-xs-12 padd_0" t-if="product.odoo_module_id">
Expand Down

0 comments on commit f269a6e

Please sign in to comment.