2016-02-12 23:52:43 +08:00
|
|
|
<div class="panel panel-default module"
|
|
|
|
id="<%= my_module.id %>"
|
|
|
|
data-module-id="<%= my_module.id %>"
|
|
|
|
data-module-name="<%= my_module.name %>"
|
|
|
|
data-module-x="<%= my_module.x %>"
|
|
|
|
data-module-y="<%= my_module.y %>"
|
|
|
|
data-module-conns="<%= construct_module_connections(my_module) %>">
|
|
|
|
|
|
|
|
<div class="panel-heading">
|
|
|
|
|
2022-05-26 19:21:50 +08:00
|
|
|
<h3 class="panel-title", title="<%= my_module.name %>"><%= my_module.name %></h3>
|
2016-02-12 23:52:43 +08:00
|
|
|
|
2022-05-09 17:40:31 +08:00
|
|
|
<div class="dropdown module-options-dropdown pull-right module-options" data-dropdown-menu-path="<%= canvas_dropdown_menu_my_module_path(my_module) %>">
|
2016-02-12 23:52:43 +08:00
|
|
|
<a class="dropdown-toggle" id="<%= my_module.id %>_options" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
|
2018-07-09 19:13:44 +08:00
|
|
|
<span class="fas fa-caret-down" aria-hidden="true"></span>
|
2016-02-12 23:52:43 +08:00
|
|
|
</a>
|
2018-05-15 00:33:57 +08:00
|
|
|
<ul class="dropdown-menu custom-dropdown-menu no-scale" aria-labelledby="<%= my_module.id %>_options">
|
2016-02-12 23:52:43 +08:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
2022-05-09 17:40:31 +08:00
|
|
|
<div class="panel-body ep">
|
|
|
|
<%= t('experiments.canvas.edit.drag_connections') %>
|
|
|
|
</div>
|
2016-02-12 23:52:43 +08:00
|
|
|
|
|
|
|
<div class="overlay"></div>
|
|
|
|
|
|
|
|
</div>
|