You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by im...@apache.org on 2015/02/15 05:55:31 UTC

[02/10] stratos git commit: inline help support added to tenant and user section

inline help support added to tenant and user section


Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/5de3df4f
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/5de3df4f
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/5de3df4f

Branch: refs/heads/master
Commit: 5de3df4f30c8939cbd9e94d030d40700341c4d94
Parents: 22ddb52
Author: Dakshika Jayathilaka <si...@gmail.com>
Authored: Sun Feb 1 11:22:52 2015 +0530
Committer: Imesh Gunaratne <im...@apache.org>
Committed: Sun Feb 15 10:25:19 2015 +0530

----------------------------------------------------------------------
 .../console/themes/theme0/partials/users_form.hbs       | 12 ++++++++++++
 1 file changed, 12 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/5de3df4f/components/org.apache.stratos.manager.console/console/themes/theme0/partials/users_form.hbs
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/themes/theme0/partials/users_form.hbs b/components/org.apache.stratos.manager.console/console/themes/theme0/partials/users_form.hbs
index 84becfa..7b13618 100644
--- a/components/org.apache.stratos.manager.console/console/themes/theme0/partials/users_form.hbs
+++ b/components/org.apache.stratos.manager.console/console/themes/theme0/partials/users_form.hbs
@@ -329,6 +329,18 @@
                     });
         });//end of deploy button trigger
 
+        //handling inline help
+        $('.help-block').each(function( index ) {
+            if($(this).text() !=''){
+                $(this).parent().find('.control-label').after('<i class="fa fa-question-circle input-help-inline" ></i>');
+            }
+        });
+
+        $('.help-block').hide();
+        $('.fa-question-circle').click(function(){
+            $(this).parent().find('.help-block').toggle();
+        });
+
     });
 
 </script>