浏览代码

Add screenshot

phuoc 12 年之前
父节点
当前提交
584e73409e
共有 3 个文件被更改,包括 10 次插入4 次删除
  1. 6 0
      README.md
  2. 4 4
      demo/index.html
  3. 二进制
      img/screenshot.png

+ 6 - 0
README.md

@@ -2,6 +2,10 @@
 
 A jQuery plugin to validate form fields. Use with Bootstrap 3
 
+The plugin uses [Bootstrap Tooltip](http://getbootstrap.com/javascript/#tooltips) to show the error message as following screenshot:
+
+![Bootstrap Validate screenshot](img/screenshot.png)
+
 ## Required
 
 * [jQuery](http://jquery.com/)
@@ -25,6 +29,8 @@ Then, uses grunt to build:
 $ grunt
 ```
 
+The generated scripts (including source and compressed versions) are placed inside the ```dist``` directory.
+
 ## Author
 
 Nguyen Huu Phuoc ([Email](mailto: phuoc@huuphuoc.me) / [Twitter](http://twitter.com/nghuuphuoc) / [Github](http://github.com/nghuuphuoc))

+ 4 - 4
demo/index.html

@@ -18,11 +18,11 @@
         <div class="row">
             <!-- form: -->
             <section>
-                <div class="page-header">
-                    <h2>Bootstrap Validate plugin</h2>
-                </div>
-
                 <div class="col-lg-8 col-lg-offset-2">
+                    <div class="page-header">
+                        <h2>Sign up</h2>
+                    </div>
+
                     <form id="defaultForm" method="post" class="form-horizontal">
                         <div class="form-group">
                             <label class="col-lg-3 control-label">Username</label>

二进制
img/screenshot.png