Got JS worked out, slapped together sign up UI
This commit is contained in:
parent
3c36b68f69
commit
446b128137
9 changed files with 358 additions and 7 deletions
|
@ -4,9 +4,9 @@
|
|||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>LeaderBin</title>
|
||||
<title><?php echo $this->config->site['name']; ?></title>
|
||||
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.0.3/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="<?php echo $__dynamic->css('/css/core.less'); ?>">
|
||||
<link rel="stylesheet" href="<?php echo $this->dynamic->css('/css/core.less'); ?>">
|
||||
<!--link href="http://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css"-->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7/html5shiv.js"></script>
|
||||
|
@ -24,8 +24,7 @@
|
|||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
||||
|
||||
ga('create', 'UA-46436973-1', 'leaderbin.com');
|
||||
ga('create', 'UA-46436973-1', '<?php echo $this->config->site['domain']; ?>');
|
||||
ga('send', 'pageview');
|
||||
</script>
|
||||
<?php
|
||||
|
@ -40,13 +39,15 @@
|
|||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="/">LeaderBin</a>
|
||||
<a class="navbar-brand" href="/"><?php echo $this->config->site['name']; ?></a>
|
||||
</div>
|
||||
<div class="collapse navbar-collapse pull-right">
|
||||
<ul class="nav navbar-nav">
|
||||
<li class="active"><a href="/">Home</a></li>
|
||||
<li><a href="/about">About</a></li>
|
||||
<li><a href="/contact">Contact</a></li>
|
||||
<li><a href="/login">Sign in</a></li>
|
||||
<li><a href="/join">Sign up</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -93,6 +94,8 @@
|
|||
</div>
|
||||
</footer>
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.11.1/jquery.validate.min.js"></script>
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.0.3/js/bootstrap.min.js"></script>
|
||||
<script src="<?php echo $this->dynamic->js('/js/jerky.js'); ?>"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
<div class="container">
|
||||
<h1>Leaderboards, at your service!</h1>
|
||||
<p>Track scores. Track sales. Track anything!</p>
|
||||
<p><a class="btn btn-success btn-lg" role="button">Sign me up!</a></p>
|
||||
<p><a class="btn btn-success btn-lg" role="button" href="/join">Sign me up!</a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
<form role="form" class="row col-xs-12 col-sm-6 col-sm-offset-3" method="post">
|
||||
<h1>Sign up</h1>
|
||||
<?php
|
||||
echo $this->html->div(
|
||||
array('class' => 'form-group'),
|
||||
$this->html->inputEmail(array(
|
||||
'label' => 'Email Address',
|
||||
'name' => 'email',
|
||||
'class' => 'form-control input-lg email required',
|
||||
'placeholder' => 'Enter your email',
|
||||
))
|
||||
);
|
||||
|
||||
echo $this->html->div(
|
||||
array('class' => 'form-group'),
|
||||
$this->html->inputPassword(array(
|
||||
'label' => 'Password',
|
||||
'name' => 'password',
|
||||
'class' => 'form-control input-lg required',
|
||||
'minlength' => 8,
|
||||
'placeholder' => 'Enter your password',
|
||||
))
|
||||
);
|
||||
?>
|
||||
|
||||
<button type="submit" class="btn btn-success btn-lg">Make it so!</button>
|
||||
</form>
|
Loading…
Add table
Add a link
Reference in a new issue