Sha256: 1dc9accb0026f1021b28058cfac9c249f7d495405df907db2bddcd39c5296d06
Contents?: true
Size: 1.98 KB
Versions: 7
Compression:
Stored size: 1.98 KB
Contents
<div class="widget-tasks-statistics"> <div class="userstats clearfix" style="margin-top: 25px; background-color: none;"> <%= link_to '#', data: { toggle: 'modal', target: "##{metric(inside)}" } do %> <div class="white facebook-insights"> <i style="color:<%= color %>" class="fa fa-<%= icon %>"></i> <p class="insight-value" style="color:<%= color %>" > <%= "#{first_fb_value(inside).to_i} #{placeholder}" %> </p> </div> <div> <input class="knob" data-width="120" data-height="120" data-displayInput=false data-readOnly=true data-thickness=".12" value="<%= divide_metrics(inside, outside) * 100 %>" > </div> <p> <strong> <%= first_fb_value(outside).to_i %> </strong> <%= label %> </p> <% end %> </div> </div> <!-- modal --> <%= content_for :modals do %> <div id="<%= metric(inside) %>" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-header" id="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <h3 id="modal-title"> <%= I18n.t("analytics.metrics.#{metric(inside)}") %> / <%= I18n.t("analytics.metrics.#{metric(outside)}") %> </h3> </div> <div id="modal-container"> <div class="modal-body"> <ul> <li> <%= I18n.t("analytics.metrics.#{metric(inside)}") %>: <%= I18n.t("analytics.description.#{metric(inside)}") %> </li> <br> <li> <%= I18n.t("analytics.metrics.#{metric(outside)}") %>: <%= I18n.t("analytics.description.#{metric(outside)}") %> </li> </ul> </div> <div class="modal-footer"> <button id="modal-button" class="btn" data-dismiss="modal" aria-hidden="true"> <%= I18n.t('action.close') %> </button> </div> </div> </div> <% end %>
Version data entries
7 entries across 7 versions & 1 rubygems