Hallo Seppm,
wäre nur noch schön wenn du einen Screenshot posten würdest :-)
Danke
wäre nur noch schön wenn du einen Screenshot posten würdest :-)
Danke
/** * Small Shutter * * @param unique id for this widget * @param name of the shutter * @param a gad/item for long move * @param a gad/item for short move * @param a gad/item for the actual position */ {% macro smallshut(id, txt, gad_move, gad_stop, gad_position, gad_position_wert, gad_lamelle, gad_lamelle_wert, gad_auto=false, gad_autostate_name) %} {% import "basic.html" as basic %} {% import "icon.html" as icon %} {% set uid = uid(page, id) %} /** Popup **/ <div id="{{ uid }}_position_popup" data-role="popup"> <a href="#" data-rel="back" data-role="button" data-icon="delete" data-iconpos="notext" class="ui-btn-right">Close</a> <div align="center"> Position anfahren<p/> {{ basic.button(id~'pos_00', gad_position, '0%', '', '0', 'mini') }} {{ basic.button(id~'pos_25', gad_position, '25%', '', '25', 'mini') }} {{ basic.button(id~'pos_50', gad_position, '50%', '', '50', 'mini') }} {{ basic.button(id~'pos_75', gad_position, '75%', '', '75', 'mini') }} {{ basic.button(id~'pos_100', gad_position, '100%', '', '100', 'mini') }} </div> </div> <div id="{{ uid }}_lamelle_popup" data-role="popup"> <a href="#" data-rel="back" data-role="button" data-icon="delete" data-iconpos="notext" class="ui-btn-right">Close</a> <div align="center"> Lamellenposition anfahren<p/> {{ basic.button(id~'lam_0', gad_lamelle, '0%', '', '0', 'mini') }} {{ basic.button(id~'lam_20', gad_lamelle, '20%', '', '20', 'mini') }} {{ basic.button(id~'lam_40', gad_lamelle, '40%', '', '40', 'mini') }} {{ basic.button(id~'lam_60', gad_lamelle, '60%', '', '60', 'mini') }} {{ basic.button(id~'lam_80', gad_lamelle, '80%', '', '80', 'mini') }} {{ basic.button(id~'lam_100', gad_lamelle, '100%', '', '100', 'mini') }} </div> </div> /** Design */ <div id="{{ uid }}" class="smallshut"> <table style="width:100%; text-align: left;"> <tr> <th width="30%">{% if txt %} {{ txt }} {% endif %}</th> <td width="15%" align="center"> {% if gad_auto %} {{ basic.switch(id~'auto', gad_auto, icon1~'fts_shutter_manual.png', icon0~'fts_shutter_automatic.png') }} </br> {% endif %} </td> <td width="11%" align="center"> {% if gad_move %} {{ basic.button(id~'up', gad_move, '', icon0~'control_arrow_up.png', '0', 'mini') }} {% endif %} </td> <td width="11%" align="center"> {% if gad_stop %} {{ basic.button(id~'stop', gad_stop, '', icon0~'audio_stop.png', '1', 'mini') }} {% endif %} </td> <td width="11%" align="center"> {% if gad_move %} {{ basic.button(id~'down', gad_move, '', icon0~'control_arrow_down.png', '1', 'mini') }} {% endif %} </td> <td width="11%" align="center"> {% if gad_position %} {% set invert_gad_position_wert = 100 - 2.55 * gad_position_wert %} <a href="#{{ uid }}_position_popup" data-rel="popup"> {{ icon.shutter(id~'_position_wert', '', invert_gad_position_wert) }} </a> {% endif %} </td> <td width="11%" align="center"> {% if gad_lamelle %} <a href="#{{ uid }}_lamelle_popup" data-rel="popup"> {{ icon.blade_arc(id~'_lamelle_wert', '', gad_lamelle_wert) }} {% endif %} </td> </tr> <tr> <th></th> <td align="center"> <font size=1> {% if gad_autostate_name %} {{ basic.value(id~'autostate_name', gad_autostate_name) }} {% endif %} </font> </td> <td align="center"> </td> <td align="center"> </td> <td align="center"> </td> <td align="center"> <font size=1> {% if gad_position_wert %} {{ basic.float(id~'position_wert', gad_position_wert, '%0') }} {% endif %} </font> </td> <td align="center"> <font size=1> {% if gad_lamelle_wert %} {{ basic.float(id~'lamelle_wert', gad_lamelle_wert, '%0') }} {% endif %} </font> </td> </tr> </table> </div> {% endmacro %}
<svg id="room_wohnen-EG_wohnen_raffstore_couch_lamelle_wert" class="icon icon0" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" data-max="255" data-min="0" data-item="EG.wohnen.raffstore.couch.lamella_status, " data-widget="icon.blade_arc">
Wir verarbeiten personenbezogene Daten über die Nutzer unserer Website mithilfe von Cookies und anderen Technologien, um unsere Dienste bereitzustellen. Weitere Informationen findest Du in unserer Datenschutzerklärung.
Indem Du unten auf "ICH stimme zu" klickst, stimmst Du unserer Datenschutzerklärung und unseren persönlichen Datenverarbeitungs- und Cookie-Praktiken zu, wie darin beschrieben. Du erkennst außerdem an, dass dieses Forum möglicherweise außerhalb Deines Landes gehostet wird und bist damit einverstanden, dass Deine Daten in dem Land, in dem dieses Forum gehostet wird, gesammelt, gespeichert und verarbeitet werden.
Kommentar