You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by pr...@apache.org on 2014/04/17 04:43:01 UTC

[21/52] [partial] forking carbon ui bundle in to stratos code base and removing license incompatible JS and packing the new module to carbon runtime, through dropins

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6b1dba58/dependencies/org.wso2.carbon.ui/src/main/resources/web/dialog/css/jqueryui/jqueryui-themeroller.css
----------------------------------------------------------------------
diff --git a/dependencies/org.wso2.carbon.ui/src/main/resources/web/dialog/css/jqueryui/jqueryui-themeroller.css b/dependencies/org.wso2.carbon.ui/src/main/resources/web/dialog/css/jqueryui/jqueryui-themeroller.css
new file mode 100644
index 0000000..19a056b
--- /dev/null
+++ b/dependencies/org.wso2.carbon.ui/src/main/resources/web/dialog/css/jqueryui/jqueryui-themeroller.css
@@ -0,0 +1,856 @@
+/*
+ * jQuery UI screen structure and presentation
+ * This CSS file was generated by ThemeRoller, a Filament Group Project for jQuery UI
+ * Author: Scott Jehl, scott@filamentgroup.com, http://www.filamentgroup.com
+ * Visit ThemeRoller.com
+*/
+
+/*
+ * Note: If your ThemeRoller settings have a font size set in ems, your components will scale according to their parent element's font size.
+ * As a rule of thumb, set your body's font size to 62.5% to make 1em = 10px.
+ * body {font-size: 62.5%;}
+*/
+
+
+
+/*UI accordion*/
+.ui-accordion {
+	/*resets*/margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none;
+	font-family: Verdana, Arial, sans-serif;
+	font-size: 1.1em;
+	border-bottom: 1px solid #d3d3d3;
+}
+.ui-accordion-group {
+	/*resets*/margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none;
+	border: 1px solid #d3d3d3;
+	border-bottom: none;
+}
+.ui-accordion-header {
+	/*resets*/margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none;
+	cursor: pointer;
+	background: #e6e6e6 url(images/e6e6e6_40x100_textures_02_glass_75.png) 0 50% repeat-x;
+}
+.ui-accordion-header a {
+	/*resets*/margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none;
+	display: block;
+	font-size: 1em;
+	font-weight: normal;
+	text-decoration: none;
+	padding: .5em .5em .5em 1.7em;
+	color: #555555;
+	background: url(images/888888_7x7_arrow_right.gif) .5em 50% no-repeat;
+}
+.ui-accordion-header a:hover {
+	background: url(images/454545_7x7_arrow_right.gif) .5em 50% no-repeat;
+	color: #212121;
+}
+.ui-accordion-header:hover {
+	background: #dadada url(images/dadada_40x100_textures_02_glass_75.png) 0 50% repeat-x;
+	color: #212121;
+}
+.selected .ui-accordion-header, .selected .ui-accordion-header:hover {
+	background: #ffffff url(images/ffffff_40x100_textures_02_glass_65.png) 0 50% repeat-x;
+}
+.selected .ui-accordion-header a, .selected .ui-accordion-header a:hover {
+	color: #222222;
+	background: url(images/222222_7x7_arrow_down.gif) .5em 50% no-repeat;
+}
+.ui-accordion-content {
+	background: #ffffff url(images/ffffff_40x100_textures_01_flat_0.png) 0 0 repeat-x;
+	color: #222222;
+	font-size: 1em;
+}
+.ui-accordion-content p {
+	padding: 1em 1.7em 0.6em;
+}
+
+
+
+
+
+
+/*UI tabs*/
+.ui-tabs-nav {
+	/*resets*/margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none;
+	/*font-family: Verdana, Arial, sans-serif;*/
+	/*font-size: 1.1em;*/
+	float: left;
+	position: relative;
+	z-index: 1;
+	border-right: 1px solid #d3d3d3;
+	bottom: -1px;
+}
+.ui-tabs-nav li {
+	/*resets*/margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none;
+	float: left;
+	border: 1px solid #d3d3d3;
+	border-right: none;
+}
+.ui-tabs-nav li a {
+	/*resets*/margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none;
+	float: left;
+	/*font-size: 1em;*/
+	font-weight: normal;
+	text-decoration: none;
+	padding: .5em 1.7em;
+	color: #555555;
+	background: #e6e6e6 url(images/e6e6e6_40x100_textures_02_glass_75.png) 0 50% repeat-x;
+}
+.ui-tabs-nav li a:hover {
+	background: #dadada url(images/dadada_40x100_textures_02_glass_75.png) 0 50% repeat-x;
+	color: #212121;
+}
+.ui-tabs-nav li.ui-tabs-selected {
+	border-bottom-color: #ffffff;
+}
+.ui-tabs-nav li.ui-tabs-selected a, .ui-tabs-nav li.ui-tabs-selected a:hover {
+	background: #ffffff url(images/ffffff_40x100_textures_02_glass_65.png) 0 50% repeat-x;
+	color: #222222;
+}
+.ui-tabs-panel {
+	/*resets*/margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none;
+	/*font-family: Verdana, Arial, sans-serif;*/
+	clear:left;
+	border: 1px solid #d3d3d3;
+	background: #ffffff url(images/ffffff_40x100_textures_01_flat_0.png) 0 0 repeat-x;
+	color: #222222;
+	padding: 1.5em 1.7em;	
+}
+.ui-tabs-hide {
+	display: none;/* for accessible hiding: position: absolute; left: -99999999px*/;
+}
+
+
+
+
+
+/*slider*/
+.ui-slider {
+	/*resets*/margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none;
+	font-family: Verdana, Arial, sans-serif;
+	font-size: 1.1em;
+	background: #ffffff url(images/ffffff_40x100_textures_01_flat_0.png) 0 0 repeat-x;
+	border: 1px solid #dddddd;
+	height: .8em;
+	position: relative;
+}
+.ui-slider-handle {
+	/*resets*/margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none;
+	position: absolute;
+	z-index: 2;
+	top: -3px;
+	width: 1.2em;
+	height: 1.2em;
+	background: #e6e6e6 url(images/e6e6e6_40x100_textures_02_glass_75.png) 0 50% repeat-x;
+	border: 1px solid #d3d3d3;
+}
+.ui-slider-handle:hover {
+	background: #dadada url(images/dadada_40x100_textures_02_glass_75.png) 0 50% repeat-x;
+	border: 1px solid #999999;
+}
+.ui-slider-handle-active, .ui-slider-handle-active:hover {
+	background: #ffffff url(images/ffffff_40x100_textures_02_glass_65.png) 0 50% repeat-x;
+	border: 1px solid #dddddd;
+}
+.ui-slider-range {
+	/*resets*/margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none;
+	height: .8em;
+	background: #dadada url(images/dadada_40x100_textures_02_glass_75.png) 0 50% repeat-x;
+	position: absolute;
+	border: 1px solid #d3d3d3;
+	border-left: 0;
+	border-right: 0;
+	top: -1px;
+	z-index: 1;
+	opacity:.7;
+	filter:Alpha(Opacity=70);
+}
+
+
+
+
+
+
+/*dialog*/
+.ui-dialog {
+	/*resets*/margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none;
+	font-family: Verdana, Arial, sans-serif;
+	font-size: 10px;
+	background: #ffffff url(images/ffffff_40x100_textures_01_flat_0.png) 0 0 repeat-x;
+	color: #222222;
+	border: 4px solid #dddddd;
+	position: relative;
+}
+.ui-resizable-handle {
+	position: absolute;
+	font-size: 0.1px;
+	z-index: 99999;
+}
+.ui-resizable .ui-resizable-handle {
+	display: block; 
+}
+body .ui-resizable-disabled .ui-resizable-handle { display: none; } /* use 'body' to make it more specific (css order) */
+body .ui-resizable-autohide .ui-resizable-handle { display: none; } /* use 'body' to make it more specific (css order) */
+.ui-resizable-n { 
+	cursor: n-resize; 
+	height: 7px; 
+	width: 100%; 
+	top: -5px; 
+	left: 0px;  
+}
+.ui-resizable-s { 
+	cursor: s-resize; 
+	height: 7px; 
+	width: 100%; 
+	bottom: -5px; 
+	left: 0px; 
+}
+.ui-resizable-e { 
+	cursor: e-resize; 
+	width: 7px; 
+	right: -5px; 
+	top: 0px; 
+	height: 100%; 
+}
+.ui-resizable-w { 
+	cursor: w-resize; 
+	width: 7px; 
+	left: -5px; 
+	top: 0px; 
+	height: 100%;
+}
+.ui-resizable-se { 
+	cursor: se-resize; 
+	width: 13px; 
+	height: 13px; 
+	right: 0px; 
+	bottom: 0px; 
+	background: url(images/222222_11x11_icon_resize_se.gif) no-repeat 0 0;
+}
+.ui-resizable-sw { 
+	cursor: sw-resize; 
+	width: 9px; 
+	height: 9px; 
+	left: 0px; 
+	bottom: 0px;  
+}
+.ui-resizable-nw { 
+	cursor: nw-resize; 
+	width: 9px; 
+	height: 9px; 
+	left: 0px; 
+	top: 0px; 
+}
+.ui-resizable-ne { 
+	cursor: ne-resize; 
+	width: 9px; 
+	height: 9px; 
+	right: 0px; 
+	top: 0px; 
+}
+.ui-dialog-titlebar {
+	/*resets*/margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 10px; list-style: none;
+	padding: .5em 1.5em .5em 1em;
+	color: #555555;
+	background: #e6e6e6 url(images/e6e6e6_40x100_textures_02_glass_75.png) 0 50% repeat-x;
+	border-bottom: 1px solid #d3d3d3;
+	font-size: 10px;
+	font-weight: normal;
+	position: relative;
+}
+.ui-dialog-title {}
+.ui-dialog-titlebar-close {
+	/*resets*/margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 10px; list-style: none;
+	background: url(images/888888_11x11_icon_close.gif) 0 0 no-repeat;
+	position: absolute;
+	right: 8px;
+	top: .7em;
+	width: 11px;
+	height: 11px;
+	z-index: 100;
+}
+.ui-dialog-titlebar-close-hover, .ui-dialog-titlebar-close:hover {
+	background: url(images/454545_11x11_icon_close.gif) 0 0 no-repeat;
+}
+.ui-dialog-titlebar-close:active {
+	background: url(images/222222_11x11_icon_close.gif) 0 0 no-repeat;
+}
+.ui-dialog-titlebar-close span {
+	display: none;
+}
+.ui-dialog-content {
+	/*resets*/margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 11px; list-style: none;
+	color: #222222;
+	padding: 1.5em 1.7em;	
+}
+.ui-dialog-buttonpane {
+	position: absolute;
+	bottom: 0;
+	width: 100%;
+	text-align: left;
+	border-top: 1px solid #dddddd;
+	background: #ffffff;
+}
+.ui-dialog-buttonpane button {
+	margin: .5em 0 .5em 8px;
+	color: #555555;
+	background: #e6e6e6 url(images/e6e6e6_40x100_textures_02_glass_75.png) 0 50% repeat-x;
+	font-size: 10px;
+	border: 1px solid #d3d3d3;
+	cursor: pointer;
+	padding: .2em .6em .3em .6em;
+	line-height: 1.4em;
+}
+.ui-dialog-buttonpane button:hover {
+	color: #212121;
+	background: #dadada url(images/dadada_40x100_textures_02_glass_75.png) 0 50% repeat-x;
+	border: 1px solid #999999;
+}
+.ui-dialog-buttonpane button:active {
+	color: #222222;
+	background: #ffffff url(images/ffffff_40x100_textures_02_glass_65.png) 0 50% repeat-x;
+	border: 1px solid #dddddd;
+}
+/* This file skins dialog */
+.ui-dialog.ui-draggable .ui-dialog-titlebar,
+.ui-dialog.ui-draggable .ui-dialog-titlebar {
+	cursor: move;
+}
+
+
+
+
+
+
+
+/*datepicker*/
+/* Main Style Sheet for jQuery UI date picker */
+.ui-datepicker-div, .ui-datepicker-inline, #ui-datepicker-div {
+	/*resets*/margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none;
+	font-family: Verdana, Arial, sans-serif;
+	background: #ffffff url(images/ffffff_40x100_textures_01_flat_0.png) 0 0 repeat-x;
+	font-size: 1.1em;
+	border: 4px solid #dddddd;
+	width: 15.5em;
+	padding: 2.5em .5em .5em .5em;
+	position: relative;
+}
+.ui-datepicker-div, #ui-datepicker-div {
+	z-index: 9999; /*must have*/
+	display: none;
+}
+.ui-datepicker-inline {
+	float: left;
+	display: block;
+}
+.ui-datepicker-control {
+	display: none;
+}
+.ui-datepicker-current {
+	display: none;
+}
+.ui-datepicker-next, .ui-datepicker-prev {
+	position: absolute;
+	left: .5em;
+	top: .5em;
+	background: #e6e6e6 url(images/e6e6e6_40x100_textures_02_glass_75.png) 0 50% repeat-x;
+}
+.ui-datepicker-next {
+	left: 14.6em;
+}
+.ui-datepicker-next:hover, .ui-datepicker-prev:hover {
+	background: #dadada url(images/dadada_40x100_textures_02_glass_75.png) 0 50% repeat-x;
+}
+.ui-datepicker-next a, .ui-datepicker-prev a {
+	text-indent: -999999px;
+	width: 1.3em;
+	height: 1.4em;
+	display: block;
+	font-size: 1em;
+	background: url(images/888888_7x7_arrow_left.gif) 50% 50% no-repeat;
+	border: 1px solid #d3d3d3;
+	cursor: pointer;
+}
+.ui-datepicker-next a {
+	background: url(images/888888_7x7_arrow_right.gif) 50% 50% no-repeat;
+}
+.ui-datepicker-prev a:hover {
+	background: url(images/454545_7x7_arrow_left.gif) 50% 50% no-repeat;
+}
+.ui-datepicker-next a:hover {
+	background: url(images/454545_7x7_arrow_right.gif) 50% 50% no-repeat;
+}
+.ui-datepicker-prev a:active {
+	background: url(images/222222_7x7_arrow_left.gif) 50% 50% no-repeat;
+}
+.ui-datepicker-next a:active {
+	background: url(images/222222_7x7_arrow_right.gif) 50% 50% no-repeat;
+}
+.ui-datepicker-header select {
+	border: 1px solid #d3d3d3;
+	color: #555555;
+	background: #e6e6e6;
+	font-size: 1em;
+	line-height: 1.4em;
+	position: absolute;
+	top: .5em;
+	margin: 0 !important;
+}
+.ui-datepicker-header option:focus, .ui-datepicker-header option:hover {
+	background: #dadada;
+}
+.ui-datepicker-header select.ui-datepicker-new-month {
+	width: 7em;
+	left: 2.2em;
+}
+.ui-datepicker-header select.ui-datepicker-new-year {
+	width: 5em;
+	left: 9.4em;
+}
+table.ui-datepicker {
+	width: 15.5em;
+	text-align: right;
+}
+table.ui-datepicker td a {
+	padding: .1em .3em .1em 0;
+	display: block;
+	color: #555555;
+	background: #e6e6e6 url(images/e6e6e6_40x100_textures_02_glass_75.png) 0 50% repeat-x;
+	cursor: pointer;
+	border: 1px solid #ffffff;
+}
+table.ui-datepicker td a:hover {
+	border: 1px solid #999999;
+	color: #212121;
+	background: #dadada url(images/dadada_40x100_textures_02_glass_75.png) 0 50% repeat-x;
+}
+table.ui-datepicker td a:active {
+	border: 1px solid #dddddd;
+	color: #222222;
+	background: #ffffff url(images/ffffff_40x100_textures_02_glass_65.png) 0 50% repeat-x;
+}
+table.ui-datepicker .ui-datepicker-title-row td {
+	padding: .3em 0;
+	text-align: center;
+	font-size: .9em;
+	color: #222222;
+	text-transform: uppercase;
+}
+table.ui-datepicker .ui-datepicker-title-row td a {
+	color: #222222;
+}
+.ui-datepicker-cover {
+	display: none;
+	display/**/: block;
+	position: absolute;
+	z-index: -1;
+	filter: mask();
+	top: -4px;
+	left: -4px;
+	width: 193px;
+	height: 200px;
+}
+
+
+
+
+
+
+
+
+
+
+
+/* ui-autocomplete */
+/*
+.ui-autocomplete-input {
+	border: 1px solid #dddddd;
+	color: #222222;
+	background: #ffffff;
+}
+*/
+.ui-autocomplete-results {
+	/*resets*/margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none;
+	font-family: Verdana, Arial, sans-serif;
+	font-size: 1.1em;
+	z-index: 9999;	
+}
+.ui-autocomplete-results ul, .ui-autocomplete-results li {
+	margin: 0; 
+	padding: 0; 
+	list-style: none;
+}
+.ui-autocomplete-results ul {
+	border: 1px solid #dddddd;
+	background: #ffffff url(images/ffffff_40x100_textures_01_flat_0.png) 0 0 repeat-x;
+	border-top: 0;
+	border-bottom: 0;
+	margin-bottom: -1px;
+}
+.ui-autocomplete-results li {
+	color: #222222;
+	padding: .4em .5em;
+	font-size: 1em;
+	font-weight: normal;
+	position: relative;
+	margin: 1px 0;
+}
+.ui-autocomplete-results li.ui-hover-state, .ui-autocomplete-results li.ui-active-state {
+	margin: 0;
+}
+
+.ui-autocomplete-results li.ui-autocomplete-over {
+	border-top: 1px solid #999999;
+	border-bottom: 1px solid #999999;
+	background: #dadada url(images/dadada_40x100_textures_02_glass_75.png) 0 50% repeat-x;
+	color: #212121 !important;
+}
+.ui-autocomplete-results li.ui-autocomplete-active {
+	border-top: 1px solid #dddddd;
+	border-bottom: 1px solid #dddddd;
+	background: #ffffff url(images/ffffff_40x100_textures_02_glass_65.png) 0 50% repeat-x;
+	color: #222222 !important;
+	outline: none;
+}
+.ui-autocomplete-results li:first-child, .ui-autocomplete-results li.first  {
+	margin-top: 0;
+}
+.ui-autocomplete-results li:last-child, .ui-autocomplete-results li.last {
+	margin-bottom: 0;
+}
+
+
+
+
+
+
+
+
+
+
+
+/*UI ProgressBar */
+.ui-progressbar {
+	/*resets*/margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none;
+	font-family: Verdana, Arial, sans-serif;
+	font-size: 1.1em;
+	background: #ffffff url(images/ffffff_40x100_textures_01_flat_0.png) 0 0 repeat-x;
+	border: 1px solid #dddddd;
+	position: relative;
+	height: 1.8em;
+}
+.ui-progressbar-bar {
+	background: #e6e6e6 url(images/e6e6e6_40x100_textures_02_glass_75.png) 0 50% repeat-x;
+	overflow: hidden;
+	border: 1px solid #d3d3d3;
+	margin:-1px;
+	z-index: 2;
+	position: relative;
+	height: 1.8em;
+	opacity:.7;
+	filter:Alpha(Opacity=70);
+}
+.ui-progressbar-wrap {
+	position: absolute;
+	top: 0;
+	left: 0;
+}
+.ui-progressbar-text {
+	color: #555555;
+	padding: .2em .5em;
+	font-weight: normal;
+	position: absolute;
+	top: 0;
+	left: 0;
+}
+.ui-progressbar-text-back {
+	color:  #222222;
+	z-index: 0;
+}
+.ui-progressbar-disabled {
+	opacity:.5;
+	filter:Alpha(Opacity=50);
+}
+
+
+
+
+
+
+/*UI Colorpicker */
+.ui-colorpicker {
+	/*resets*/margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none;
+	font-family: Verdana, Arial, sans-serif;
+	font-size: 1.1em;
+	background: #ffffff url(images/ffffff_40x100_textures_01_flat_0.png) 0 0 repeat-x;
+	border: 4px solid #dddddd;
+	padding: 5px;
+	width: 360px;
+	position: relative;
+}
+.ui-colorpicker-color {
+	float: left;
+	width: 150px;
+	height: 150px;
+	margin-right: 15px;
+}
+.ui-colorpicker-color div { /* is this extra div needed? why not just .ui-colorpicker-color ? */
+	border: 1px solid #d3d3d3;
+	height: 150px;
+	background: url(images/_x_.);
+	position: relative;
+}
+.ui-colorpicker-color div div {/* shouldn't this have a class like ui-colorpicker-selector ? */
+	width: 11px;
+	height: 11px;
+	background: url(images/_x_.);
+	position: absolute;
+	border: 0;
+	margin: -5px 0 0 -5px;
+	float: none;
+}
+.ui-colorpicker-hue {
+	border: 1px solid #d3d3d3;
+	float: left;
+	width: 17px;
+	height: 150px;
+	background: url(images/_x_.);
+	position: relative;
+	margin-right: 15px;
+}
+.ui-colorpicker-hue div {
+	background:transparent url(images/222222_35x9_colorpicker_indicator.gif.gif); 
+	height:9px;
+	left:-9px;
+	margin:-4px 0 0;
+	position:absolute;
+	width:35px;
+	cursor: ns-resize;
+}
+.ui-colorpicker-new-color, .ui-colorpicker-current-color {
+	float: left;
+	width: 6.5em;
+	height: 30px;
+	border: 1px solid #d3d3d3;
+	margin-right: 5px;
+}
+.ui-colorpicker-current-color {
+	margin-right: 0;
+}
+
+.ui-colorpicker-field, .ui-colorpicker-hex {
+	position: absolute;
+	width: 6em;
+}
+.ui-colorpicker-field label, .ui-colorpicker-field input,
+.ui-colorpicker-hex label, .ui-colorpicker-hex input {
+	font-size: 1em;
+	color: #222222;
+}
+.ui-colorpicker-field label, .ui-colorpicker-hex label {
+	width: 1em;
+	margin-right: .3em;
+}
+.ui-colorpicker-field input, .ui-colorpicker-hex input {
+	border: 1px solid #dddddd;
+	color: #222222;
+	background: #ffffff;
+	width: 4.6em;
+}
+.ui-colorpicker-hex {
+	left: 205px;
+	top: 134px;
+}
+.ui-colorpicker-rgb-r {
+	top: 52px;
+	left: 205px;
+}
+.ui-colorpicker-rgb-g {
+	top: 78px;
+	left: 205px;
+}
+.ui-colorpicker-rgb-b {
+	top: 105px;
+	left: 205px;
+}
+.ui-colorpicker-hsb-h {
+	top: 52px;
+	left: 290px;
+}
+.ui-colorpicker-hsb-s {
+	top: 78px;
+	left: 290px;
+}
+.ui-colorpicker-hsb-b {
+	top: 105px;
+	left: 290px;
+}
+
+.ui-colorpicker-field label {
+	font-weight: normal;
+}
+.ui-colorpicker-field span {
+	width: 7px;
+	background: url(images/888888_11x11_icon_arrows_updown.gif) 50% 50% no-repeat;
+	right: 5px;
+	top: 0;
+	height: 20px;
+	position: absolute;
+}
+.ui-colorpicker-field span:hover {
+	background: url(images/454545_11x11_icon_arrows_updown.gif) 50% 50% no-repeat;
+}
+
+.ui-colorpicker-submit {
+	right: 14px;
+	top: 134px;
+	position: absolute;
+}
+
+
+
+
+
+
+
+
+/*
+Generic ThemeRoller Classes
+>> Make your jQuery Components ThemeRoller-Compatible!
+*/
+
+/*component global class*/
+.ui-component {
+	/*resets*/margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none;
+	font-family: Verdana, Arial, sans-serif;
+	font-size: 1.1em;
+}
+/*component content styles*/
+.ui-component-content {
+	border: 1px solid #dddddd;
+	background: #ffffff url(images/ffffff_40x100_textures_01_flat_0.png) 0 0 repeat-x;
+	color: #222222;
+}
+.ui-component-content a {
+	color: #222222;
+	text-decoration: underline;
+}
+/*component states*/
+.ui-default-state {
+	border: 1px solid #d3d3d3;
+	background: #e6e6e6 url(images/e6e6e6_40x100_textures_02_glass_75.png) 0 50% repeat-x;
+	font-weight: normal;
+	color: #555555 !important;
+}
+.ui-default-state a {
+	color: #555555;
+}
+.ui-default-state:hover, .ui-hover-state {
+	border: 1px solid #999999;
+	background: #dadada url(images/dadada_40x100_textures_02_glass_75.png) 0 50% repeat-x;
+	font-weight: normal;
+	color: #212121 !important;
+}
+.ui-hover-state a {
+	color: #212121;
+}
+.ui-default-state:active, .ui-active-state {
+	border: 1px solid #dddddd;
+	background: #ffffff url(images/ffffff_40x100_textures_02_glass_65.png) 0 50% repeat-x;
+	font-weight: normal;
+	color: #222222 !important;
+	outline: none;
+}
+.ui-active-state a {
+	color: #222222;
+	outline: none;
+}
+/*icons*/
+.ui-arrow-right-default {background: url(images/888888_7x7_arrow_right.gif) no-repeat 50% 50%;}
+.ui-arrow-right-default:hover, .ui-arrow-right-hover {background: url(images/454545_7x7_arrow_right.gif) no-repeat 50% 50%;}
+.ui-arrow-right-default:active, .ui-arrow-right-active {background: url(images/222222_7x7_arrow_right.gif) no-repeat 50% 50%;}
+.ui-arrow-right-content {background: url(images/222222_7x7_arrow_right.gif) no-repeat 50% 50%;}
+
+.ui-arrow-left-default {background: url(images/888888_7x7_arrow_left.gif) no-repeat 50% 50%;}
+.ui-arrow-left-default:hover, .ui-arrow-left-hover {background: url(images/454545_7x7_arrow_left.gif) no-repeat 50% 50%;}
+.ui-arrow-left-default:active, .ui-arrow-left-active {background: url(images/222222_7x7_arrow_left.gif) no-repeat 50% 50%;}
+.ui-arrow-left-content {background: url(images/222222_7x7_arrow_left.gif) no-repeat 50% 50%;}
+
+.ui-arrow-down-default {background: url(images/888888_7x7_arrow_down.gif) no-repeat 50% 50%;}
+.ui-arrow-down-default:hover, .ui-arrow-down-hover {background: url(images/454545_7x7_arrow_down.gif) no-repeat 50% 50%;}
+.ui-arrow-down-default:active, .ui-arrow-down-active {background: url(images/222222_7x7_arrow_down.gif) no-repeat 50% 50%;}
+.ui-arrow-down-content {background: url(images/222222_7x7_arrow_down.gif) no-repeat 50% 50%;}
+
+.ui-arrow-up-default {background: url(images/888888_7x7_arrow_up.gif) no-repeat 50% 50%;}
+.ui-arrow-up-default:hover, .ui-arrow-up-hover {background: url(images/454545_7x7_arrow_up.gif) no-repeat 50% 50%;}
+.ui-arrow-up-default:active, .ui-arrow-up-active {background: url(images/222222_7x7_arrow_up.gif) no-repeat 50% 50%;}
+.ui-arrow-up-content {background: url(images/222222_7x7_arrow_up.gif) no-repeat 50% 50%;}
+
+.ui-close-default {background: url(images/888888_11x11_icon_close.gif) no-repeat 50% 50%;}
+.ui-close-default:hover, .ui-close-hover {background: url(images/454545_11x11_icon_close.gif) no-repeat 50% 50%;}
+.ui-close-default:active, .ui-close-active {background: url(images/222222_11x11_icon_close.gif) no-repeat 50% 50%;}
+.ui-close-content {background: url(images/222222_11x11_icon_close.gif) no-repeat 50% 50%;}
+
+.ui-folder-closed-default {background: url(images/888888_11x11_icon_folder_closed.gif) no-repeat 50% 50%;}
+.ui-folder-closed-default:hover, .ui-folder-closed-hover {background: url(images/454545_11x11_icon_folder_closed.gif) no-repeat 50% 50%;}
+.ui-folder-closed-default:active, .ui-folder-closed-active {background: url(images/222222_11x11_icon_folder_closed.gif) no-repeat 50% 50%;}
+.ui-folder-closed-content {background: url(images/888888_11x11_icon_folder_closed.gif) no-repeat 50% 50%;}
+
+.ui-folder-open-default {background: url(images/888888_11x11_icon_folder_open.gif) no-repeat 50% 50%;}
+.ui-folder-open-default:hover, .ui-folder-open-hover {background: url(images/454545_11x11_icon_folder_open.gif) no-repeat 50% 50%;}
+.ui-folder-open-default:active, .ui-folder-open-active {background: url(images/222222_11x11_icon_folder_open.gif) no-repeat 50% 50%;}
+.ui-folder-open-content {background: url(images/222222_11x11_icon_folder_open.gif) no-repeat 50% 50%;}
+
+.ui-doc-default {background: url(images/888888_11x11_icon_doc.gif) no-repeat 50% 50%;}
+.ui-doc-default:hover, .ui-doc-hover {background: url(images/454545_11x11_icon_doc.gif) no-repeat 50% 50%;}
+.ui-doc-default:active, .ui-doc-active {background: url(images/222222_11x11_icon_doc.gif) no-repeat 50% 50%;}
+.ui-doc-content {background: url(images/222222_11x11_icon_doc.gif) no-repeat 50% 50%;}
+
+.ui-arrows-leftright-default {background: url(images/888888_11x11_icon_arrows_leftright.gif) no-repeat 50% 50%;}
+.ui-arrows-leftright-default:hover, .ui-arrows-leftright-hover {background: url(images/454545_11x11_icon_arrows_leftright.gif) no-repeat 50% 50%;}
+.ui-arrows-leftright-default:active, .ui-arrows-leftright-active {background: url(images/222222_11x11_icon_arrows_leftright.gif) no-repeat 50% 50%;}
+.ui-arrows-leftright-content {background: url(images/222222_11x11_icon_arrows_leftright.gif) no-repeat 50% 50%;}
+
+.ui-arrows-updown-default {background: url(images/888888_11x11_icon_arrows_updown.gif) no-repeat 50% 50%;}
+.ui-arrows-updown-default:hover, .ui-arrows-updown-hover {background: url(images/454545_11x11_icon_arrows_updown.gif) no-repeat 50% 50%;}
+.ui-arrows-updown-default:active, .ui-arrows-updown-active {background: url(images/222222_11x11_icon_arrows_updown.gif) no-repeat 50% 50%;}
+.ui-arrows-updown-content {background: url(images/222222_11x11_icon_arrows_updown.gif) no-repeat 50% 50%;}
+
+.ui-minus-default {background: url(images/888888_11x11_icon_minus.gif) no-repeat 50% 50%;}
+.ui-minus-default:hover, .ui-minus-hover {background: url(images/454545_11x11_icon_minus.gif) no-repeat 50% 50%;}
+.ui-minus-default:active, .ui-minus-active {background: url(images/222222_11x11_icon_minus.gif) no-repeat 50% 50%;}
+.ui-minus-content {background: url(images/222222_11x11_icon_minus.gif) no-repeat 50% 50%;}
+
+.ui-plus-default {background: url(images/888888_11x11_icon_plus.gif) no-repeat 50% 50%;}
+.ui-plus-default:hover, .ui-plus-hover {background: url(images/454545_11x11_icon_plus.gif) no-repeat 50% 50%;}
+.ui-plus-default:active, .ui-plus-active {background: url(images/222222_11x11_icon_plus.gif) no-repeat 50% 50%;}
+.ui-plus-content {background: url(images/222222_11x11_icon_plus.gif) no-repeat 50% 50%;}
+
+/*hidden elements*/
+.ui-hidden {
+	display: none;/* for accessible hiding: position: absolute; left: -99999999px*/;
+}
+.ui-accessible-hidden {
+	 position: absolute; left: -99999999px;
+}
+/*reset styles*/
+.ui-reset {
+	/*resets*/margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none;
+}
+/*clearfix class*/
+.ui-clearfix:after {
+    content: "."; 
+    display: block; 
+    height: 0; 
+    clear: both; 
+    visibility: hidden;
+}
+.ui-clearfix {display: inline-block;}
+/* Hides from IE-mac \*/
+* html .ui-clearfix {height: 1%;}
+.ui-clearfix {display: block;}
+/* End hide from IE-mac */
+
+/* Note: for resizable styles, use the styles listed above in the dialog section */
+
+

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6b1dba58/dependencies/org.wso2.carbon.ui/src/main/resources/web/dialog/display_messages.jsp
----------------------------------------------------------------------
diff --git a/dependencies/org.wso2.carbon.ui/src/main/resources/web/dialog/display_messages.jsp b/dependencies/org.wso2.carbon.ui/src/main/resources/web/dialog/display_messages.jsp
new file mode 100644
index 0000000..84def3a
--- /dev/null
+++ b/dependencies/org.wso2.carbon.ui/src/main/resources/web/dialog/display_messages.jsp
@@ -0,0 +1,90 @@
+<%--
+ Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
+
+ WSO2 Inc. licenses this file to you under the Apache License,
+ Version 2.0 (the "License"); you may not use this file except
+ in compliance with the License.
+ You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ --%>
+<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
+<%@ page import="org.wso2.carbon.ui.CarbonUIMessage" %>
+<%@ page import="org.wso2.carbon.ui.util.CharacterEncoder" %>
+
+<script type="text/javascript">
+    var msgId;
+    <%
+    if(CharacterEncoder.getSafeText(request.getParameter("msgId")) == null){
+    %>
+    msgId = '<%="MSG" + System.currentTimeMillis() + Math.random()%>';
+    <%
+    } else {
+    %>
+    msgId = '<%=CharacterEncoder.getSafeText(request.getParameter("msgId"))%>';
+    <%
+    }
+    %>
+</script>
+
+<%
+    //First checks whether there is a CarbonUIMessage in the request
+    CarbonUIMessage carbonMessage = (CarbonUIMessage) session.getAttribute(CarbonUIMessage.ID);
+
+    if(carbonMessage == null){
+        carbonMessage = (CarbonUIMessage) request.getAttribute(CarbonUIMessage.ID);
+    } else {
+        session.removeAttribute(CarbonUIMessage.ID);
+    }
+
+    if (carbonMessage != null) {
+        String message = carbonMessage.getMessage();
+        String messageType = carbonMessage.getMessageType();
+        if (message == null || message.equals("") || messageType == null) {
+        } else {
+            if (messageType.equals(CarbonUIMessage.INFO)) {
+%>
+            <script type="text/javascript">
+                jQuery(document).ready(function() {
+                    if (getCookie(msgId) == null) {
+                        CARBON.showInfoDialog("<%= carbonMessage.getMessage()%>");
+                        setCookie(msgId, 'true');
+                    }                    
+                });
+
+            </script>
+<%
+            } else if (messageType.equals(CarbonUIMessage.WARNING)) {
+%>
+            <script type="text/javascript">
+                jQuery(document).ready(function() {
+                    if (getCookie(msgId) == null) {
+                        CARBON.showWarningDialog("<%= carbonMessage.getMessage()%>");
+                        setCookie(msgId, 'true');
+                    }
+                });
+            </script>
+<%
+            } else if (messageType.equals(CarbonUIMessage.ERROR)) {
+%>
+            <script type="text/javascript">
+                jQuery(document).ready(function() {
+                    if (getCookie(msgId) == null) {
+                        CARBON.showErrorDialog("<%= carbonMessage.getMessage()%>");
+                        setCookie(msgId, 'true');
+                    }
+                });
+            </script>
+<%
+            }
+        }
+    }
+%>
+

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6b1dba58/dependencies/org.wso2.carbon.ui/src/main/resources/web/dialog/img/confirm.gif
----------------------------------------------------------------------
diff --git a/dependencies/org.wso2.carbon.ui/src/main/resources/web/dialog/img/confirm.gif b/dependencies/org.wso2.carbon.ui/src/main/resources/web/dialog/img/confirm.gif
new file mode 100644
index 0000000..6c719b3
Binary files /dev/null and b/dependencies/org.wso2.carbon.ui/src/main/resources/web/dialog/img/confirm.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6b1dba58/dependencies/org.wso2.carbon.ui/src/main/resources/web/dialog/img/error.gif
----------------------------------------------------------------------
diff --git a/dependencies/org.wso2.carbon.ui/src/main/resources/web/dialog/img/error.gif b/dependencies/org.wso2.carbon.ui/src/main/resources/web/dialog/img/error.gif
new file mode 100644
index 0000000..b8da205
Binary files /dev/null and b/dependencies/org.wso2.carbon.ui/src/main/resources/web/dialog/img/error.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6b1dba58/dependencies/org.wso2.carbon.ui/src/main/resources/web/dialog/img/info.gif
----------------------------------------------------------------------
diff --git a/dependencies/org.wso2.carbon.ui/src/main/resources/web/dialog/img/info.gif b/dependencies/org.wso2.carbon.ui/src/main/resources/web/dialog/img/info.gif
new file mode 100644
index 0000000..31ecb4e
Binary files /dev/null and b/dependencies/org.wso2.carbon.ui/src/main/resources/web/dialog/img/info.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6b1dba58/dependencies/org.wso2.carbon.ui/src/main/resources/web/dialog/img/overlay.png
----------------------------------------------------------------------
diff --git a/dependencies/org.wso2.carbon.ui/src/main/resources/web/dialog/img/overlay.png b/dependencies/org.wso2.carbon.ui/src/main/resources/web/dialog/img/overlay.png
new file mode 100644
index 0000000..e33524e
Binary files /dev/null and b/dependencies/org.wso2.carbon.ui/src/main/resources/web/dialog/img/overlay.png differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6b1dba58/dependencies/org.wso2.carbon.ui/src/main/resources/web/dialog/img/warning.gif
----------------------------------------------------------------------
diff --git a/dependencies/org.wso2.carbon.ui/src/main/resources/web/dialog/img/warning.gif b/dependencies/org.wso2.carbon.ui/src/main/resources/web/dialog/img/warning.gif
new file mode 100644
index 0000000..b4ba52f
Binary files /dev/null and b/dependencies/org.wso2.carbon.ui/src/main/resources/web/dialog/img/warning.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/6b1dba58/dependencies/org.wso2.carbon.ui/src/main/resources/web/dialog/js/dialog.js
----------------------------------------------------------------------
diff --git a/dependencies/org.wso2.carbon.ui/src/main/resources/web/dialog/js/dialog.js b/dependencies/org.wso2.carbon.ui/src/main/resources/web/dialog/js/dialog.js
new file mode 100644
index 0000000..efa834f
--- /dev/null
+++ b/dependencies/org.wso2.carbon.ui/src/main/resources/web/dialog/js/dialog.js
@@ -0,0 +1,369 @@
+if (typeof CARBON == "undefined" || CARBON) {
+    /**
+     * The CARBON global namespace object. If CARBON is already defined, the
+     * existing CARBON object will not be overwirrten so that defined
+     * namespaces are preserved
+     */
+    var CARBON = {};
+}
+
+var pageLoaded = false;
+
+jQuery(document).ready(function() {
+    pageLoaded = true;
+});
+
+/**
+ * Display the Warning Message inside a jQuery UI's dialog widget.
+ * @method showWarningDialog
+ * @param {String} message to display
+ * @return {Boolean}
+ */
+CARBON.showWarningDialog = function(message, callback, closeCallback) {
+    var strDialog = "<div id='dialog' title='WSO2 Carbon'><div id='messagebox-warning'><p>" +
+                    message + "</p></div></div>";
+    //var strDialog = "<div id='dialog' title='WSO2 Carbon'><div id='messagebox'><img src='img/warning.gif'/><p>" +
+    //                message + "</p></div></div>";
+ 	var func = function() {   
+    	    jQuery("#dcontainer").html(strDialog);
+    
+	    jQuery("#dialog").dialog({
+	        close:function() {
+	            jQuery(this).dialog('destroy').remove();
+	            jQuery("#dcontainer").empty();
+	            if (closeCallback && typeof closeCallback == "function") {
+	                closeCallback();
+	            }
+	            return false;
+	        },
+	        buttons:{
+	            "OK":function() {
+	                jQuery(this).dialog("destroy").remove();
+	                jQuery("#dcontainer").empty();
+	                if(callback && typeof callback == "function")
+	                    callback();
+	                return false;
+	            }
+	        },
+	        height:160,
+	        width:450,
+	        minHeight:160,
+	        minWidth:330,
+	        modal:true
+	    });
+	};
+    if (!pageLoaded) {
+        jQuery(document).ready(func);
+    } else {
+        func();
+    }
+
+};
+
+/**
+ * Display the Error Message inside a jQuery UI's dialog widget.
+ * @method showErrorDialog
+ * @param {String} message to display
+ * @return {Boolean}
+ */
+CARBON.showErrorDialog = function(message, callback, closeCallback) {
+    var strDialog = "<div id='dialog' title='WSO2 Carbon'><div id='messagebox-error'><p>" +
+                    message + "</p></div></div>";
+    //var strDialog = "<div id='dialog' title='WSO2 Carbon'><div id='messagebox'><img src='img/error.gif'/><p>" +
+    //                message + "</p></div></div>";
+    var func = function() {   
+            jQuery("#dcontainer").html(strDialog);
+
+	    jQuery("#dialog").dialog({
+	        close:function() {
+	            jQuery(this).dialog('destroy').remove();
+	            jQuery("#dcontainer").empty();
+	            if (closeCallback && typeof closeCallback == "function") {
+	                closeCallback();
+	            }
+	            return false;
+	        },
+	        buttons:{
+	            "OK":function() {
+	                jQuery(this).dialog("destroy").remove();
+	                jQuery("#dcontainer").empty();
+	                if(callback && typeof callback == "function")
+	                    callback();
+	                return false;
+	            }
+	        },
+	        height:200,
+	        width:490,
+	        minHeight:160,
+	        minWidth:330,
+	        modal:true
+	    });
+    };
+    if (!pageLoaded) {
+        jQuery(document).ready(func);
+    } else {
+        func();
+    }
+
+};
+
+/**
+ * Display the Info Message inside a jQuery UI's dialog widget.
+ * @method showInfoDialog
+ * @param {String} message to display
+ * @return {Boolean}
+ */
+CARBON.showInfoDialog = function(message, callback, closeCallback) {
+    var strDialog = "<div id='dialog' title='WSO2 Carbon'><div id='messagebox-info'><p>" +
+                     message + "</p></div></div>";
+    //var strDialog = "<div id='dialog' title='WSO2 Carbon'><div id='messagebox'><img src='img/info.gif'/><p>" +
+    //                message + "</p></div></div>";
+    var func = function() {   
+	    jQuery("#dcontainer").html(strDialog);
+	
+	    jQuery("#dialog").dialog({
+	        close:function() {
+	            jQuery(this).dialog('destroy').remove();
+	            jQuery("#dcontainer").empty();
+	            if (closeCallback && typeof closeCallback == "function") {
+	                closeCallback();
+	            }
+	            return false;
+	        },
+	        buttons:{
+	            "OK":function() {
+	                jQuery(this).dialog("destroy").remove();
+	                jQuery("#dcontainer").empty();
+	                if(callback && typeof callback == "function")
+	                    callback();
+	                return false;
+	            }
+	        },
+	        height:160,
+	        width:450,
+	        minHeight:160,
+	        minWidth:330,
+	        modal:true
+	    });
+       };
+    if (!pageLoaded) {
+        jQuery(document).ready(func);
+    } else {
+        func();
+    }
+
+};
+
+/**
+ * Display the Confirmation dialog.
+ * @method showConfirmationDialog
+ * @param {String} message to display
+ * @param {Function} handleYes callback function to execute after user press Yes button
+ * @param {Function} handleNo callback function to execute after user press No button
+ * @return {Boolean} It's prefer to return boolean always from your callback functions to maintain consistency.
+ */
+CARBON.showConfirmationDialog = function(message, handleYes, handleNo, closeCallback){
+    /* This function always assume that your second parameter is handleYes function and third parameter is handleNo function.
+     * If you are not going to provide handleYes function and want to give handleNo callback please pass null as the second
+     * parameter.
+     */
+    var strDialog = "<div id='dialog' title='WSO2 Carbon'><div id='messagebox-confirm'><p>" +
+                    message + "</p></div></div>";
+
+    handleYes = handleYes || function(){return true};
+
+    handleNo = handleNo || function(){return false};
+    var func = function() {   
+	    jQuery("#dcontainer").html(strDialog);
+	
+	    jQuery("#dialog").dialog({
+	        close:function() {
+	            jQuery(this).dialog('destroy').remove();
+	            jQuery("#dcontainer").empty();
+	            if (closeCallback && typeof closeCallback == "function") {
+	                closeCallback();
+	            }
+	            return false;
+	        },
+	        buttons:{
+	            "Yes":function() {
+	                jQuery(this).dialog("destroy").remove();
+	                jQuery("#dcontainer").empty();
+	                handleYes();
+	            },
+	            "No":function(){
+	                jQuery(this).dialog("destroy").remove();
+	                jQuery("#dcontainer").empty();
+	                handleNo();
+	            }
+	        },
+	        height:160,
+	        width:450,
+	        minHeight:160,
+	        minWidth:330,
+	        modal:true
+	    });
+    };
+    if (!pageLoaded) {
+        jQuery(document).ready(func);
+    } else {
+        func();
+    }
+    return false;
+}
+
+/**
+ * Display the Info Message inside a jQuery UI's dialog widget.
+ * @method showPopupDialog
+ * @param {String} message to display
+ * @return {Boolean}
+ */
+CARBON.showPopupDialog = function(message, title, windowHight, okButton, callback, windowWidth) {
+    var strDialog = "<div id='dialog' title='" + title + "'><div id='popupDialog'></div>" + message + "</div>";
+    var requiredWidth = 750;
+    if (windowWidth) {
+        requiredWidth = windowWidth;
+    }
+    var func = function() { 
+    jQuery("#dcontainer").html(strDialog);
+    if (okButton) {
+        jQuery("#dialog").dialog({
+            close:function() {
+                jQuery(this).dialog('destroy').remove();
+                jQuery("#dcontainer").empty();
+                return false;
+            },
+            buttons:{
+                "OK":function() {
+                    if (callback && typeof callback == "function")
+                        callback();
+                    jQuery(this).dialog("destroy").remove();
+                    jQuery("#dcontainer").empty();
+                    return false;
+                }
+            },
+            height:windowHight,
+            width:requiredWidth,
+            minHeight:windowHight,
+            minWidth:requiredWidth,
+            modal:true
+        });
+    } else {
+        jQuery("#dialog").dialog({
+            close:function() {
+                jQuery(this).dialog('destroy').remove();
+                jQuery("#dcontainer").empty();
+                return false;
+            },
+            height:windowHight,
+            width:requiredWidth,
+            minHeight:windowHight,
+            minWidth:requiredWidth,
+            modal:true
+        });
+    }
+	
+	jQuery('.ui-dialog-titlebar-close').click(function(){
+				jQuery('#dialog').dialog("destroy").remove();
+                jQuery("#dcontainer").empty();
+				jQuery("#dcontainer").html('');
+		});
+	
+    };
+    if (!pageLoaded) {
+        jQuery(document).ready(func);
+    } else {
+        func();
+    }
+};
+
+/**
+ * Display the Input dialog.
+ * @method showInputDialog
+ * @param {String} message to display
+ * @param {Function} handleOk callback function to execute after user press OK button.
+ * @param {Function} handleCancel callback function to execute after user press Cancel button
+ * @param {Function} closeCallback callback function to execute after user close the dialog button.
+ * @return {Boolean} It's prefer to return boolean always from your callback functions to maintain consistency.
+ *
+ * handleOk function signature
+ * ---------------------------
+ * function(inputText){
+ *  //logic
+ * }
+ */
+CARBON.showInputDialog = function(message, handleOk, handleCancel, closeCallback){
+    var strInput = "<div style='margin:20px;'><p>"+message+ "</p><br/>"+
+                   "<input type='text' id='carbon-ui-dialog-input' size='40' name='carbon-dialog-inputval'></div>";
+    var strDialog = "<div id='dialog' title='WSO2 Carbon'>" + strInput + "</div>";
+    var func = function() {   
+	    jQuery("#dcontainer").html(strDialog);
+	    jQuery("#dialog").dialog({
+	        close:function() {
+	            jQuery(this).dialog('destroy').remove();
+	            jQuery("#dcontainer").empty();
+	            if (closeCallback && typeof closeCallback == "function") {
+	                closeCallback();
+	            }
+	            return false;
+	        },
+	        buttons:{
+	            "OK":function() {
+	                var inputVal = jQuery('input[name=carbon-dialog-inputval]').fieldValue();
+	                handleOk(inputVal);
+	                jQuery(this).dialog("destroy").remove();
+	                jQuery("#dcontainer").empty();
+	                return false;
+	            },
+	            "Cancel":function(){
+	                jQuery(this).dialog("destroy").remove();
+	                jQuery("#dcontainer").empty();
+	                handleCancel();
+	            }
+	        },
+	        height:160,
+	        width:450,
+	        minHeight:160,
+	        minWidth:330,
+	        modal:true
+	    });
+    };
+    if (!pageLoaded) {
+        jQuery(document).ready(func);
+    } else {
+        func();
+    }
+}
+/**
+ * Display the loading dialog.
+ * @method showLoadingDialog
+ * @param {String} message to display
+ * @param {Function} handleRemoveMessage callback function to triger the removal of the message.
+ * handleOk function signature
+ * ---------------------------
+ * function(inputText){
+ *  //logic
+ * }
+ */
+CARBON.showLoadingDialog = function(message, handleRemoveMessage){
+    //var strInput = "<div id='dcontainer' style='margin:20px;'><p><img src='../admin/images/loading.gif' />"+message+ "</p><br/></div>";
+
+
+    var func = function() {
+        var windowHeight = 20;
+        var windowWidth = 100 + message.length*7;
+        var strDialog = '<div class="ui-dialog-overlay" style="border-width: 0pt; margin: 0pt; padding: 0pt; position: absolute; top: 0pt; left: 0pt; width: ' + jQuery(document).width() + 'px; height: ' + jQuery(document).height() + 'px; z-index: 1001;">' +
+                        '<div class="loadingDialogBox" style="background-color:#fff;border-radious:5px; -moz-border-radious:5px;possition:absolute;margin-top:' + (( jQuery(window).height() - windowHeight ) / 2+jQuery(window).scrollTop()) + 'px;margin-left:' + (( jQuery(window).width() - windowWidth ) / 2+jQuery(window).scrollLeft()) + 'px;height:'+windowHeight+'px;width:'+windowWidth+'px;">' + message + '</div>' +
+                        '</div>';
+        jQuery("#dcontainer").html(strDialog);
+
+    };
+    if (!pageLoaded) {
+        jQuery(document).ready(func);
+    } else {
+        func();
+    }
+}
+CARBON.closeWindow = function(){
+jQuery("#dialog").dialog("destroy").remove();
+}