Commit 70d8956a authored by Janez K's avatar Janez K

dodal slike za base package in popravil prikaz slik da uposteva ime packaga

parent c2224871
<li><a class="widget wid" rel="{{ widget.id }}" relType="abstractwidget"><span class="image" style="background-size:16px;background-image:url('{% if widget.static_image %}{{STATIC_URL}}icons/treeview/{{widget.static_image}}{% else %}{% if widget.treeview_image %}{{MEDIA_URL}}{{widget.treeview_image}}{% else %}{% if widget.wsdl %}{{STATIC_URL}}widget-icons/ws_1.png{% else %}{{STATIC_URL}}widget-icons/question-mark.png{% endif %}{% endif %}{% endif %}');">{{ widget.name }}</span></a></li>
\ No newline at end of file
<li><a class="widget wid" rel="{{ widget.id }}" relType="abstractwidget"><span class="image" style="background-size:16px;background-image:url('{% if widget.static_image %}{{STATIC_URL}}{{widget.package}}/icons/treeview/{{widget.static_image}}{% else %}{% if widget.treeview_image %}{{MEDIA_URL}}{{widget.treeview_image}}{% else %}{% if widget.wsdl %}{{STATIC_URL}}widget-icons/ws_1.png{% else %}{{STATIC_URL}}widget-icons/question-mark.png{% endif %}{% endif %}{% endif %}');">{{ widget.name }}</span></a></li>
\ No newline at end of file
......@@ -8,7 +8,7 @@
{% endfor %}
</div>
<div class="ui-widget-content {% ifequal widget.type 'for_input' %}ui-state-green{% endifequal %} {% ifequal widget.type 'for_output' %}ui-state-green{% endifequal %} ui-corner-all widgetcenter" style="padding-left:10px;padding-right:10px;">
<div style="width:34px;height:34px;background-size:100%;background-repeat:no-repeat;background-position:center center;background-image:url('{% if widget.abstract_widget.static_image %}{{STATIC_URL}}icons/widget/{{widget.abstract_widget.static_image}}{% else %}{% if widget.abstract_widget.image %}{{MEDIA_URL}}{{widget.abstract_widget.image}}{% else %}{% if widget.abstract_widget.wsdl %}{{STATIC_URL}}widget-icons/ws.png{% else %}{% if widget.workflow_link %}{{MEDIA_URL}}images/120px-Gears_icon.png{% else %}{% ifequal widget.type 'input' %}{{MEDIA_URL}}images/forward-arrow.png{% else %}{% ifequal widget.type 'output' %}{{MEDIA_URL}}images/forward-arrow.png{% else %}{% ifequal widget.type 'for_output' %}{{MEDIA_URL}}images/Toolbar_-_Loop.png{% else %}{% ifequal widget.type 'for_input' %}{{MEDIA_URL}}images/Toolbar_-_Loop.png{% else %}{{STATIC_URL}}widget-icons/question-mark.png{% endifequal %}{% endifequal %}{% endifequal %}{% endifequal %}{% endif %}{% endif %}{% endif %}{% endif %}')">
<div style="width:34px;height:34px;background-size:100%;background-repeat:no-repeat;background-position:center center;background-image:url('{% if widget.abstract_widget.static_image %}{{STATIC_URL}}{{widget.abstract_widget.package}}/icons/widget/{{widget.abstract_widget.static_image}}{% else %}{% if widget.abstract_widget.image %}{{MEDIA_URL}}{{widget.abstract_widget.image}}{% else %}{% if widget.abstract_widget.wsdl %}{{STATIC_URL}}widget-icons/ws.png{% else %}{% if widget.workflow_link %}{{MEDIA_URL}}images/120px-Gears_icon.png{% else %}{% ifequal widget.type 'input' %}{{MEDIA_URL}}images/forward-arrow.png{% else %}{% ifequal widget.type 'output' %}{{MEDIA_URL}}images/forward-arrow.png{% else %}{% ifequal widget.type 'for_output' %}{{MEDIA_URL}}images/Toolbar_-_Loop.png{% else %}{% ifequal widget.type 'for_input' %}{{MEDIA_URL}}images/Toolbar_-_Loop.png{% else %}{{STATIC_URL}}widget-icons/question-mark.png{% endifequal %}{% endifequal %}{% endifequal %}{% endifequal %}{% endif %}{% endif %}{% endif %}{% endif %}')">
</div></div>
<div class="outputs">
{% for output in widget.outputs.all %}
......
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