From 01029b45d097beedc7c08191a3e6bd9873c55cfe Mon Sep 17 00:00:00 2001 From: pete Date: Mon, 12 Jul 2010 11:09:32 +0000 Subject: Updated ecml and embed with new success/failure for input code. git-svn-id: http://code.elgg.org/elgg/trunk@6697 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/ecml/graphics/url_status.png | Bin 0 -> 2001 bytes mod/ecml/views/default/ecml/admin/css.php | 18 ++++++++++++++++++ mod/ecml/views/default/embed/web_services/content.php | 18 +++++++++++++----- 3 files changed, 31 insertions(+), 5 deletions(-) create mode 100644 mod/ecml/graphics/url_status.png (limited to 'mod/ecml') diff --git a/mod/ecml/graphics/url_status.png b/mod/ecml/graphics/url_status.png new file mode 100644 index 000000000..95c2b5635 Binary files /dev/null and b/mod/ecml/graphics/url_status.png differ diff --git a/mod/ecml/views/default/ecml/admin/css.php b/mod/ecml/views/default/ecml/admin/css.php index 5c70d5242..c51f04a75 100644 --- a/mod/ecml/views/default/ecml/admin/css.php +++ b/mod/ecml/views/default/ecml/admin/css.php @@ -72,6 +72,24 @@ padding:5px; width:auto; } +#web_services_resource { + width:670px; +} +#url_status { + width:30px; + height:30px; + float:right; +} +#url_status.success { + background-image: url(mod/ecml/graphics/url_status.png); + background-repeat: no-repeat; + background-position: left top; +} +#url_status.failure { + background-image: url(mod/ecml/graphics/url_status.png); + background-repeat: no-repeat; + background-position: left bottom; +} #embed_ecml_keyword_help, #ecml_preview { padding:10px; diff --git a/mod/ecml/views/default/embed/web_services/content.php b/mod/ecml/views/default/embed/web_services/content.php index bf7bc10e3..83f8363a7 100644 --- a/mod/ecml/views/default/embed/web_services/content.php +++ b/mod/ecml/views/default/embed/web_services/content.php @@ -45,7 +45,7 @@ $embed = elgg_view('input/button', array( 'internalid' => 'embed_submit', 'type' => 'button', 'value' => elgg_echo('embed:embed'), - 'class' => 'submit_button embed_disabled', + 'class' => 'submit_button disabled', 'disabled' => TRUE )); @@ -56,7 +56,7 @@ echo $keywords_html; echo ""; -echo "
"; +echo "
"; echo "
"; echo "