Sha256: 9571d4d05c4de29477035575255d30d6ac2586f0d212b0c5d2db6995daf04ef5
Contents?: true
Size: 1 KB
Versions: 9
Compression:
Stored size: 1 KB
Contents
<% class_name = '' unless local_variables.include? :class_name position_classes = comp.position.map {|p| "v-button-icon-position-#{p}"}.join(' ') %> <% if comp.menu %> <div class="mdc-menu-anchor" %> <% end %> <button id="<%= comp.id %>" class="mdl-button mdl-js-button mdl-button--icon <%=class_name%> <%= position_classes %> <%= 'mdl-button--colored' if eq(comp.color, :primary) %> <%= 'mdl-button--accent' if eq(comp.color, :secondary) %> <%= 'v-menu-click' if comp.menu%>" style = "<%= color_style(comp) %>" <%= 'disabled' if comp.disabled %> <%= erb :'components/event', :locals => {events: comp.events, parent_id: comp.event_parent_id} unless comp.disabled %>> <%= erb :'components/icon', :locals => {comp: comp.icon} %> <%= comp.text %> </button> <%= erb :"components/tooltip", :locals => {comp: comp.tooltip, parent_id: comp.id} %> <%= erb :"components/menu", :locals => {comp: comp.menu, parent_id: comp.id} %> <% if comp.menu %> </div> <% end %>
Version data entries
9 entries across 9 versions & 1 rubygems