From 22d64456008cd8d2aaab35f6d8005cc112d93567 Mon Sep 17 00:00:00 2001 From: cash Date: Thu, 30 Dec 2010 21:37:01 +0000 Subject: major addition - adding preview of CSS for developers and themers git-svn-id: http://code.elgg.org/elgg/trunk@7781 36083f99-b078-4883-b0ff-0f9b5a30f544 --- documentation/css/preview/forms.php | 214 ++++++++++++++++++++++++++++++++++++ 1 file changed, 214 insertions(+) create mode 100644 documentation/css/preview/forms.php (limited to 'documentation/css/preview/forms.php') diff --git a/documentation/css/preview/forms.php b/documentation/css/preview/forms.php new file mode 100644 index 000000000..d3a3e7647 --- /dev/null +++ b/documentation/css/preview/forms.php @@ -0,0 +1,214 @@ + + +
+

+ +

Form

+
+
+ Form legend +

+ + 'f1', + 'internalid' => 'f1', + 'value' => 'input text', + )); + ?> +

+

+ + 'f2', + 'internalid' => 'f2', + 'value' => 'password', + )); + ?> +

+

+
+ 'f3', + 'internalid' => 'f3', + 'options' => array(1, 2), + )); + ?> +

+

+
+ 'f4', + 'internalid' => 'f4', + 'options' => array(1, 2), + )); + ?> +

+

+
+ 'f5', + 'internalid' => 'f5', + 'options' => array('option 1', 'option 2'), + )); + ?> +

+

+ + 'f6', + 'internalid' => 'f6', + 'value' => ACCESS_PUBLIC, + )); + ?> +

+

+ + 'f7', + 'internalid' => 'f7', + )); + ?> +

+

+ + 'f8', + 'internalid' => 'f8', + 'value' => 'http://elgg.org/', + )); + ?> +

+

+ + 'f9', + 'internalid' => 'f9', + 'value' => 'one, two, three', + )); + ?> +

+

+ + 'f10', + 'internalid' => 'f10', + 'value' => 'noone@elgg.org', + )); + ?> +

+

+ + 'f11', + 'internalid' => 'f11', + 'match_on' => 'users', + )); + ?> +

+

+ + 'f12', + 'internalid' => 'f12', + )); + ?> +

+

+ + 'f13', + 'internalid' => 'f13', + )); + ?> +

+

+ + 'f14', + 'internalid' => 'f14', + 'value' => $ipsum, + )); + ?> +

+

+ + 'f15', + 'internalid' => 'f15', + 'value' => $ipsum, + )); + ?> +

+
+
+ +
+

Buttons

+

+ 'b1', + 'value' => 'input[type=submit]', + )); + ?> +

+

+ '#', + 'text' => 'a.elgg-submit-button', + 'class' => 'elgg-button elgg-submit-button', + )); + ?> +

+

+ '#', + 'text' => 'submit button disabled', + 'class' => 'elgg-button elgg-submit-button disabled', + )); + ?> +

+

+ 'b3', + 'value' => 'input[type=button]', + )); + ?> +

+

+ '#', + 'text' => 'a.elgg-cancel-button', + 'class' => 'elgg-button elgg-cancel-button', + )); + ?> +

+

+ '#', + 'text' => 'a.elgg-action-button', + 'class' => 'elgg-action-button', + )); + ?> +

+

+ '#', + 'text' => 'action button disabled', + 'class' => 'elgg-action-button disabled', + )); + ?> +

+
+ +
+ + \ No newline at end of file -- cgit v1.2.3