app/themes/default/views/pwb/welcome/index.html.erb in pwb-0.0.2 vs app/themes/default/views/pwb/welcome/index.html.erb in pwb-0.1.0
- old
+ new
@@ -7,18 +7,14 @@
<% @carousel_items.each.with_index do |carousel_item, index| %>
<li data-target="#homepageCarousel" data-slide-to="<%= index %>" class=""></li>
<% end %>
</ol>
<div class="carousel-inner">
+
<% @carousel_items.each.with_index do |carousel_item, index| %>
- <div class="item item-dark <%= " active " if index == 0 %>" style="background-image:url(<%= carousel_item.default_photo_url %>);">
- <% if "toimplement" == "tt" %>
- <div class="mask mask-1"></div>
- <% end %>
+ <div class="item item-dark <%= " active " if index == 0 %>" style="background-image:linear-gradient( rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1) ),url(<%= carousel_item.default_photo_url %>);">
<div class="container">
- <div class="description-left">
- <div class="title c-white text-uppercase strong-700">
- </div>
+ <div class="carousel-content">
<%== carousel_item.raw %>
</div>
</div>
<!--<div class="ribbon dark fondo_accion"><span></span></div> -->
</div>