From 8c089f1e1af68786cff050b0197b30995dda9b00 Mon Sep 17 00:00:00 2001 From: Craig Davis Date: Mon, 8 Apr 2013 08:00:56 -0500 Subject: [PATCH] Add TravisCI image to the README.md file --- Gruntfile.js | 2 ++ README.md | 68 +++++++++++++++++++++++++++------------------------- package.json | 2 +- 3 files changed, 38 insertions(+), 34 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 75ec8d1..fd42307 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -103,6 +103,8 @@ module.exports = function (grunt) { // Default task. grunt.registerTask('default', ['jshint','qunit', 'clean', 'concat', 'cssmin', 'uglify']); + grunt.registerTask('travis', ['jshint', 'qunit']); + // Alias this to make it standard across my repos. (Jasmine v. QUnit) grunt.registerTask('test', ['qunit']); diff --git a/README.md b/README.md index b2b6a00..fc7b2f0 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +[![Build Status](https://travis-ci.org/there4/uni-form.png?branch=make-sense)](https://travis-ci.org/there4/uni-form) + # [Uni-Form Markup](http://sprawsm.com/uni-form/): Making forms as simple as 1,2,3 - - - @@ -5,7 +7,7 @@ Copyright (c) 2013, Dragan Babic All JS written and maintained by Craig Davis of LearningStation - + > Permission is hereby granted, free of charge, to any person > obtaining a copy of this software and associated documentation > files (the "Software"), to deal in the Software without @@ -14,10 +16,10 @@ All JS written and maintained by Craig Davis of LearningStation > copies of the Software, and to permit persons to whom the > Software is furnished to do so, subject to the following > conditions: -> +> > The above copyright notice and this permission notice shall be > included in all copies or substantial portions of the Software. -> +> > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, > EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES > OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND @@ -27,38 +29,38 @@ All JS written and maintained by Craig Davis of LearningStation > FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR > OTHER DEALINGS IN THE SOFTWARE. -## About Uni–Form +## About Uni–Form -Uni-Form is a “framework” that standardizes form markup and styles it with CSS -giving you two most widely used layout options to choose from. Anyone can get nice looking, well structured, highly customizable, accessible and usable forms. To put it simply: it makes a developer's life a lot easier. +Uni-Form is a “framework” that standardizes form markup and styles it with CSS +giving you two most widely used layout options to choose from. Anyone can get nice looking, well structured, highly customizable, accessible and usable forms. To put it simply: it makes a developer's life a lot easier. * [Uni-Form Homepage](http://sprawsm.com/uni-form/) * [Support at GitHub Issues](https://github.com/draganbabic/uni-form/issues) * [GitHub repository](https://github.com/draganbabic/uni-form/) -## How to Use? +## How to Use? -First thing you need to do is to link up the necessary files: +First thing you need to do is to link up the necessary files: 1. Link to the main CSS file - + - + 2. Link to the Uni–Form style CSS file - + - -3. Optionally you'll want to link up jQuery and Uni–Form jQuery files if you'd like Uni–Form to highlight the form rows on focus (it's a usability aid): - + +3. Optionally you'll want to link up jQuery and Uni–Form jQuery files if you'd like Uni–Form to highlight the form rows on focus (it's a usability aid): + - + 4. You may also want to try out the version of the Uni–Form jQuery plugin that supports client side validation, in case replace the regular plugin with this: - + 5. Please note that this plugin no longer automatically initializes itself. You must do this manually, by adding this snippet after you have included both jQuery and the plugin you have chosen: - +