Browse Source

Remove examples which aren't useful at this time

nghuuphuoc 11 years ago
parent
commit
7bd3a76c26
2 changed files with 0 additions and 232 deletions
  1. 0 114
      demo/formWithoutLabels.html
  2. 0 118
      demo/labelWithoutClass.html

+ 0 - 114
demo/formWithoutLabels.html

@@ -1,114 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-    <title>BootstrapValidator demo</title>
-
-    <link rel="stylesheet" href="../vendor/bootstrap/css/bootstrap.css"/>
-    <link rel="stylesheet" href="../dist/css/bootstrapValidator.css"/>
-
-    <script type="text/javascript" src="../vendor/jquery/jquery-1.10.2.min.js"></script>
-    <script type="text/javascript" src="../vendor/bootstrap/js/bootstrap.min.js"></script>
-    <script type="text/javascript" src="../dist/js/bootstrapValidator.js"></script>
-</head>
-<body>
-    <div class="container" style="margin-top: 50px;">
-        <div class="row">
-            <div class="col-lg-4 col-lg-offset-4">
-                <div class="panel panel-default">
-                    <div class="panel-heading">
-                        <h3 class="panel-title">Sign up</h3>
-                    </div>
-
-                    <div class="panel-body">
-                        <form id="defaultForm" method="post">
-                            <div class="form-group">
-                                <input type="text" class="form-control" name="username" placeholder="Username" />
-                            </div>
-
-                            <div class="form-group">
-                                <input type="text" class="form-control" name="email" placeholder="Email" />
-                            </div>
-
-                            <div class="form-group">
-                                <input type="password" class="form-control" name="password" placeholder="Password" />
-                            </div>
-
-                            <div class="form-group">
-                                <input type="password" class="form-control" name="confirmPassword" placeholder="Retype password" />
-                            </div>
-
-                            <div class="form-group">
-                                <button type="submit" class="btn btn-primary">Sign up</button>
-                            </div>
-                        </form>
-                    </div>
-                </div>
-            </div>
-        </div>
-    </div>
-
-<script type="text/javascript">
-$(document).ready(function() {
-    $('#defaultForm').bootstrapValidator({
-        message: 'This value is not valid',
-        feedbackIcons: {
-            valid: 'glyphicon glyphicon-ok',
-            invalid: 'glyphicon glyphicon-remove',
-            validating: 'glyphicon glyphicon-refresh'
-        },
-        fields: {
-            username: {
-                message: 'The username is not valid',
-                validators: {
-                    notEmpty: {
-                        message: 'The username is required and can\'t be empty'
-                    },
-                    stringLength: {
-                        min: 6,
-                        max: 30,
-                        message: 'The username must be more than 6 and less than 30 characters long'
-                    },
-                    regexp: {
-                        regexp: /^[a-zA-Z0-9_\.]+$/,
-                        message: 'The username can only consist of alphabetical, number, dot and underscore'
-                    }
-                }
-            },
-            email: {
-                validators: {
-                    notEmpty: {
-                        message: 'The email address is required and can\'t be empty'
-                    },
-                    emailAddress: {
-                        message: 'The input is not a valid email address'
-                    }
-                }
-            },
-            password: {
-                validators: {
-                    notEmpty: {
-                        message: 'The password is required and can\'t be empty'
-                    },
-                    identical: {
-                        field: 'confirmPassword',
-                        message: 'The password and its confirm are not the same'
-                    }
-                }
-            },
-            confirmPassword: {
-                validators: {
-                    notEmpty: {
-                        message: 'The confirm password is required and can\'t be empty'
-                    },
-                    identical: {
-                        field: 'password',
-                        message: 'The password and its confirm are not the same'
-                    }
-                }
-            }
-        }
-    });
-});
-</script>
-</body>
-</html>

+ 0 - 118
demo/labelWithoutClass.html

@@ -1,118 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-    <title>BootstrapValidator demo</title>
-
-    <link rel="stylesheet" href="../vendor/bootstrap/css/bootstrap.css"/>
-    <link rel="stylesheet" href="../dist/css/bootstrapValidator.css"/>
-
-    <script type="text/javascript" src="../vendor/jquery/jquery-1.10.2.min.js"></script>
-    <script type="text/javascript" src="../vendor/bootstrap/js/bootstrap.min.js"></script>
-    <script type="text/javascript" src="../dist/js/bootstrapValidator.js"></script>
-</head>
-<body>
-    <div class="container" style="margin-top: 50px;">
-        <div class="row">
-            <div class="col-lg-4 col-lg-offset-4">
-                <div class="panel panel-default">
-                    <div class="panel-heading">
-                        <h3 class="panel-title">Sign up</h3>
-                    </div>
-
-                    <div class="panel-body">
-                        <form id="defaultForm" method="post">
-                            <div class="form-group">
-                                <label>Username</label>
-                                <input type="text" class="form-control" name="username" placeholder="Username" />
-                            </div>
-
-                            <div class="form-group">
-                                <label>Email</label>
-                                <input type="text" class="form-control" name="email" placeholder="Email" />
-                            </div>
-
-                            <div class="form-group">
-                                <label>Password</label>
-                                <input type="password" class="form-control" name="password" placeholder="Password" />
-                            </div>
-
-                            <div class="form-group">
-                                <label>Retype password</label>
-                                <input type="password" class="form-control" name="confirmPassword" placeholder="Retype password" />
-                            </div>
-
-                            <div class="form-group">
-                                <button type="submit" class="btn btn-primary">Sign up</button>
-                            </div>
-                        </form>
-                    </div>
-                </div>
-            </div>
-        </div>
-    </div>
-
-<script type="text/javascript">
-$(document).ready(function() {
-    $('#defaultForm').bootstrapValidator({
-        message: 'This value is not valid',
-        feedbackIcons: {
-            valid: 'glyphicon glyphicon-ok',
-            invalid: 'glyphicon glyphicon-remove',
-            validating: 'glyphicon glyphicon-refresh'
-        },
-        fields: {
-            username: {
-                message: 'The username is not valid',
-                validators: {
-                    notEmpty: {
-                        message: 'The username is required and can\'t be empty'
-                    },
-                    stringLength: {
-                        min: 6,
-                        max: 30,
-                        message: 'The username must be more than 6 and less than 30 characters long'
-                    },
-                    regexp: {
-                        regexp: /^[a-zA-Z0-9_\.]+$/,
-                        message: 'The username can only consist of alphabetical, number, dot and underscore'
-                    }
-                }
-            },
-            email: {
-                validators: {
-                    notEmpty: {
-                        message: 'The email address is required and can\'t be empty'
-                    },
-                    emailAddress: {
-                        message: 'The input is not a valid email address'
-                    }
-                }
-            },
-            password: {
-                validators: {
-                    notEmpty: {
-                        message: 'The password is required and can\'t be empty'
-                    },
-                    identical: {
-                        field: 'confirmPassword',
-                        message: 'The password and its confirm are not the same'
-                    }
-                }
-            },
-            confirmPassword: {
-                validators: {
-                    notEmpty: {
-                        message: 'The confirm password is required and can\'t be empty'
-                    },
-                    identical: {
-                        field: 'password',
-                        message: 'The password and its confirm are not the same'
-                    }
-                }
-            }
-        }
-    });
-});
-</script>
-</body>
-</html>