Commit 291fd765 authored by Jérome Perrin's avatar Jérome Perrin

- don't apply a width ratio on the image, it's what makes it unreadable on firefox.

- add inline css to workaround the fact that when there's no <a> around, the arrow does not have the same align

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34687 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 910915b5
......@@ -44,7 +44,7 @@
python:here.PDF_getPageNumberFromSelectionIndex(request.get(\'selection_index\', 0));\n
display request/display|string:xlarge;\n
format request/format|string:png;">\n
<img src="" style="margin:0pt 5%;width:90%;"\n
<img src="" style="margin:0pt 5%"\n
tal:attributes="src\n
string:${here/absolute_url}/index_html?display=${display}&format=${format}&frame=${frame}&resolution:int=300">\n
</div>
......
......@@ -66,11 +66,11 @@
</a>\n
</tal:block>\n
<tal:block tal:condition="python:current_thumbnail_index < 1">\n
<img src="images/2leftarrowb.png" style="opacity:0.2"\n
<img src="images/2leftarrowb.png" style="opacity:0.2; vertical-align:middle"\n
i18n:attributes="alt"\n
i18n:domain="ui"\n
alt="First"/>\n
<img src="images/1leftarrowb.png" style="opacity:0.2"\n
<img src="images/1leftarrowb.png" style="opacity:0.2; vertical-align:middle"\n
i18n:attributes="alt"\n
i18n:domain="ui"\n
alt="Previous"/>\n
......@@ -93,11 +93,11 @@
</a>\n
</tal:block>\n
<tal:block tal:condition="python:all_thunmbnails <= next_thunmbnail_index">\n
<img src="images/1rightarrowb.png" style="opacity:0.1"\n
<img src="images/1rightarrowb.png" style="opacity:0.2; vertical-align:middle"\n
i18n:attributes="alt"\n
i18n:domain="ui"\n
alt="Next"/>\n
<img src="images/2rightarrowb.png" style="opacity:0.1"\n
<img src="images/2rightarrowb.png" style="opacity:0.2; vertical-align:middle"\n
i18n:attributes="alt"\n
i18n:domain="ui"\n
alt="Last"/>\n
......
1114
\ No newline at end of file
1115
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment