Updated download button style
authorThierry Florac <thierry.florac@onf.fr>
Fri, 08 Dec 2017 11:26:55 +0100
changeset 69 1583d65a8c44
parent 68 68e169f03e5e
child 70 4deac57fe036
Updated download button style
src/pyams_file/widget/templates/file-display.pt
src/pyams_file/widget/templates/image-display.pt
--- a/src/pyams_file/widget/templates/file-display.pt	Sun Nov 26 10:03:30 2017 +0100
+++ b/src/pyams_file/widget/templates/file-display.pt	Fri Dec 08 11:26:55 2017 +0100
@@ -15,7 +15,7 @@
 			<span tal:content="value/content_type"></span>
 			&nbsp;&ndash;&nbsp;
 			<span tal:content="python:view.get_human_size(value.get_size())"></span>
-			<a class="btn btn-xs btn-default" target="download_window"
+			<a class="btn btn-xs btn-primary" target="download_window"
 			   tal:define="href extension:absolute_url(value)"
 			   tal:attributes="href string:${href}?download=1&_=${view/timestamp}"
 			   i18n:translate="">Download</a>
--- a/src/pyams_file/widget/templates/image-display.pt	Sun Nov 26 10:03:30 2017 +0100
+++ b/src/pyams_file/widget/templates/image-display.pt	Fri Dec 08 11:26:55 2017 +0100
@@ -23,7 +23,7 @@
 			&nbsp;&ndash;&nbsp;
 			<span tal:content="python:view.get_human_size(value.get_size())"></span>
 			<br />
-			<a class="btn btn-xs btn-default" target="download_window"
+			<a class="btn btn-xs btn-primary" target="download_window"
 			   tal:define="href extension:absolute_url(value)"
 			   tal:attributes="href string:${href}?download=1&_=${view/timestamp}"
 			   i18n:translate="">