3030
3131 < title > Angular Validation</ title >
3232 <!-- Bootstrap core CSS -->
33- < link rel ="stylesheet " href ="//maxcdn.bootstrapcdn.com/bootstrap/latest/css/bootstrap.min.css "/>
33+ < link rel ="stylesheet " href ="https: //maxcdn.bootstrapcdn.com/bootstrap/latest/css/bootstrap.min.css "/>
3434 <!-- Bootstrap theme -->
35- < link rel ="stylesheet " href ="//maxcdn.bootstrapcdn.com/bootstrap/latest/css/bootstrap-theme.min.css "/>
35+ < link rel ="stylesheet " href ="https: //maxcdn.bootstrapcdn.com/bootstrap/latest/css/bootstrap-theme.min.css "/>
3636 <!-- AngularJs ui-select CSS-->
37- < link rel ="stylesheet " href ="//cdnjs.cloudflare.com/ajax/libs/angular-ui-select/0.13.2/select.min.css "/>
37+ < link rel ="stylesheet " href ="https: //cdnjs.cloudflare.com/ajax/libs/angular-ui-select/0.13.2/select.min.css "/>
3838
3939 <!-- Highlight CSS-->
40- < link rel ="stylesheet " href ="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.5/styles/color-brewer.min.css "/>
40+ < link rel ="stylesheet " href ="https: //cdnjs.cloudflare.com/ajax/libs/highlight.js/8.5/styles/color-brewer.min.css "/>
4141
4242 < link rel ="stylesheet " href ="demo/main.css "/>
4343
4444</ head >
4545
4646 < body role ="document " ng-controller ="index ">
47-
47+ < div class =" container " style =" padding-bottom: 20px; " >
4848 <!-- Fixed navbar -->
4949 < nav class ="navbar navbar-default navbar-fixed-top ">
5050 < div class ="container ">
6767 < div class ="hidden-xs " style ="height: 40px; "> </ div >
6868 < div class ="container ">
6969 < h1 > Angular Validation</ h1 >
70- < div class ="bs-docs-decs ">
71- < p > Client-side Validation should be simple and clean. </ p >
72- < p > Don't let Client-side Validation dirty your controller. </ p >
73-
74- < p > Setup your Validation on config phase by using some rules (example) < p >
75- < p > If you prefer schema over html attributes , try angular-validation-schema (Demo)
76- And add Validation in your view only.
77- </ p >
78- </ div >
70+ < p > Client-side Validation should be simple and clean. </ p >
7971 </ div >
8072 </ header >
8173 < div class ="container theme-showcase " role ="main ">
8274 < section id ="getting_started ">
8375 < div class ="hidden-xs " style ="height: 40px; "> </ div >
8476 < div class ="page-header ">
85- < h1 > Getting Started</ h1 >
77+ < h2 > Getting Started</ h2 >
8678 </ div >
8779 < h3 > Requirements</ h3 >
8880 < br />
8981 < p > < strong > AngularJS 1.2.x </ strong > (for angular-validation 1.2.x)</ p >
9082 < p > < strong > AngularJS 1.3.x </ strong > (for angular-validation 1.3.x)</ p >
91-
9283 < h3 > Installation</ h3 >
9384 < br />
85+ < div >
9486 < p > Install with npm</ p >
9587 < pre > < code > npm install angular-validation </ code > </ pre >
9688 < p > Or with Bower</ p >
9789 < pre > < code > bower install angular-validation </ code > </ pre >
90+ </ div >
9891 < br />
9992 < h3 > Files to download</ h3 >
10093 < br />
@@ -133,7 +126,7 @@ <h3>Writing your first code</h3>
133126 < section id ="style_guide ">
134127 < div class ="hidden-xs " style ="height: 40px; "> </ div >
135128 < div class ="page-header ">
136- < h1 > Style Guide</ h1 >
129+ < h2 > Style Guide</ h2 >
137130 </ div >
138131 < p > You can style different states of your form elements using the following selectors</ p >
139132 < span class ="label label-danger " style ="margin-left: 2px; "> Invalid Selectors</ span >
@@ -165,7 +158,7 @@ <h1>Style Guide</h1>
165158 < section id ="examples ">
166159 < div class ="hidden-xs " style ="height: 40px; "> </ div >
167160 < div class ="page-header ">
168- < h1 > Examples</ h1 >
161+ < h2 > Examples</ h2 >
169162 </ div >
170163 <!--- Form1 -->
171164 < div class ="page-header ">
@@ -444,17 +437,18 @@ <h1>Examples</h1>
444437
445438 </ section >
446439 </ div >
440+ </ div >
447441
448442< a href ="https://github.com/huei90/angular-validation " target ="_blank "> < img src ="demo/iconmonstr-github-10-icon-128.png " id ="github-link " alt ="Fork me on Github "/> </ a >
449- < script src ="//cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js "> </ script >
450- < script src ="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.5/highlight.min.js "> </ script >
451- < script src ="//cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/jquery.min.js "> </ script >
452- < script src ="//ajax.googleapis.com/ajax/libs/angularjs/1.4.7/angular.min.js "> </ script >
453- < script src ="//cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.8/angular-sanitize.min.js "> </ script >
454- < script src ="//cdnjs.cloudflare.com/ajax/libs/angular-ui-bootstrap/0.14.3/ui-bootstrap-tpls.min.js "> </ script >
455- < script src ="//maxcdn.bootstrapcdn.com/bootstrap/latest/js/bootstrap.min.js "> </ script >
456- < script src ="//cdnjs.cloudflare.com/ajax/libs/angular-ui-bootstrap/0.14.3/ui-bootstrap.min.js "> </ script >
457- < script src ="//cdnjs.cloudflare.com/ajax/libs/angular-ui-select/0.13.2/select.min.js "> </ script >
443+ < script src ="https: //cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js "> </ script >
444+ < script src ="https: //cdnjs.cloudflare.com/ajax/libs/highlight.js/8.5/highlight.min.js "> </ script >
445+ < script src ="https: //cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/jquery.min.js "> </ script >
446+ < script src ="https: //ajax.googleapis.com/ajax/libs/angularjs/1.4.7/angular.min.js "> </ script >
447+ < script src ="https: //cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.8/angular-sanitize.min.js "> </ script >
448+ < script src ="https: //cdnjs.cloudflare.com/ajax/libs/angular-ui-bootstrap/0.14.3/ui-bootstrap-tpls.min.js "> </ script >
449+ < script src ="https: //maxcdn.bootstrapcdn.com/bootstrap/latest/js/bootstrap.min.js "> </ script >
450+ < script src ="https: //cdnjs.cloudflare.com/ajax/libs/angular-ui-bootstrap/0.14.3/ui-bootstrap.min.js "> </ script >
451+ < script src ="https: //cdnjs.cloudflare.com/ajax/libs/angular-ui-select/0.13.2/select.min.js "> </ script >
458452
459453< script src ="dist/angular-validation.js "> </ script >
460454< script src ="dist/angular-validation-rule.js "> </ script >
@@ -474,7 +468,7 @@ <h1>Examples</h1>
474468 ( function ( i , s , o , g , r , a , m ) { i [ 'GoogleAnalyticsObject' ] = r ; i [ r ] = i [ r ] || function ( ) {
475469 ( i [ r ] . q = i [ r ] . q || [ ] ) . push ( arguments ) } , i [ r ] . l = 1 * new Date ( ) ; a = s . createElement ( o ) ,
476470 m = s . getElementsByTagName ( o ) [ 0 ] ; a . async = 1 ; a . src = g ; m . parentNode . insertBefore ( a , m )
477- } ) ( window , document , 'script' , '//www.google-analytics.com/analytics.js' , 'ga' ) ;
471+ } ) ( window , document , 'script' , 'https: //www.google-analytics.com/analytics.js' , 'ga' ) ;
478472
479473 ga ( 'create' , 'UA-62825613-1' , 'auto' ) ;
480474 ga ( 'send' , 'pageview' ) ;
0 commit comments