scinote-web/app/views/canvas/edit/_my_module.html.erb

30 lines
1 KiB
Text
Raw Normal View History

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">
<h3 class="panel-title"><%= my_module.name %></h3>
<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">
<span class="fas fa-caret-down" aria-hidden="true"></span>
2016-02-12 23:52:43 +08:00
</a>
<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>
<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>