"Sign Up Form"
Bootstrap 3.3.0 Snippet by Deepakbisht

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.0/css/materialize.min.css'>
<link rel='stylesheet prefetch' href='https://fonts.googleapis.com/icon?family=Material+Icons'>
<link href="https://fonts.googleapis.com/css?family=Caveat:400,700" rel="stylesheet">
<body ng-controller="RegisterCtrl" ng-app="myApp">
<div class="container">
<div id="signup">
<div class="signup-screen col-sm-6 col-sm-offset-3">
<div class="space-bot text-center">
<h1>Sign up</h1>
<div class="divider"></div>
</div>
<form class="form-register" method="post" name="register" novalidate>
<div class="input-field col s6">
<input id="first-name" type="text" class="validate" required>
<label for="first-name">First Name</label>
</div>
<div class="input-field col s6">
<input id="last-name" type="text" class="validate" required>
<label for="last-name">Last Name</label>
</div>
<div class="input-field col s6">
<input id="email" type="email" name="email" ng-model="email" class="validate" required>
<label for="email">Email</label>
</div>
<p class="alert alert-danger" ng-show="form-register.email.$error.email">Your email is invalid.</p>
<div class="input-field col s6">
<input id="password" type="password" name="password" ng-model="password" ng-minlength='6' class="validate" required>
<label for="password">Password</label>
</div>
<p class="alert alert-danger" ng-show="form-register.password.$error.minlength || form.password.$invalid">Your password must be at least 6 characters.</p>
<div class="space-top text-center">
<button ng-disabled="form-register.$invalid" class="waves-effect waves-light btn done">
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
@import url('https://fonts.googleapis.com/css?family=Caveat:400,700');
body {
min-height:100%;
background:url(http://blog.jobs24.co.uk/wp-content/uploads/2014/06/resign-letter.jpg);
font-family: 'Caveat', cursive;
background-size: cover;
background-attachment: fixed;
}
.text-center{
text-align: center;
}
.space-bot{
margin-bottom: 35px;
}
.space-top{
margin-top: 35px;
}
/* Title */
h1 {
color: white;
font-family: 'Roboto';
text-transform: uppercase;
font-weight: 900;
font-size: 25px !important;
text-align: center;
font-family: 'Caveat', cursive;
}
/* Sign Up */
.container {
max-width: 400px;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
var myApp = angular.module("myApp", []);
myApp.controller("RegisterCtrl", function ($scope) {
});
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: