Replace the 3 panels on the index page with a carousel

master
Daniel Berteaud 11 years ago
parent a44ddff81a
commit aba49e1e62
  1. 11
      public/css/vroom.css
  2. 65
      templates/default/index.html.ep

@ -192,6 +192,17 @@
text-align: justify; text-align: justify;
text-justify:inter-word; text-justify:inter-word;
} }
.carouselLogo {
margin: auto;
padding: 60px;
}
.carouselIndexItem {
height: 500px !important;
text-align: center;
}
.carouselIndexCaption {
color: grey;
}
.modal-body { .modal-body {
text-align: justify; text-align: justify;
text-justify: inter-word; text-justify: inter-word;

@ -34,37 +34,54 @@
</div> </div>
<br/><br/> <br/><br/>
<div class="row"> <div class="row">
<div class="col-md-4"> <div id="carouselIndexContainer" class="col-md-8 col-md-offset-2 col-lg-6 col-lg-offset-3">
<div class="panel panel-default"> <div id="carouselIndex" class="carousel slide" data-ride="carousel">
<div class="panel-body panelIndex"> <ol class="carousel-indicators">
<center> <li data-target="#carouselIndex" data-slide-to="0" class="active"></li>
<img src="/img/lock.png" alt="Secure"> <li data-target="#carouselIndex" data-slide-to="1"></li>
<h1><%=l 'SECURE' %></h1> <li data-target="#carouselIndex" data-slide-to="2"></li>
</center> </ol>
<p><%=l "P2P_COMMUNICATION" %></p> <div id="carouselIndexContent" class="carousel-inner">
<div class="item carouselIndexItem col-xs-10 col-xs-offset-1">
<img class="img-responsive carouselLogo" src="/img/lock.png" alt="Secure">
<p>
<%=l 'P2P_COMMUNICATION' %>
</p>
<div class="carousel-caption carouselIndexCaption">
<h1>
<%=l 'SECURE' %>
</h1>
</div> </div>
</div> </div>
<div class="item active carouselIndexItem col-xs-10 col-xs-offset-1">
<img class="img-responsive carouselLogo" src="/img/universal.png" alt="Universal">
<p>
<%=l 'MODERN_BROWSERS' %>
</p>
<div class="carousel-caption carouselIndexCaption">
<h1>
<%=l 'WORKS_EVERYWHERE' %>
</h1>
</div> </div>
<div class="col-md-4">
<div class="panel panel-default">
<div class="panel-body panelIndex">
<center>
<img src="/img/universal.png" alt="Universal">
<h1><%=l 'WORKS_EVERYWHERE' %></h1>
</center>
<p><%=l "MODERN_BROWSERS" %></p>
</div> </div>
<div class="item carouselIndexItem col-xs-10 col-xs-offset-1">
<img class="img-responsive carouselLogo" src="/img/share.png" alt="Multi User">
<p>
<%=l 'THE_LIMIT_IS_YOUR_PIPE' %>
</p>
<div class="carousel-caption carouselIndexCaption">
<h1>
<%=l 'MULTI_USER' %>
</h1>
</div> </div>
</div> </div>
<div class="col-md-4">
<div class="panel panel-default">
<div class="panel-body panelIndex">
<center>
<img src="/img/share.png" alt="Peer to peer">
<h1><%=l 'MULTI_USER' %></h1>
</center>
<p><%=l "THE_LIMIT_IS_YOUR_PIPE" %></p>
</div> </div>
<a class="left carousel-control" href="#carouselIndex" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left"></span>
</a>
<a class="right carousel-control" href="#carouselIndex" data-slide="next">
<span class="glyphicon glyphicon-chevron-right"></span>
</a>
</div> </div>
</div> </div>
</div> </div>

Loading…
Cancel
Save