Commit 48be69e5 authored by Ivan Tyagov's avatar Ivan Tyagov

Use spinner gif to indicate progress instead of progress bar indicator (which...

Use spinner gif to indicate progress instead of progress bar indicator (which is not properly calculating the progress anyway).
parent baf25707
Pipeline #9144 passed with stage
in 0 seconds
<tal:block tal:define="percentage options/percentage; <div>
coefficient python: 4;"> <img src="loading.gif"/>
</div>
<div style="width:400px; <tal:block tal:replace="structure python: here.ConfiguratorTool_viewPatienceMessageRenderer()"/>
height:25px; \ No newline at end of file
background-color:lightgray;
border:1px solid black;">
<div tal:attributes="style python: 'text-align:right;;
height: 25px;;
background-color:#f09400;;
width: %spx;;' %(coefficient*percentage)">
<div style="height:20px;
padding-top: 5px;
padding-right: 3px;
font-weight:bold;"
tal:condition="python: int(percentage) != 0">
<span tal:content="percentage"/>%
</div>
</div>
</div>
<tal:block
tal:replace="structure python: here.ConfiguratorTool_viewPatienceMessageRenderer()"/>
</tal:block>
\ No newline at end of file
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Image" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_Cacheable__manager_id</string> </key>
<value> <string>anonymous_http_cache</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>loading.gif</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>image/gif</string> </value>
</item>
<item>
<key> <string>height</string> </key>
<value> <int>331</int> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>width</string> </key>
<value> <int>331</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
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