forked from guillaumepotier/Parsley.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
183 lines (151 loc) · 7.49 KB
/
index.html
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Parsley.js</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<!-- Le styles -->
<link href="components/bootstrap/docs/assets/css/bootstrap.css" rel="stylesheet">
<style type="text/css">
body {
padding-top: 20px;
padding-bottom: 40px;
}
h3.muted {
color: #08C;
}
/* Custom container */
.container-narrow {
margin: 0 auto;
max-width: 770px;
}
.container-narrow > hr {
margin: 15px 0;
}
/* Main marketing message and sign up button */
.jumbotron {
margin: 20px 0;
text-align: center;
}
.jumbotron h1 {
text-shadow: #A8A8A8 1px 2px 2px;
font-size: 4em;
line-height: 1;
}
.jumbotron h1 strong {
color: #FB4006;
}
.jumbotron .btn {
font-size: 21px;
padding: 14px 24px;
}
/* Supporting marketing content */
.marketing {
margin: 20px 0;
}
.marketing p + h4 {
margin-top: 28px;
}
h4, h4 i {
color: #FB4006;
}
.social-buttons {
padding: 5px 20px;
}
.call-to-action, .call-to-action:hover {
color: white;
font-weight: bold;
text-shadow: #0088cc 1px 2px 2px;
background: #08C;
background-color: #08C;
}
.call-to-action:hover {
background: #FB4006;
text-shadow: #FB4006 1px 2px 2px;
}
</style>
<link href="components/bootstrap/docs/assets/css/bootstrap-responsive.css" rel="stylesheet">
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<a href="https://github.com/guillaumepotier/Parsley.js"><img style="position: fixed; top: 0; right: 0; border: 0; z-index:9999" src="https://s3.amazonaws.com/github/ribbons/forkme_right_orange_ff7600.png" alt="Fork me on GitHub"></a>
<div class="container-narrow">
<div class="masthead">
<ul class="nav nav-pills pull-right">
<li class="active"><a href="index.html">Home</a></li>
<li><a href="documentation.html">Documentation</a></li>
<li><a href="doc/api/index.html" target="_blank">API</a></li>
</ul>
<h3 class="muted">
Parsley.js
<span class="social-buttons inline-block">
<a href="https://twitter.com/share" class="twitter-share-button" data-related="guillaumepotier,garlicjs: Auto persist form values to avoid data loss" data-url="http://parsleyjs.org" data-lang="en" data-text="Parsley.js: never write a single javascript line anymore to validate your forms FrontEnd. #ux #javascript"></a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
<iframe src="http://ghbtns.com/github-btn.html?user=guillaumepotier&repo=parsley.js&type=watch&count=true"
allowtransparency="true" frameborder="0" scrolling="0" width="90" height="20"></iframe>
<!-- ><a style="height:30px;" href="http://news.ycombinator.com/submit" data-title="Show HN: Parsley.js - never write a single javascript line anymore to validate your forms FrontEnd" data-url="http://parsleyjs.org" class="hn-share-button"></a>-->
</span>
</h3>
</div>
<hr>
<div class="jumbotron">
<h1>Javascript forms validation.<br/><strong>Powerful, UX aware & Dead simple.</strong></h1>
<p class="lead">Never write a single javascript line anymore to validate your forms FrontEnd. Parsley will do that for you and do it right, thanks to its powerful DOM-API !</p>
<a class="btn btn-large call-to-action" href="documentation.html">See documentation & examples</a>
</div>
<hr>
<div class="row-fluid marketing">
<div class="span6">
<h4><i class="icon-heart"></i> Super #UX focused</h4>
<p>User Experience matters. <strong>A lot</strong>. Parsley is totally aware of that, and is designed to help your users and <strong>not bother or frustrate them</strong>.</p>
<p>See <a href="documentation.html">demonstration</a>.</p>
<h4><i class="icon-time"></i> Super light</h4>
<p>Less than <strong>800</strong> lines. Less than <strong>12k</strong> minified.<br/>Works with <strong>jQuery</strong> and <strong>Zepto</strong>.</p>
<p>Get <a href="https://github.com/guillaumepotier/Parsley.js/tree/master/dist">Latest version</a>.</p>
<h4><i class="icon-gift"></i> Super free</h4>
<p>Parsley is <strong>open source</strong>, <strong>MIT</strong> licenced, and developed to help everyone. It will <strong>stay that way</strong>.</p>
<p>See <a href="https://github.com/guillaumepotier/Parsley.js/blob/master/LICENCE.md">Licence</a>.</p>
</div>
<div class="span6">
<h4><i class="icon-wrench"></i> Super configurable</h4>
<p>Like no other javascript library, Parsley has a full room for #UX concerns and details options. <strong>Override <i>almost</i> every Parsley default behaviors</strong> to fit your <strong>exact needs</strong>.</p>
<p>See <a href="documentation.html#parsleyform">documentation</a>.</p>
<h4><i class="icon-play"></i> Super simple</h4>
<p>Want to validate a form? Just <strong>write it in English</strong> with awesome Parsley <strong>DOM-API</strong> using jQuery data API.</p>
<p>See <a href="documentation.html">documentation</a>.</p>
<h4><i class="icon-check"></i> Super reliable</h4>
<p>Form validation is important, #UX is critical. Parsley is shipped <strong><i>almost</i> bugs free</strong> to help you on that.</p>
<p><a href="https://travis-ci.org/guillaumepotier/Parsley.js"><img src="https://travis-ci.org/guillaumepotier/Parsley.js.png?branch=master" /></a> See Parsley <a href="tests/index.html">Test Suite</a>.</p>
</div>
</div>
<hr>
<div class="footer">
<p>© <a href="http://twitter.com/guillaumepotier">@guillaumepotier</a> @<a href="http://wisembly.com/en/">Wisembly</a> 2012 - <small><a href="http://garlicjs.org">Ever heard of #Garlic.js, Parsley little sister?</a></small>
</p>
</div>
</div> <!-- /container -->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-37229467-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<script>
(function(d, t) {
var g = d.createElement(t),
s = d.getElementsByTagName(t)[0];
g.src = '//hnbutton.appspot.com/static/hn.min.js';
s.parentNode.insertBefore(g, s);
}(document, 'script'));
</script>
</body>
</html>