-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#17 added imei registration page in new template
- Loading branch information
Sushil
committed
Apr 22, 2015
1 parent
4a52ff3
commit 1fb1621
Showing
24 changed files
with
605 additions
and
1,424 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,39 @@ | ||
@* carousell Template File *@ | ||
@(param: Any) | ||
<div id="myCarousel" class="carousel slide" data-ride="carousel"> | ||
<!-- Indicators --> | ||
|
||
<ol class="carousel-indicators"> | ||
<li data-target="#myCarousel" data-slide-to="0" class="active"></li> | ||
<li data-target="#myCarousel" data-slide-to="1"></li> | ||
<li data-target="#myCarousel" data-slide-to="2"></li> | ||
</ol> | ||
<div id="myCarousel" class="carousel slide"> | ||
<div class="carousel-inner"> | ||
<div class="item active"> <img src="@routes.Assets.at("user/img/bg.jpg")" style="width:100%" alt="First slide"> | ||
<div class="container"> | ||
<h2></h2> | ||
<div class="carousel-caption"> | ||
<h1>Slide 1</h1> | ||
<p>Aenean a rutrum nulla. Vestibulum a arcu at nisi tristique pretium.</p> | ||
<p><a class="btn btn-lg btn-primary" href="#" role="button">Sign up today</a></p> | ||
<div class="active item"> | ||
<div class="fill" style="background-image:url('assets/example/bg1.jpg');"> | ||
<div class="container"> | ||
<div class="blocky"><h1 class="pull-left pull-middle light-color"><span><a href="#">Single Page App</a></span></h1></div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="item"> <img src="@routes.Assets.at("user/img/bg.jpg")" style="width:100%" data-src="" alt="Second slide"> | ||
<div class="container"> | ||
<div class="carousel-caption"> | ||
<h1>Slide 2</h1> | ||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed vitae egestas purus. </p> | ||
<p><a class="btn btn-lg btn-primary" href="#" role="button">Learn more</a></p> | ||
<div class="item"> | ||
<div class="fill" style="background-image:url('assets/example/bg_smartphones.jpg');"> | ||
<div class="container"> | ||
<div class="blocky"><h1 class="pull-left pull-middle light-color"><span><a href="#">Make Fast Updates</a></span></h1></div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="item"> <img src="@routes.Assets.at("user/img/bg.jpg")" style="width:100%" data-src="" alt="Third slide"> | ||
<div class="container"> | ||
<div class="carousel-caption"> | ||
<h1>Slide 3</h1> | ||
<p>Donec sit amet mi imperdiet mauris viverra accumsan ut at libero.</p> | ||
<p><a class="btn btn-lg btn-primary" href="#" role="button">Browse gallery</a></p> | ||
<div class="item"> | ||
<div class="fill" style="background-image:url('assets/example/bg_dogcat.jpg');"> | ||
<div class="container"> | ||
<div class="blocky"><h1 class="pull-left pull-middle light-color"><span><a href="#">About Your Brand</a></span></h1></div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<a class="left carousel-control" href="#myCarousel" data-slide="prev"> | ||
<span class="glyphicon glyphicon-chevron-left"></span> | ||
</a> | ||
<a class="right carousel-control" href="#myCarousel" data-slide="next"> | ||
<span class="glyphicon glyphicon-chevron-right"></span></a> | ||
</div> | ||
</div> | ||
<a class="left carousel-control" href="#myCarousel" data-slide="prev">‹</a> | ||
<a class="right carousel-control" href="#myCarousel" data-slide="next">›</a> | ||
</div> | ||
|
||
<script> | ||
$(function(){ | ||
$('#myCarousel').on('slid.bs.carousel', function () { | ||
}); | ||
}); | ||
$('.carousel').carousel(); | ||
$('#myCarousel').on('slide',function(){ | ||
$('.blocky').fadeOut(300); | ||
}); | ||
$('#myCarousel').on('slid',function(){ | ||
$('.blocky').fadeIn(600).animate({marginLeft:"+=12%"},200).animate({marginLeft:"-=15%"},300).animate({marginLeft:"+=4%"},600); | ||
}); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
@(title:String,mobileRegistrationForm: Form[model.repository.MobileRegisterForm], brands: List[model.repository.Brand]) | ||
<section id="registerImei"> | ||
<div class="container"> | ||
<div class="headline"> | ||
<h3>IMEI Registration</h3> | ||
</div> | ||
<div class="row"> | ||
<div class="col-sm-9"> | ||
<p>Chances are that you are visiting this page, because, you or someone close to you, has lost his/her cell phone. | ||
The feeling of losing a cell phone is analogous to losing a part of your life. | ||
We have been in the same situation. This site with its database of over 50,000 (and growing) lost / stolen cell phones, is an attempt to break the cycle of cell phone thefts.</p> | ||
<p>Register your mobile IMEI number with us and be safe.</p> | ||
<a href="#imeiRegisterModal" class="portfolio-link" role="button" data-toggle="modal"><button class="btn btn-success">Click here to register IMEI number</button></a> | ||
</div> | ||
<div class="col-sm-3"> | ||
<img src="@routes.Assets.at("user/img/cell.jpg")" alt=""> | ||
</div> | ||
</div> | ||
|
||
<!-- Modal --> | ||
<div class="portfolio-modal modal fade" id="imeiRegisterModal" tabindex="-1" role="dialog" aria-hidden="true"> | ||
<div class="modal-content"> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-md-12"> | ||
<div class="modal-body" style="text-align: left;"> | ||
<h3>Register your IMEI</h3> | ||
<div class="well form-horizontal"> | ||
<h4 style="color: rgba(23, 110, 94, 1);">Please provide authentic IMEI proof</h4> | ||
@registerForm("clean", mobileRegistrationForm, brands) | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</section> |
Oops, something went wrong.