Commit 7a917afa authored by Janez K's avatar Janez K
Browse files

input outputs css fix

parent 41a43a21
{% for widget in widgets %}
<div id="widget{{ widget.pk }}" rel="{{ widget.pk }}" style="left:{{ widget.x }}px;top:{{ widget.y }}px;width:150px;" class="widget {% if widget.is_visualization %}is_visualization{% endif %} {% if widget.workflow_link %}subprocess{% endif %} {% if widget.interaction_waiting %}interactionwaiting{% endif %} {% if widget.abstract_widget.has_progress_bar %}has_progress_bar{% endif %} {% if widget.running %}currentlyrunning{% endif %} {% ifequal widget.type 'subprocess' %}has_progress_bar{% endifequal %}">
<div class="inputs">
<div class="inputs" style="width:40px;min-height:1px;">
{% for input in widget.defered_inputs %}
{% if not input.parameter %}
<div class="{% if input.multi_id != 0 %}multi{% endif %} input ui-state-default ui-corner-left {% if input.inner_output_id %}in_output inner_output{{input.inner_output_id}}{% endif %}{% if input.outer_output_id %}out_output outer_output{{input.outer_output_id}}{% endif %}" rel="all" id="input{{ input.pk }}" title="{{ input.name }} {{ input.description }}">{{ input.short_name }}</div>
......@@ -10,7 +10,7 @@
<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}}{{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 %}{{STATIC_URL}}images/120px-Gears_icon.png{% else %}{% ifequal widget.type 'input' %}{{STATIC_URL}}images/forward-arrow.png{% else %}{% ifequal widget.type 'output' %}{{STATIC_URL}}images/forward-arrow.png{% else %}{% ifequal widget.type 'for_output' %}{{STATIC_URL}}images/Toolbar_-_Loop.png{% else %}{% ifequal widget.type 'for_input' %}{{STATIC_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">
<div class="outputs" style="width:40px;min-height:1px;">
{% for output in widget.defered_outputs %}
<div class="output ui-state-default ui-corner-right {% if output.inner_input_id %}in_input inner_input{{output.inner_input_id}}{% endif %}{% if output.outer_input_id %}out_input outer_input{{output.outer_input_id}}{% endif %}" rel="all" id="output{{ output.pk }}" title="{{ output.name }} {{ output.description }}">{{ output.short_name }}</div>
{% endfor %}
......
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