Skip to content

Commit

Permalink
added gems
Browse files Browse the repository at this point in the history
  • Loading branch information
Dereje24 committed Mar 5, 2018
1 parent f5a9926 commit cbab82c
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 4 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ git_source(:github) do |repo_name|
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
"https://github.com/#{repo_name}.git"
end

gem 'bootstrap-datepicker-rails'
gem 'faker'
gem 'jquery-rails'
Expand Down
39 changes: 35 additions & 4 deletions app/views/home/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -446,13 +446,44 @@
</div>
<!--end col md 12 -->


<div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
</ol>
<div class="carousel-inner">
<div class="carousel-item active">
<!-- <img class="d-block w-100" src="..." alt="First slide"> -->
<%= image_tag "Scooter1-350x500", :class => "d-block w-100" %>
</div>
<div class="carousel-item">
<!-- <img class="d-block w-100" src="..." alt="Second slide"> -->
<%= image_tag "Scooter1-350x500", :class => "d-block w-100" %>
</div>
<div class="carousel-item">
<!-- <img class="d-block w-100" src="..." alt="Third slide"> -->
<%= image_tag "Scooter1-350x500", :class => "d-block w-100" %>
</div>
</div>
<a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>

<!--begin col md 12 -->
<div class="gallery-item-wrapper padding-top-30">

<!--begin owl carousel -->
<div id="owl2" class="owl-carousel owl-theme gallery">

<div class="slides">
<!-- <div class="slides">
<%= image_tag "Scooter1-350x500.png"%>
</div>
Expand All @@ -476,14 +507,14 @@
<%= image_tag "Scooter6-350x600.png"%>
</div>
</div>
</div> -->
<!--end owl carousel -->

<div class="owl-dots">
<!-- <div class="owl-dots">
<div class="owl-dot active"><span></span></div>
<div class="owl-dot"><span></span></div>
<div class="owl-dot"><span></span></div>
</div>
</div> -->
</div>
<!--end col md 12-->

Expand Down

0 comments on commit cbab82c

Please sign in to comment.