-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mobile devices now have pictures instead of videos + light refactoring.
- Loading branch information
1 parent
25f8d65
commit f2a9efa
Showing
15 changed files
with
206 additions
and
157 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 was deleted.
Oops, something went wrong.
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,38 @@ | ||
<div class="row"> | ||
|
||
<div id="demo" class="col-sm-12"> | ||
|
||
<div class=" col-sm-offset-2 col-sm-3" > | ||
<canvas id="canvas_animated_watch" width="250" height="250"></canvas> | ||
<img style="display:none" id="watch" src="<?php echo img_url('flatwatch-blank.png');?>"> | ||
</div> | ||
|
||
<div id="demo-second-step" class="col-sm-5" > | ||
<center id="demo-sync-time">5</center> | ||
</div> | ||
|
||
<div id="demo-third-step" class="col-sm-5" > | ||
<br /> | ||
<br /> | ||
<br /> | ||
<input type="text" id="inputUserTime" name="userTime" class="form-control" placeholder="ex: 12:34:56"> | ||
<br>Please use the 24-hour clock format | ||
<span class="signup-error time-error">Your time should be hours:minutes:seconds (like 11:22:33).</span> | ||
<button id="demo-cta" class="btn btn-primary btn-lg" name="startSync">Check now!</button> | ||
<img id='demo-pointer' src="<?php echo img_url('pointer.png');?>"> | ||
|
||
</div> | ||
|
||
|
||
<div id="demo-fourth-step" class="col-sm-5" > | ||
<div class="col-sm-12"> | ||
<h1>Congratulations!</h1> <br/> <p class="accuracy-subtitle"> The accuracy of your <strong><span class="watch-brand">watch</span></strong> is </p> | ||
</div> | ||
<div class="col-sm-12"> | ||
<strong><span class="watch-accuracy"></span> seconds a day!</strong> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
|
||
</div> |
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,15 @@ | ||
<div class="home-intro"> | ||
|
||
<?php $this->load->view('home/intro-mobile'); ?> | ||
|
||
</div> | ||
|
||
<div class="home-picto"> | ||
<div id="demo-screen" class="container container-fluid"> | ||
|
||
<?php | ||
$this->load->view('home/slogan'); | ||
?> | ||
|
||
</div> | ||
</div> |
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,18 @@ | ||
<div class="home-intro"> | ||
|
||
<?php $this->load->view('home/intro'); ?> | ||
|
||
</div> | ||
|
||
<div class="home-picto"> | ||
<div id="demo-screen" class="container container-fluid"> | ||
|
||
<?php | ||
$this->load->view('home/demo'); | ||
$this->load->view('home/slogan'); | ||
?> | ||
|
||
</div> | ||
</div> | ||
|
||
<?php $this->load->view('home/mosa'); ?> |
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,28 @@ | ||
<div class="home-intro-overlay"> | ||
|
||
<img id="home-video" src="<?php echo $video_url;?>" width="100%" height="100%"/> | ||
|
||
<div class="container container-fluid first slogan-home"> | ||
|
||
<div class="row"> | ||
<div class="col-md-12"> | ||
<center> | ||
|
||
<?php | ||
if($userIsLoggedIn) | ||
{ | ||
echo '<a class="btn btn-lg btn-white" href="/measures/">Measure your watch now!</a>'; | ||
} | ||
else | ||
{ | ||
|
||
echo '<a class="btn btn-lg btn-white" href="#" title="Signup" data-toggle="modal" data-target="#pageModal" data-modal-update="true" data-cta="MEASURE_NOW" data-href="/sign-up/">Measure your watch now!</a>'; | ||
} | ||
?> | ||
|
||
</center> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
</div> |
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,44 @@ | ||
<div class="home-intro-overlay"> | ||
|
||
<video id="home-video" src="<?php echo $video_url;?>" width="100%" height="100%" autoplay loop muted></video> | ||
|
||
<div class="container container-fluid first slogan-home"> | ||
|
||
<div class="row"> | ||
<div class="col-md-12"> | ||
<center> | ||
<h1>Measure your watch's accuracy</h1> | ||
</center> | ||
</div> | ||
</div> | ||
|
||
<div class="row"> | ||
<div class="col-md-12"> | ||
<center> | ||
|
||
<?php | ||
if($userIsLoggedIn) | ||
{ | ||
echo '<a class="btn btn-lg btn-white" href="/measures/">Measure your watch now!</a>'; | ||
} | ||
else | ||
{ | ||
|
||
echo '<a class="btn btn-lg btn-white" href="#" title="Signup" data-toggle="modal" data-target="#pageModal" data-modal-update="true" data-cta="MEASURE_NOW" data-href="/sign-up/">Measure your watch now!</a>'; | ||
} | ||
?> | ||
|
||
</center> | ||
</div> | ||
</div> | ||
|
||
<div class="row"> | ||
<div class="col-md-12"> | ||
<center> | ||
<h2>The most convenient way to measure <br /> the accuracy of your mechanical watch</h2> | ||
</center> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
</div> |
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,20 @@ | ||
<div id="mosa-screen" class="home-mosa"> | ||
|
||
<div class="home-mosa-stats"> | ||
<img src="<?php echo img_url('logo-blue.png');?>"> | ||
<h2><?php echo $title; ?></h2> | ||
<p>The most convenient way to measure the accuracy of your mechanical watch.</p> | ||
</div> | ||
|
||
<div class="home-mosa-pictures"> | ||
<div id="mosa-picture-1" style="background-image: url('<?php echo img_url('1.1.jpg'); ?>');" class="home-mosa-picture"> | ||
</div> | ||
<div id="mosa-picture-2" style="background-image: url('<?php echo img_url('2.1.jpg'); ?>');" class="home-mosa-picture"> | ||
</div> | ||
<div id="mosa-picture-3" style="background-image: url('<?php echo img_url('3.1.jpg'); ?>');" class="home-mosa-picture"> | ||
</div> | ||
<div id="mosa-picture-4" style="background-image: url('<?php echo img_url('4.1.jpg'); ?>');" class="home-mosa-picture"> | ||
</div> | ||
</div> | ||
|
||
</div> |
Oops, something went wrong.