http://git-wip-us.apache.org/repos/asf/stratos/blob/6aabe7d9/components/org.apache.stratos.manager.console/console/themes/theme1/ui/custom-font-new/font/fontello.ttf
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/custom-font-new/font/fontello.ttf
 
b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/custom-font-new/font/fontello.ttf
deleted file mode 100644
index 39e7f92..0000000
Binary files 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/custom-font-new/font/fontello.ttf
 and /dev/null differ

http://git-wip-us.apache.org/repos/asf/stratos/blob/6aabe7d9/components/org.apache.stratos.manager.console/console/themes/theme1/ui/custom-font-new/font/fontello.woff
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/custom-font-new/font/fontello.woff
 
b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/custom-font-new/font/fontello.woff
deleted file mode 100644
index 45493f9..0000000
Binary files 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/custom-font-new/font/fontello.woff
 and /dev/null differ

http://git-wip-us.apache.org/repos/asf/stratos/blob/6aabe7d9/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/asf-logo.png
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/asf-logo.png
 
b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/asf-logo.png
deleted file mode 100644
index d18800d..0000000
Binary files 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/asf-logo.png
 and /dev/null differ

http://git-wip-us.apache.org/repos/asf/stratos/blob/6aabe7d9/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/btn-down.png
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/btn-down.png
 
b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/btn-down.png
deleted file mode 100644
index f915fdd..0000000
Binary files 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/btn-down.png
 and /dev/null differ

http://git-wip-us.apache.org/repos/asf/stratos/blob/6aabe7d9/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/btn-restart.png
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/btn-restart.png
 
b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/btn-restart.png
deleted file mode 100644
index c6f9932..0000000
Binary files 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/btn-restart.png
 and /dev/null differ

http://git-wip-us.apache.org/repos/asf/stratos/blob/6aabe7d9/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/btn-start.png
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/btn-start.png
 
b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/btn-start.png
deleted file mode 100644
index dad0673..0000000
Binary files 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/btn-start.png
 and /dev/null differ

http://git-wip-us.apache.org/repos/asf/stratos/blob/6aabe7d9/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/clouds.png
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/clouds.png
 
b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/clouds.png
deleted file mode 100644
index 3709106..0000000
Binary files 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/clouds.png
 and /dev/null differ

http://git-wip-us.apache.org/repos/asf/stratos/blob/6aabe7d9/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/confirm.gif
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/confirm.gif
 
b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/confirm.gif
deleted file mode 100644
index 6c719b3..0000000
Binary files 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/confirm.gif
 and /dev/null differ

http://git-wip-us.apache.org/repos/asf/stratos/blob/6aabe7d9/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/dash.png
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/dash.png
 
b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/dash.png
deleted file mode 100644
index a78ffe9..0000000
Binary files 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/dash.png
 and /dev/null differ

http://git-wip-us.apache.org/repos/asf/stratos/blob/6aabe7d9/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/details.png
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/details.png
 
b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/details.png
deleted file mode 100644
index d3828ed..0000000
Binary files 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/details.png
 and /dev/null differ

http://git-wip-us.apache.org/repos/asf/stratos/blob/6aabe7d9/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/diagram.png
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/diagram.png
 
b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/diagram.png
deleted file mode 100644
index ceee4ec..0000000
Binary files 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/diagram.png
 and /dev/null differ

http://git-wip-us.apache.org/repos/asf/stratos/blob/6aabe7d9/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/error.gif
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/error.gif
 
b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/error.gif
deleted file mode 100644
index b8da205..0000000
Binary files 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/error.gif
 and /dev/null differ

http://git-wip-us.apache.org/repos/asf/stratos/blob/6aabe7d9/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/favicon.png
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/favicon.png
 
b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/favicon.png
deleted file mode 100644
index eddfa83..0000000
Binary files 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/favicon.png
 and /dev/null differ

http://git-wip-us.apache.org/repos/asf/stratos/blob/6aabe7d9/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/gray.png
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/gray.png
 
b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/gray.png
deleted file mode 100644
index 45edb5c..0000000
Binary files 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/gray.png
 and /dev/null differ

http://git-wip-us.apache.org/repos/asf/stratos/blob/6aabe7d9/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/icon-lock.png
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/icon-lock.png
 
b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/icon-lock.png
deleted file mode 100644
index d2924d1..0000000
Binary files 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/icon-lock.png
 and /dev/null differ

http://git-wip-us.apache.org/repos/asf/stratos/blob/6aabe7d9/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/icon-plus.png
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/icon-plus.png
 
b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/icon-plus.png
deleted file mode 100644
index 0e00c37..0000000
Binary files 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/icon-plus.png
 and /dev/null differ

http://git-wip-us.apache.org/repos/asf/stratos/blob/6aabe7d9/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/icon-problem-dark.png
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/icon-problem-dark.png
 
b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/icon-problem-dark.png
deleted file mode 100644
index 82e2c02..0000000
Binary files 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/icon-problem-dark.png
 and /dev/null differ

http://git-wip-us.apache.org/repos/asf/stratos/blob/6aabe7d9/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/icon-problem-light.png
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/icon-problem-light.png
 
b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/icon-problem-light.png
deleted file mode 100644
index 9c10d73..0000000
Binary files 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/icon-problem-light.png
 and /dev/null differ

http://git-wip-us.apache.org/repos/asf/stratos/blob/6aabe7d9/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/icon-problem.png
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/icon-problem.png
 
b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/icon-problem.png
deleted file mode 100644
index 9c10d73..0000000
Binary files 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/icon-problem.png
 and /dev/null differ

http://git-wip-us.apache.org/repos/asf/stratos/blob/6aabe7d9/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/icon-user.png
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/icon-user.png
 
b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/icon-user.png
deleted file mode 100644
index 43b2723..0000000
Binary files 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/icon-user.png
 and /dev/null differ

http://git-wip-us.apache.org/repos/asf/stratos/blob/6aabe7d9/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/image_10.png
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/image_10.png
 
b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/image_10.png
deleted file mode 100644
index 516986c..0000000
Binary files 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/image_10.png
 and /dev/null differ

http://git-wip-us.apache.org/repos/asf/stratos/blob/6aabe7d9/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/info.gif
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/info.gif
 
b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/info.gif
deleted file mode 100644
index 31ecb4e..0000000
Binary files 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/info.gif
 and /dev/null differ

http://git-wip-us.apache.org/repos/asf/stratos/blob/6aabe7d9/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/login-shadow.png
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/login-shadow.png
 
b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/login-shadow.png
deleted file mode 100644
index 32f30e7..0000000
Binary files 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/login-shadow.png
 and /dev/null differ

http://git-wip-us.apache.org/repos/asf/stratos/blob/6aabe7d9/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/logo-inside.png
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/logo-inside.png
 
b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/logo-inside.png
deleted file mode 100644
index 2680030..0000000
Binary files 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/logo-inside.png
 and /dev/null differ

http://git-wip-us.apache.org/repos/asf/stratos/blob/6aabe7d9/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/logo-login.png
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/logo-login.png
 
b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/logo-login.png
deleted file mode 100644
index 952f7e9..0000000
Binary files 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/logo-login.png
 and /dev/null differ

http://git-wip-us.apache.org/repos/asf/stratos/blob/6aabe7d9/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/overlay.png
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/overlay.png
 
b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/overlay.png
deleted file mode 100644
index e33524e..0000000
Binary files 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/overlay.png
 and /dev/null differ

http://git-wip-us.apache.org/repos/asf/stratos/blob/6aabe7d9/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/panel-back.png
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/panel-back.png
 
b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/panel-back.png
deleted file mode 100644
index 6fba94d..0000000
Binary files 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/panel-back.png
 and /dev/null differ

http://git-wip-us.apache.org/repos/asf/stratos/blob/6aabe7d9/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/repeat.png
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/repeat.png
 
b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/repeat.png
deleted file mode 100644
index 0eea5bd..0000000
Binary files 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/repeat.png
 and /dev/null differ

http://git-wip-us.apache.org/repos/asf/stratos/blob/6aabe7d9/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/tmp-details.png
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/tmp-details.png
 
b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/tmp-details.png
deleted file mode 100644
index 13ae887..0000000
Binary files 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/tmp-details.png
 and /dev/null differ

http://git-wip-us.apache.org/repos/asf/stratos/blob/6aabe7d9/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/transparent-white.png
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/transparent-white.png
 
b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/transparent-white.png
deleted file mode 100644
index f1174b2..0000000
Binary files 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/transparent-white.png
 and /dev/null differ

http://git-wip-us.apache.org/repos/asf/stratos/blob/6aabe7d9/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/warning.gif
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/warning.gif
 
b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/warning.gif
deleted file mode 100644
index b4ba52f..0000000
Binary files 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/img/warning.gif
 and /dev/null differ

http://git-wip-us.apache.org/repos/asf/stratos/blob/6aabe7d9/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/configure_stratos.js
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/configure_stratos.js
 
b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/configure_stratos.js
deleted file mode 100644
index cb09575..0000000
--- 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/configure_stratos.js
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF 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.
- *
-*/
-
-$(function () {
-    $('#jsonForm').validate();
-    $('pre').each(function () {
-        var jsonStr = $(this).html();
-        jsonStr = jsonStr.replace(/\'/g, '\"');
-        var obj = jQuery.parseJSON(jsonStr);
-        jsonStr = JSON.stringify(obj, undefined, 2);
-        $('textarea', $(this).parent()).val(jsonStr);
-        $(this).html(syntaxHighlight(jsonStr));
-    });
-});

http://git-wip-us.apache.org/repos/asf/stratos/blob/6aabe7d9/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/dashboard.js
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/dashboard.js
 
b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/dashboard.js
deleted file mode 100644
index 9d200bd..0000000
--- 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/dashboard.js
+++ /dev/null
@@ -1,417 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF 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.
- *
-*/
-
-var paper, paper_chart;
-
-var ELB_WIDTH = 200;
-var ELB_HEIGHT = 60;
-var ELB_ROUND = 10;
-//down colors
-var NODE_DOWN_FILL = "90-#d0d0d0-#e6e6e6";
-var NODE_DOWN_OVER_FILL = "#fafafa";
-
-//ELB colors
-var ELB_UP_FILL = "90-#ffb100-#ff8900";
-var ELB_UP_OVER_FILL = "#ff9226";
-
-//Cluster colors
-var CLUSTER_UP_FILL = "90-#007eff-#007edd";
-var CLUSTER_UP_OVER_FILL = "#00b9ff";
-
-//Error colors
-var ERROR_FILL = "90-#ff221a-#ba0600";
-var ERROR_OVER_FILL = "#ff221a";
-
-var DARK_TXT_COLOR = '#404040';
-var LIGHT_TXT_COLOR = '#FFFFFF';
-
-var INIT_X = 15;
-var INIT_Y = 30;
-
-var UP_TIME_TITLE = "Up Time";
-var DOWN_TIME_TITLE = "Down Time";
-
-var NODE_SHIFT_H = 250;
-var NODE_SHIFT_V = 200;
-var NODE_SHIFT_V_SUB = 80;
-
-var LINE_COLOR = "#91de02";
-
-var CIRCLE_FILL = ["#dcff9b", "#ff9bfc", "#fec5ac"];
-var CIRCLE_STROKE = ["#91de02", "#c402de", "#de4402"];
-
-$(function () {
-    spinner("canvas_container", 70, 120, 12, 25, '#18c3f4', "Generating 
topology view ...");
-});
-
-var draw_node = function (cnode) {
-    var rectangleSet = paper.set();
-    var rectangle = paper.rect(cnode.x, cnode.y, ELB_WIDTH + 10, ELB_HEIGHT + 
10, 10);
-    var mainFill = NODE_DOWN_FILL;
-    var txtColor = DARK_TXT_COLOR;
-    var titleTxtColor = DARK_TXT_COLOR;
-    /* satus for a cluster member can take the following values.
-     Created
-     Starting
-     Activated
-     In_Maintenance
-     ReadyToShutDown
-     Terminated
-     Suspended
-     ShuttingDown
-     */
-    if (cnode.state == "Created" || cnode.state == "Starting" || cnode.state 
== "Activated") {
-        if (cnode.nodeType == 'elb') {
-            mainFill = ELB_UP_FILL;
-        } else {
-            mainFill = CLUSTER_UP_FILL;
-        }
-        txtColor = LIGHT_TXT_COLOR;
-        titleTxtColor = LIGHT_TXT_COLOR;
-    } else if (cnode.state == "Suspended" || cnode.state == "ShuttingDown" || 
cnode.state == "In_Maintenance" || cnode.state == "ReadyToShutDown" || 
cnode.state == "Terminated") {
-        titleTxtColor = LIGHT_TXT_COLOR;
-        txtColor = DARK_TXT_COLOR;
-        mainFill = ERROR_FILL;
-    }
-
-
-    rectangle.attr({fill: mainFill, stroke: '#259cbc', 'stroke-width': 0, 
'stroke-linejoin': 'round'});
-    rectangle.glow({"width": 7, "color": "#000000", "offsetx": 3, "offsety": 
3, "fill": true});
-
-    if (cnode.nodeType == "node") {
-        var rectangle_sub = paper.rect(cnode.x + 5, cnode.y + 20, 
rectangle.getBBox().width - 10, rectangle.getBBox().height - 20, 10);
-        rectangle_sub.attr({fill: '#fff', stroke: '#259cbc', 'stroke-width': 
0, 'stroke-linejoin': 'round'});
-        rectangle_sub.glow({"width": 7, "color": "#000000", "offsetx": 3, 
"offsety": 3, "fill": true});
-    }
-    //elb title
-    var word_elb = paper.text(rectangle.getBBox().x, rectangle.getBBox().y + 
10, cnode.title).attr({"font-size": 13, fill: titleTxtColor, stroke: "none"});
-    word_elb.translate(rectangle.getBBox().width / 2, 0);
-
-    //up time title
-    var word_up_time = paper.text(rectangle.getBBox().x, rectangle.getBBox().y 
+ 15, cnode.time_title).attr({"font-size": 10, fill: '#000', stroke: "none"});
-    word_up_time.translate(word_up_time.getBBox().width / 2 + 5, 15);
-
-    //up time value
-    var word_up_time_value = paper.text(rectangle.getBBox().x, 
rectangle.getBBox().y + 15, cnode.time_value).attr({"font-size": 11, fill: 
txtColor, stroke: "none"});
-    word_up_time_value.translate(word_up_time_value.getBBox().width / 2 + 5, 
30);
-
-    //cup%
-    var word_cpu = paper.text(rectangle.getBBox().x + 10, 
rectangle.getBBox().y + 15, '%CPU').attr({"font-size": 10, fill: '#000', 
stroke: "none"});
-    word_cpu.translate(rectangle.getBBox().width / 2 - 
word_cpu.getBBox().width / 2, 15);
-
-
-    //value cup%
-    var value_cpu = paper.text(rectangle.getBBox().x + 10, 
rectangle.getBBox().y + 15, '20').attr({"font-size": 10, fill: txtColor, 
stroke: "none"});
-    value_cpu.translate(rectangle.getBBox().width / 2 - 
word_cpu.getBBox().width / 2, 30);
-
-    //algo title
-    var word_policy = paper.text(rectangle.getBBox().x + 10, 
rectangle.getBBox().y + 15, cnode.policy).attr({"font-size": 10, fill: '#000', 
stroke: "none"});
-    word_policy.translate(rectangle.getBBox().width * 2 / 3 + 
word_policy.getBBox().width * 1 / 3, 15);
-
-    if (cnode.state == "Created" || cnode.state == "Starting" || cnode.state 
== "Activated") {
-        var rectangle_btn_sd = paper.rect(word_policy.getBBox().x, 
word_policy.getBBox().y + 15, 23, 17, 0);
-        rectangle_btn_sd.attr({fill: 'url({{url 
"/themes/theme1/ui/img/btn-down.png"}})', 'stroke-width': 0});
-
-        var rectangle_btn_restart = paper.rect(word_policy.getBBox().x + 30, 
word_policy.getBBox().y + 15, 23, 17, 0);
-        rectangle_btn_restart.attr({fill: 'url({{url 
"/themes/theme1/ui/img/btn-restart.png"}})', 'stroke-width': 0});
-
-        rectangleSet.push(rectangle, word_elb, word_up_time, 
word_up_time_value, word_policy);
-
-        rectangle_btn_sd.mouseup(executeAction({elem: cnode, action: 
'shout_down'}));
-        rectangle_btn_restart.mouseup(executeAction({elem: cnode, action: 
'restart'}));
-    } else {
-        var rectangle_btn_start = paper.rect(word_policy.getBBox().x, 
word_policy.getBBox().y + 15, 23, 17, 0);
-        rectangle_btn_start.attr({fill: 'url({{url 
"/themes/theme1/ui/img/btn-start.png"}})', 'stroke-width': 0});
-        rectangleSet.push(rectangle, word_elb, word_up_time, 
word_up_time_value, word_policy);
-
-        rectangle_btn_start.mouseup(executeAction({elem: cnode, action: 
'start'}));
-    }
-    if (cnode.nodeType == "node") {
-        rectangleSet.push(rectangle_sub);
-    }
-
-
-    rectangleSet.state = cnode.state;
-    rectangleSet.nodeType = cnode.nodeType;
-
-    rectangleSet.mouseup(loadNode(cnode));
-    rectangleSet.mouseover(elbMouseOverHandler(rectangleSet));
-    rectangleSet.mouseout(elbMouseOutHandler(rectangleSet));
-};
-
-var draw_connector = function (elb, cluster) {
-    var x1 = elb.x + ELB_WIDTH / 2;
-    var y1 = elb.y + ELB_HEIGHT + 10;
-
-    var x2 = cluster.x + ELB_WIDTH / 2;
-    var y2 = cluster.y - 10;
-
-    var linePath = paper.path("M " + x1 + " " + y1 + " L " + x2 + " " + 
y2).attr({'stroke': CIRCLE_STROKE[elb.index], 'stroke-width': 3});
-    var c1 = paper.circle(x1, y1, 10).attr({fill: CIRCLE_FILL[elb.index], 
stroke: CIRCLE_STROKE[elb.index], 'stroke-width': 4});
-    var c2 = paper.circle(x2, y2, 10).attr({fill: CIRCLE_FILL[elb.index], 
stroke: CIRCLE_STROKE[elb.index], 'stroke-width': 4});
-};
-/*
- Sample structure expected for data_elb
- [
- {
- "name":"LB1",
- "policy":"{'partition':{'id': 'P1','provider': 'ec2','property': [{'name': 
'region','value': 'ap-southeast-1'}],'partitionMin': '1','partitionMax': '3' }}"
- }
- ]
- */
-$(document).ready(function () {
-    $.ajax({
-            url: "/console/controllers/dashboard.jag",
-            data: {action: "get_topology"},
-            dataType: "json",
-            success: function (data) {
-                $('#canvas_container').empty();
-                var maxNodesForCluster = 0;
-                var clustersDrew = [], clustersDrewNodes = [], data_elb = [], 
data_cluster = [];
-                var data1 = data.topology.serviceMap;
-
-                // Recreate the data structure so that it's easy to do the UI
-                $.each(data1, function (k1, v1) {
-                    var data2 = data1[k1].clusterIdClusterMap;
-                    $.each(data2, function (k2, v2) {
-                        if (data2[k2].isLbCluster) {
-                            data_elb.push({"id": data2[k2].clusterId, "name": 
data1[k1].serviceName});
-                        } else {
-                            var lbs_for_cluster = [], nodes_for_cluster = [];
-                            var data3 = data2[k2].memberMap;
-                            $.each(data3, function (k3, v3) {
-                                //Constructing an array of lb ids from nodes
-                                var not_found = true;
-                                for (var i = 0; i < lbs_for_cluster.length; 
i++) {
-                                    if (lbs_for_cluster[i] == 
data3[k3].lbClusterId) {
-                                        not_found = false
-                                    }
-                                }
-
-                                if (not_found) {
-                                    
lbs_for_cluster.push(data3[k3].lbClusterId);
-                                }
-
-
-                                //Constructing the node array for the cluster
-                                nodes_for_cluster.push({"id": 
data3[k3].memberId, "name": data3[k3].memberIp, "up_time": "25hrs", 
"down_time": "", "cpu": "20", "policy": "Round Robin", "state": 
data3[k3].status})
-
-                            });
-                            data_cluster.push({"id": data2[k2].clusterId, 
"name": data1[k1].serviceName, "elb": lbs_for_cluster, "nodes": 
nodes_for_cluster});
-                        }
-
-                    });
-                });
-
-
-                paper = new 
Raphael(document.getElementById('canvas_container'), 1000, 500);
-                for (var i = 0; i < data_elb.length; i++) {
-                    //drawing the elb
-                    if (i == 0) {
-                        data_elb[0].x = INIT_X;
-                    } else {
-                        data_elb[i].x = data_elb[i - 1].x + NODE_SHIFT_H * 
data_elb[i - 1].clustersForElb;
-                    }
-                    if (data_elb[i].state == "down") {
-                        draw_node({x: data_elb[i].x, y: INIT_Y, title: 
data_elb[i].name, time_title: DOWN_TIME_TITLE, time_value: 
data_elb[i].down_time, policy: data_elb[i].policy, state: data_elb[i].state, 
nodeType: 'elb'});
-                    } else {
-                        draw_node({x: data_elb[i].x, y: INIT_Y, title: 
data_elb[i].name, time_title: UP_TIME_TITLE, time_value: data_elb[i].up_time, 
policy: data_elb[i].policy, state: data_elb[i].state, nodeType: 'elb'});
-                    }
-                    data_elb[i].y = INIT_Y;
-                    data_elb[i].index = i;
-                    //drawing the clusters
-                    var clustersForElb = 0;
-                    for (var j = 0; j < data_cluster.length; j++) {
-                        var foundIndex = searchStringInArray(data_elb[i].id, 
data_cluster[j].elb);
-                        if (foundIndex != -1) {
-                            var clusterIndex = 
searchStringInArray(data_cluster[j].id, clustersDrew);
-                            if (clusterIndex == -1) {
-                                clustersForElb++;
-                                var cx = data_elb[i].x;
-                                if (data_elb[i].cluster_x != undefined) {
-                                    cx = data_elb[i].cluster_x + NODE_SHIFT_H;
-                                }
-                                data_elb[i].cluster_x = cx;
-                                if (data_cluster[j].state == "down") {
-                                    draw_node({x: cx, y: INIT_Y + 
NODE_SHIFT_V, title: data_cluster[j].name, time_title: DOWN_TIME_TITLE, 
time_value: data_cluster[j].down_time, policy: data_cluster[j].policy, state: 
data_cluster[j].state, nodeType: 'cluster'});
-                                } else {
-                                    draw_node({x: cx, y: INIT_Y + 
NODE_SHIFT_V, title: data_cluster[j].name, time_title: UP_TIME_TITLE, 
time_value: data_cluster[j].up_time, policy: data_cluster[j].policy, state: 
data_cluster[j].state, nodeType: 'cluster'});
-                                }
-                                //Draw a connector
-                                data_cluster[j].x = cx;
-                                data_cluster[j].y = INIT_Y + NODE_SHIFT_V;
-                                draw_connector(data_elb[i], data_cluster[j]);
-
-                                // Drawing cluster nodes
-                                var data_node = data_cluster[j].nodes;
-                                if (maxNodesForCluster < data_node.length) {
-                                    maxNodesForCluster = data_node.length;
-                                }
-                                for (var k = 0; k < data_node.length; k++) {
-                                    var nx, ny;
-                                    if (k == 0) {
-                                        nx = data_cluster[j].x;
-                                        ny = data_cluster[j].y + 
NODE_SHIFT_V_SUB;
-                                    } else {
-                                        nx = data_node[k - 1].x;
-                                        ny = data_node[k - 1].y + 
NODE_SHIFT_V_SUB;
-                                    }
-                                    data_node[k].x = nx;
-                                    data_node[k].y = ny;
-
-                                    if (data_node[k].state == "down") {
-                                        draw_node({x: nx, y: ny, title: 
data_node[k].name, time_title: DOWN_TIME_TITLE, time_value: 
data_node[k].down_time, policy: data_node[k].policy, state: data_node[k].state, 
nodeType: 'node'});
-                                    } else {
-                                        draw_node({x: nx, y: ny, title: 
data_node[k].name, time_title: UP_TIME_TITLE, time_value: data_node[k].up_time, 
policy: data_node[k].policy, state: data_node[k].state, nodeType: 'node'});
-                                    }
-                                }
-                                clustersDrew.push(data_cluster[j].id);
-                                clustersDrewNodes.push(data_cluster[j]);
-                            } else {
-                                //draw the connector
-                                draw_connector(data_elb[i], 
clustersDrewNodes[clusterIndex]);
-                            }
-                        }
-                    }
-                    data_elb[i].clustersForElb = clustersForElb;
-                }
-                //draw_node({x:15,y:30,title:'ELB1',time_title:'Up 
Time',time_value:'3h:25m:10s',algo:'Round Robin',state:'',nodeType:'elb'});
-                //draw_node({x:330,y:30,title:'ELB1',time_title:'Up 
Time',time_value:'3h:25m:10s',algo:'Round Robin',state:'up',nodeType:'elb'});
-
-                //draw_node({x: 15, y: 230, title: 'ESB Cluster', time_title: 
'Up Time', time_value: '3h:25m:10s', policy: 'Round Robin', state: 'up', 
nodeType: 'cluster'});
-
-
-                // Resize the canves
-                var paperHeight = 350 + 80 * maxNodesForCluster;
-                paper.setSize(1000, paperHeight);
-            }
-        }
-    )
-});
-var elbMouseOverHandler = function (rect) {
-    return function () {
-        if (rect.state  == "Created" || rect.state == "Starting" || rect.state 
== "Activated") {
-            if (rect.nodeType == "elb") {
-                rect[0].attr({ "stroke-width": 2, "stroke": '#ff000', "fill": 
ELB_UP_OVER_FILL });
-            } else if (rect.nodeType == "cluster") {
-                rect[0].attr({ "stroke-width": 2, "stroke": '#ff000', "fill": 
CLUSTER_UP_OVER_FILL });
-            }
-        } else if (rect.state == "Suspended" || rect.state == "ShuttingDown" 
|| rect.state == "In_Maintenance" || rect.state == "ReadyToShutDown" || 
rect.state == "Terminated") {
-            rect[0].attr({ "stroke-width": 0, "fill": ERROR_OVER_FILL});
-        } else {
-            rect[0].attr({ "stroke-width": 2, "stroke": '#a5a5a5', "fill": 
NODE_DOWN_OVER_FILL});
-        }
-    }
-};
-
-
-var elbMouseOutHandler = function (rect) {
-    return function () {
-        if (rect.state  == "Created" || rect.state == "Starting" || rect.state 
== "Activated") {
-            if (rect.nodeType == "elb") {
-                rect[0].attr({ "stroke-width": 0, "fill": ELB_UP_FILL});
-            } else if (rect.nodeType == "cluster") {
-                rect[0].attr({ "stroke-width": 0, "fill": CLUSTER_UP_FILL});
-            }
-        } else if (rect.state == "Suspended" || rect.state == "ShuttingDown" 
|| rect.state == "In_Maintenance" || rect.state == "ReadyToShutDown" || 
rect.state == "Terminated") {
-            rect[0].attr({ "stroke-width": 0, "fill": ERROR_FILL});
-        } else {
-            rect[0].attr({ "stroke-width": 0, "fill": NODE_DOWN_FILL});
-
-        }
-    }
-};
-function loadNode(node) {
-    var node = node;
-    return function () {
-        $('#nodeDetails').css({"margin-left": node.x + ELB_WIDTH + 30 + "px", 
"margin-top": node.y + "px"}).show().animate({height: "550px"});
-    }
-}
-$(function () {
-    $('.close-btn').click(function () {
-        $(this).parent().animate({height: "0px"}, function () {
-            $(this).hide()
-        })
-    });
-});
-
-function executeAction(info) {
-    var tmpInfo = info;
-    return function (event) {
-        alert('Action is ' + tmpInfo.action + ' - Node is ' + 
tmpInfo.elem.title);
-    }
-}
-function searchStringInArray(str, strArray) {
-    for (var j = 0; j < strArray.length; j++) {
-        if (strArray[j].match(str)) return j;
-    }
-    return -1;
-}
-
-function spinner(holderid, R1, R2, count, stroke_width, colour, text) {
-    var sectorsCount = count || 12,
-        color = colour || "#fff",
-        width = stroke_width || 15,
-        r1 = Math.min(R1, R2) || 35,
-        r2 = Math.max(R1, R2) || 60,
-        cx = r2 + width,
-        cy = r2 + width,
-        r = Raphael(holderid, r2 * 2 + width * 2, r2 * 2 + width * 2),
-
-        sectors = [],
-        opacity = [],
-        beta = 2 * Math.PI / sectorsCount,
-
-        pathParams = {stroke: color, "stroke-width": width, "stroke-linecap": 
"round"};
-    Raphael.getColor.reset();
-    for (var i = 0; i < sectorsCount; i++) {
-        var alpha = beta * i - Math.PI / 2,
-            cos = Math.cos(alpha),
-            sin = Math.sin(alpha);
-        opacity[i] = 1 / sectorsCount * i;
-        sectors[i] = r.path([
-            ["M", cx + r1 * cos, cy + r1 * sin],
-            ["L", cx + r2 * cos, cy + r2 * sin]
-        ]).attr(pathParams);
-        if (color == "rainbow") {
-            sectors[i].attr("stroke", Raphael.getColor());
-        }
-    }
-    if (text != null) {
-        var t = r.text(0, 0, text).attr({"font-size": 30, fill: "#999999", 
"stroke": "none"})
-        t.translate(t.getBBox().width / 2 + r2 * 2 + width * 2, r2);
-        r.setSize(r2 * 2 + width * 2 + t.getBBox().width, r2 * 2 + width * 2);
-    }
-
-    var tick;
-    (function ticker() {
-        opacity.unshift(opacity.pop());
-        for (var i = 0; i < sectorsCount; i++) {
-            sectors[i].attr("opacity", opacity[i]);
-        }
-        r.safari();
-        tick = setTimeout(ticker, 1000 / sectorsCount);
-    })();
-    return function () {
-        clearTimeout(tick);
-        r.remove();
-    };
-}

http://git-wip-us.apache.org/repos/asf/stratos/blob/6aabe7d9/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/login.js
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/login.js
 
b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/login.js
deleted file mode 100644
index d4ecbf8..0000000
--- 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/login.js
+++ /dev/null
@@ -1,89 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF 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.
- *
-*/
-
-$(function(){
-    var $username = $('#username');
-    var $password = $('#password');
-    var $loginForm = $('#loginForm');
-    var isValidForm = function(){
-        if($username.val() == "" || $password.val() == ""){
-            var error = "Enter your username";
-            if($username.val() == ""){
-                $username.addClass('error');
-            }else{
-                $username.removeClass('error');
-                error = "";
-            }
-
-            if($password.val() == ""){
-                $password.addClass('error');
-                if(error == ""){
-                    error = "Enter your password";
-                }else{
-                    error = "Enter your username and password";
-                }
-            }else{
-                $password.removeClass('error');
-            }
-            $('#loginError').html(error).show();
-            return false;
-        }else{
-            $username.removeClass('error');
-            $password.removeClass('error');
-            $('#loginError').hide();
-            return true;
-        }
-
-    };
-    var submitForm = function(){
-        if(isValidForm()){
-            $loginForm.submit();
-        }else{
-            if($password.val() == ""){
-                $password.focus();
-            }
-            if($username.val() == ""){
-                $username.focus();
-            }
-
-            $username.keyup(function(){
-                isValidForm();
-            });
-            $password.keyup(function(){
-                isValidForm();
-            });
-        }
-    }
-    $('#loginButton').click(function(){
-        submitForm();
-    });
-    $username.keyup(function(e){
-          if(e.which == "13"){
-              submitForm();
-          }
-    });
-    $password.keyup(function(e){
-          if(e.which == "13"){
-              submitForm();
-          }
-    });
-    $username.focus();
-});

http://git-wip-us.apache.org/repos/asf/stratos/blob/6aabe7d9/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/mycartridges.js
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/mycartridges.js
 
b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/mycartridges.js
deleted file mode 100644
index 8304578..0000000
--- 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/mycartridges.js
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF 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.
- *
-*/
-
-$(function () {
-    $('.un-subscribe-btn').click(function () {
-        $('#alias').val($(this).attr('data-alias'));
-        $('#serviceGroup').val($(this).attr('service-group'));
-        popbox.message({content: '<div>Are you sure you want to 
un-subscribe?</div>', type: 'confirm',
-            okCallback: function () {
-                $('#cForm').submit();
-            },
-            cancelCallback: function () {
-            }
-        });
-    });
-
-    $('.js_syncRepo').click(function(){
-        var alias = $(this).attr('data-value');
-        $.ajax({
-            data:{alias:alias,action:"sync"},
-            url:"/console/controllers/mycartridges.jag",
-            success:function(data){
-                //alert($.parseJSON(data).msg)
-            }
-        })
-    })
-});

http://git-wip-us.apache.org/repos/asf/stratos/blob/6aabe7d9/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/popup.js
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/popup.js
 
b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/popup.js
deleted file mode 100644
index 9316a13..0000000
--- 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/popup.js
+++ /dev/null
@@ -1,102 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF 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.
- *
-*/
-
-var popbox = popbox || {};
-
-(function () {
-popbox.messageDisplay = function (params) {
-    $('#messageModal').html($('#confirmation-data').html());
-    if(params.title == undefined){
-        $('#messageModal h3.modal-title').html('API Store');
-    }else{
-        $('#messageModal h3.modal-title').html(params.title);
-    }
-    $('#messageModal div.modal-body').html(params.content);
-    if(params.buttons != undefined){
-        $('#messageModal a.btn-primary').hide();
-        $('#messageModal div.modal-footer').html('');
-        for(var i=0;i<params.buttons.length;i++){
-            $('#messageModal div.modal-footer').append($('<a class="btn 
'+params.buttons[i].cssClass+'">'+params.buttons[i].name+'</a>').click(params.buttons[i].cbk));
-        }
-    }else{
-        $('#messageModal a.btn-primary').html('OK').click(function() {
-            $('#messageModal').modal('hide');
-        });
-    }
-    $('#messageModal a.btn-other').hide();
-    $('#messageModal').modal();
-};
-/*
- usage
- Show info dialog
- popbox.message({content:'foo',type:'info', cbk:function(){alert('Do something 
here.')} });
-
- Show warning
- dialog popbox.message({content:'foo',type:'warning', cbk:function(){alert('Do 
something here.')} });
-
- Show error dialog
- popbox.message({content:'foo',type:'error', cbk:function(){alert('Do 
something here.')} });
-
- Show confirm dialog
- 
popbox.message({content:'foo',type:'confirm',okCallback:function(){},cancelCallback:function(){}});
- */
-popbox.message = function(params){
-    if(params.type == "custom"){
-        popbox.messageDisplay(params);
-        return;
-    }
-    if(params.type == "confirm"){
-        if( params.title == undefined ){ params.title = "API Store"}
-        popbox.messageDisplay({content:params.content,title:params.title 
,buttons:[
-            {name:"Yes",cssClass:"btn btn-primary",cbk:function() {
-                $('#messageModal').modal('hide');
-                if(typeof params.okCallback == "function") 
{params.okCallback()};
-            }},
-            {name:"No",cssClass:"btn",cbk:function() {
-                $('#messageModal').modal('hide');
-                if(typeof params.cancelCallback  == "function") 
{params.cancelCallback()};
-            }}
-        ]
-        });
-        return;
-    }
-    var iconClass = "fa fa-times-circle-o";
-    if(params.type == "info"){ iconClass = "info fa fa-info-circle"}
-    if(params.type == "warning"){ iconClass = "warning fa 
fa-exclamation-circle"}
-    if(params.type == "error"){ iconClass = "error fa fa-times-circle-o"}
-    if(params.type == "confirm"){ iconClass = "confirm fa fa-question-circle"}
-    params.content = '<table class="msg-table"><tr><td class="imageCell"><i 
class="'+iconClass+'"></i></td><td><span 
class="messageText">'+params.content+'</span></td></tr></table>';
-    var type = "";
-    if(params.title == undefined){
-        if(params.type == "info"){ type = "Notification"}
-        if(params.type == "warning"){ type = "Warning"}
-        if(params.type == "error"){ type = "Error"}
-    }
-    popbox.messageDisplay({content:params.content,title:"API Store - " + 
type,buttons:[
-        {name:"OK",cssClass:"btn btn-primary",cbk:function() {
-            $('#messageModal').modal('hide');
-            if(params.cbk && typeof params.cbk == "function")
-                params.cbk();
-        }}
-    ]
-    });
-};
-}());

http://git-wip-us.apache.org/repos/asf/stratos/blob/6aabe7d9/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/tenant_management.js
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/tenant_management.js
 
b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/tenant_management.js
deleted file mode 100644
index b19fb9c..0000000
--- 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/tenant_management.js
+++ /dev/null
@@ -1,114 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF 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.
- *
-*/
-var toggleButtonState = function(){
-    var $activateTenantsBtn = $('#activateTenantsBtn');
-    var $deactivateTenantsBtn = $('#deactivateTenantsBtn');
-
-    if($('table input.js_domainCheck:checked').length == 0 ){
-        $activateTenantsBtn.prop("disabled",true);
-        $deactivateTenantsBtn.prop("disabled",true);
-    }else{
-        $activateTenantsBtn.prop("disabled",false);
-        $deactivateTenantsBtn.prop("disabled",false);
-    }
-};
-
-
-$(function(){
-    $('#checkAll').click(function(){
-        if($(this).is(":checked")){
-            $('table input.js_domainCheck').prop('checked',true);
-        } else{
-            $('table input.js_domainCheck').prop('checked',false);
-        }
-        toggleButtonState();
-    });
-    $('table input.js_domainCheck').click(function(){
-        toggleButtonState();
-    });
-    $( "#newTenantForm" ).validate({
-        rules: {
-            adminPassword: {required:true,maxlength:30,minlength:5},
-            adminPassword_again: {
-                equalTo: "#adminPassword"
-            }
-        }
-    });
-
-    toggleButtonState();
-
-});
-function manage_selected(action){
-    var checked = "";
-    $('table input.js_domainCheck:checked').each(function(){
-        checked += $(this).val();
-        checked += " - ";
-    });
-    if(action == "activate"){
-        $('#foo').val(checked);
-        $('#state').val(action);
-        $('#manageTenantsForm').submit();
-        //alert('activate-' + checked);
-    } else if(action == "deactivate"){
-        $('#foo').val(checked);
-        $('#state').val(action);
-        $('#manageTenantsForm').submit();
-        //alert('deactivate-' + checked);
-    } else if(action == "delete"){
-        $('#foo').val(checked);
-        $('#state').val(action);
-        $('#manageTenantsForm').submit();
-        //alert('delete-' + checked);
-    }
-}
-function manage_one(action,obj){
-
-    if(action == "activate"){
-        //alert('activate-' + $(obj).attr('data-domain'));
-        $('#foo').val($(obj).attr('data-domain'));
-        $('#state').val(action);
-        $('#manageTenantsForm').submit();
-    } else if(action == "deactivate"){
-        //alert('deactivate-' + $(obj).attr('data-domain'));
-         $('#foo').val($(obj).attr('data-domain'));
-         $('#state').val(action);
-        $('#manageTenantsForm').submit();
-    }
-}
-
-function checkAvailability() {
-    var domain = $('#tenantDomain').val();
-    if(domain.trim() == ""){
-        $('#domainMessage').show().html('Domain should not be 
empty.').addClass('noDomain').removeClass('hasDomain');
-        return;
-    }
-    $.ajax({
-        data:{domain:domain},
-        url:"/console/controllers/checkAvailability.jag",
-        success:function(data){
-            if(data=="false"){
-                $('#domainMessage').show().html('Domain is not 
available').addClass('noDomain').removeClass('hasDomain');
-            }else{
-                $('#domainMessage').show().html('Domain is 
available').addClass('hasDomain').removeClass('noDomain');
-            }
-        }
-    })
-}

http://git-wip-us.apache.org/repos/asf/stratos/blob/6aabe7d9/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/utils.js
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/utils.js
 
b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/utils.js
deleted file mode 100644
index 66c9a86..0000000
--- 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/utils.js
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF 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.
- *
-*/
-
-function syntaxHighlight(json) {
-    if (typeof json != 'string') {
-        json = JSON.stringify(json, undefined, 2);
-    }
-    json = json.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, 
'&gt;');
-    return 
json.replace(/("(\\u[a-zA-Z0-9]{4}|\\[^u]|[^\\"])*"(\s*:)?|\b(true|false|null)\b|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)/g,
 function (match) {
-        var cls = 'number';
-        if (/^"/.test(match)) {
-            if (/:$/.test(match)) {
-                cls = 'key';
-            } else {
-                cls = 'string';
-            }
-        } else if (/true|false/.test(match)) {
-            cls = 'boolean';
-        } else if (/null/.test(match)) {
-            cls = 'null';
-        }
-        return '<span class="' + cls + '">' + match + '</span>';
-    });
-}

Reply via email to