Updated Branches:
  refs/heads/master e72304172 -> d48fa396f

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f3a94af9/components/org.apache.stratos.manager.console/console/themes/theme1/ui/css/main.css
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/css/main.css
 
b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/css/main.css
index aa1363d..0f7863c 100644
--- 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/css/main.css
+++ 
b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/css/main.css
@@ -206,6 +206,9 @@ body {
     float:left;
     margin-right:10px;
 }
+i.icons-small-size{
+    font-size: 20px;
+}
 .content-starter{
     margin-top: 125px;
 }
@@ -329,7 +332,70 @@ h4{
     height: 55px;
     color:#999;
 }
-
+/* wizard menu */
+.sub-menu-wizard{
+    padding:0;
+    margin:-7px 0 0;
+}
+.sub-menu-wizard li{
+    list-style: none;
+    float:left;
+    background: #dcdcdc;
+    text-align: center;
+}
+.sub-menu-wizard li.no-background{
+    background: transparent;
+}
+.sub-menu-wizard li a{
+    display:block;
+    padding:5px 10px;
+    height: 55px;
+    text-align: center;
+}
+.sub-menu-wizard li.active a{
+    background: #ffae00;
+    color:#fff;
+}
+.sub-menu-wizard li span{
+    display:block;
+    padding:15px 10px;
+    border-left: solid 1px #f2f5f5;
+    border-right: solid 1px #d1d3d3;
+    height: 55px;
+    color:#999;
+}
+.sub-menu-wizard-pointer {
+    content: '';
+    border-style: solid;
+    border-width: 27px 0 28px 10px;
+    border-color: transparent #dcdcdc;
+    display: block;
+    width: 0;
+    z-index: 1;
+}
+ul li.active-pointer{
+    border-color: transparent #ffae00;
+    background: #ffae00;
+}
+div.wizard-number{
+    display: inline-block;
+    width:20px;
+    padding:2px 5px;
+    background: #595a5a;
+    color:#fff;
+    font-weight: bold;
+    font-size: 12px;
+    border-radius: 11px;
+    -moz-border-radius: 11px;
+    -webkit-border-radius: 11px;
+}
+div.in-active-wizard-item{
+    padding:5px 10px;
+    height: 55px;
+}
+ul.sub-menu-wizard li.active-no-background{
+    background: #dcdcdc;
+}
 /* syntax highlight styles */
 pre {border:none;background: transparent }
 .string { color: green; }
@@ -360,4 +426,52 @@ textarea.jsonEditor{
 }
 label.required{
     font-weight: bold;
+}
+li.dropdown ul.dropdown-menu li{
+    float: none;
+}
+li.dropdown ul.dropdown-menu li a{
+    height: 28px;
+    padding: 3px 20px;
+    text-align: left;
+}
+li.dropdown ul.dropdown-menu li a:hover{
+    background: #3e3f3f;
+}
+li.dropdown ul.dropdown-menu li a i{
+    font-size: 20px;
+}
+.green-check{
+    color: #00b600;
+    font-size:18px;
+}.orange-check{
+    color: #e68d00;
+    font-size:18px;
+}
+.table thead > tr > th{
+    vertical-align: top;
+    background: #9d9f9f;
+    color:#fff;
+}
+.table thead > tr > th div{
+    font-size: 11px;
+    color:#d9d9d9;
+}
+.terms-of-use{
+    padding:10px;
+    background: #f7f7f7;
+    border: solid 1px #d1d1d1;
+}
+#wrap > div.container, .main-menu div.container{
+    min-width: 800px;
+}
+@media (max-width: 980px) {
+    .sub-menu-wizard{
+        font-size: 11px;
+    }
+}
+@media (max-width: 1200px) {
+    .sub-menu{
+            font-size: 11px;
+        }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f3a94af9/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
new file mode 100644
index 0000000..4ac84b0
--- /dev/null
+++ 
b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/tenant_management.js
@@ -0,0 +1,30 @@
+$(function(){
+    $('#checkAll').click(function(){
+        if($(this).is(":checked")){
+            $('table input.js_domainCheck').prop('checked',true);
+        } else{
+            $('table input.js_domainCheck').prop('checked',false);
+        }
+    })
+});
+function manage_selected(action){
+    var checked = "";
+    $('table input.js_domainCheck:checked').each(function(){
+        checked += $(this).val();
+        checked += " - ";
+    });
+    if(action == "activate"){
+        alert('activate-' + checked);
+    }else if(action == "deactivate"){
+        alert('deactivate-' + checked);
+    }else if(action == "delete"){
+        alert('delete-' + checked);
+    }
+}
+function manage_one(action,obj){
+    if(action == "activate"){
+        alert('activate-' + $(obj).attr('data-domain'));
+    }else if(action == "deactivate"){
+        alert('deactivate-' + $(obj).attr('data-domain'));
+    }
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/f3a94af9/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/wizard.js
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/wizard.js
 
b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/wizard.js
new file mode 100644
index 0000000..34735bc
--- /dev/null
+++ 
b/components/org.apache.stratos.manager.console/console/themes/theme1/ui/js/wizard.js
@@ -0,0 +1,18 @@
+$(function () {
+    $('#wizardNext').click(function () {
+        var newStep = parseInt($(this).attr('data-step')) + 1;
+        location.href = '?step='+newStep;
+    });
+    $('#wizardBack').click(function () {
+        var newStep = parseInt($(this).attr('data-step')) - 1;
+        location.href = '?step='+newStep;
+    });
+    $('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));
+    });
+});

Reply via email to