From d5f89885104420cd62b5813898c94bb7daba7816 Mon Sep 17 00:00:00 2001 From: jlukic Date: Sun, 6 Oct 2013 15:59:35 -0400 Subject: [PATCH] updates form, dropdown , and accordion docs --- node/src/documents/collections/form.html.eco | 47 ++++++++++++------- node/src/documents/modules/accordion.html.eco | 37 +++++++++++++-- node/src/documents/modules/dropdown.html.eco | 6 ++- 3 files changed, 70 insertions(+), 20 deletions(-) diff --git a/node/src/documents/collections/form.html.eco b/node/src/documents/collections/form.html.eco index d8c323540..966b44cb7 100755 --- a/node/src/documents/collections/form.html.eco +++ b/node/src/documents/collections/form.html.eco @@ -90,6 +90,11 @@ type : 'UI Collection'

Checkbox

UI Checkboxes are styled forms of standard form checkboxes.

+
+ $('.checkbox') + .checkbox() + ; +
@@ -115,9 +120,33 @@ type : 'UI Collection'
+
+

Select

+

A selection dropdown, a type of ui dropdown can be used to allow for a selection from multiple choices

+
+ $('.selection.dropdown') + .dropdown() + ; +
+ +
+

Radio Box

Radio boxes are styled forms of standard form radio controls.

+
+ $('.radio') + .checkbox() + ; +
@@ -424,22 +453,8 @@ type : 'UI Collection'
- -
-

Select

-

Select fields are supported

-
-
- - -
-
-
- - + +

Date

A field can let users know they are for dates

diff --git a/node/src/documents/modules/accordion.html.eco b/node/src/documents/modules/accordion.html.eco index 87b0c6029..21f3a3218 100755 --- a/node/src/documents/modules/accordion.html.eco +++ b/node/src/documents/modules/accordion.html.eco @@ -53,6 +53,35 @@ type : 'UI Module'
+
+

Basic

+

A basic accordion does not add any extra formatting

+
+
+ + What is a dog? +
+
+

A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.

+
+
+ + What kinds of dogs are there? +
+
+

There are many breeds of dogs. Each breed varies in size and temperament. Owners often select a breed of dog that they find to be compatible with their own lifestyle and desires from a companion.

+
+
+ + How do you acquire a dog? +
+
+

Three common ways for a prospective owner to acquire a dog is from pet shops, private owners, or shelters.

+

A pet shop may be the most convenient way to buy a dog. Buying a dog from a private owner allows you to assess the pedigree and upbringing of your dog before choosing to take it home. Lastly, finding your dog from a shelter, helps give a good home to a dog who may not find one so readily.

+
+
+
+

Examples

@@ -170,9 +199,9 @@ type : 'UI Module'

Variations

-

Basic

-

A basic accordion does not add any extra formatting

-
+

Fluid

+

An accordion can take up the width of its container

+
What is a dog? @@ -198,6 +227,8 @@ type : 'UI Module'
+ +

Usage

Initializing an accordion

diff --git a/node/src/documents/modules/dropdown.html.eco b/node/src/documents/modules/dropdown.html.eco index d1354fad1..32fb10aae 100755 --- a/node/src/documents/modules/dropdown.html.eco +++ b/node/src/documents/modules/dropdown.html.eco @@ -470,9 +470,13 @@ type : 'UI Module' action - hide + auto Sets a default action to occur.
+
+
auto
+
Most likely action will be determined by type of dropdown, for example a selection dropdown will automatically use updateForm
+
nothing
no action occurs