Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IMP] website_apps_store: improved download button #16

Merged
merged 2 commits into from
Oct 1, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -138,8 +138,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