Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/MathieuNls/tw
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuNls committed Mar 23, 2016
2 parents b5f148b + e0222b3 commit baf8541
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 30 deletions.
10 changes: 5 additions & 5 deletions application/views/footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<div class="col-md-2">
<div class="logo"></div>
</div>
<div class="links col-md-offset-1 col-sm-1">
<div class="links col-sm-1">
<a href="<?php echo base_url(); ?>#demo-screen">Features</a>
</div>
<div class="links col-sm-1">
Expand All @@ -30,17 +30,17 @@
echo '<div class="links col-sm-1">
<a href="/logout">Logout</a>
</div>
<div class="links col-sm-1">
<a href="/measures/">Measures</a>
<div class="links col-sm-2">
<a href="/measures/">My Measures</a>
</div>';
}
else
{
echo '<div class="links col-sm-1">
<a href="#" title="Login" data-toggle="modal" data-target="#pageModal" data-modal-update="true" data-href="/login/">Login</a>
</div>
<div class="links col-sm-1">
<a href="#" title="Login" data-toggle="modal" data-target="#pageModal" data-modal-update="true" data-href="/login/">Measures</a>
<div class="links col-sm-2">
<a href="#" title="Login" data-toggle="modal" data-target="#pageModal" data-modal-update="true" data-href="/login/">My Measures</a>
</div>';
}
?>
Expand Down
4 changes: 2 additions & 2 deletions application/views/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,11 +151,11 @@
<?php
if ($userIsLoggedIn) {
echo '<div style="margin-top: 10px" class="col-md-1 text-center"><a href="/logout/" title="Logout">Logout</a></div>';
echo '<div class="col-md-1 "><a class="btn btn-lg btn-white" href="/measures/" title="Measures">Measures</a></div>';
echo '<div class="col-md-1 "><a class="btn btn-lg btn-white" href="/measures/" title="Measures">My Measures</a></div>';
} else {

echo '<div style="margin-top: 10px" class="col-md-1 text-center"><a href="#" title="Login" data-toggle="modal" data-target="#pageModal" data-modal-update="true" data-href="/login/">Login</a></div>';
echo '<div class="col-md-1 "><a class="btn btn-lg btn-white" title="Measures" data-toggle="modal" data-cta="MEASURES" data-target="#pageModal" data-modal-update="true" data-href="/login/">Measures</a></div>';
echo '<div class="col-md-1 "><a class="btn btn-lg btn-white" title="Measures" data-toggle="modal" data-cta="MEASURES" data-target="#pageModal" data-modal-update="true" data-href="/login/">My Measures</a></div>';
}
?>
</div>
Expand Down
7 changes: 5 additions & 2 deletions application/views/modal/login.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,17 @@
Login in allows you to access and track all your measures in one place.
</div>
<div class="form-group">
<center><button onclick="fb_login();" class="btn btn-primary btn-lg btn-spinner btn-full">Log in with Facebook<i class="fa fa-spinner fa-pulse"></i></button></center>
<center><button onclick="fb_login();" class="btn btn-primary btn-lg btn-spinner btn-full">
<span style="font-size: 30px;
margin-right: 10px;" class="fa fa-facebook-square"></span>
<span style="margin-top:-10px;">Log in with Facebook</span><i class="fa fa-spinner fa-pulse"></i></button></center>
<span id="fb_error" class="signup-error login-error"></span>
</div>

<form method="post" name="login">

<div class="form-group">
<strong class="line-thru">or</strong>
<strong class="line-thru"></strong>
</div>
<div class="form-group">
<span id="email_error" class="signup-error login-error"></span>
Expand Down
22 changes: 1 addition & 21 deletions assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -182,28 +182,8 @@ textarea:focus, textarea:hover, textarea:active
text-align: center;
width: 100%;
z-index: 1;
}

.line-thru:before {
width: 40px;
height: 10px;
background-color: #fff;
content: '';
margin: -5px 0 0 -20px;
left: 50%;
position: absolute;
top: 50%;
z-index: -1;
}

.line-thru:after {
height: 1px;
border-bottom: 1px solid #dfe0e6;
content: '';
display: block;
position: absolute;
top: 49%;
width: 100%;
z-index: -2;
}

.line
Expand Down

0 comments on commit baf8541

Please sign in to comment.