You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by la...@apache.org on 2014/11/27 10:16:01 UTC
[2/5] stratos git commit: added minor changes to style & js on listing
added minor changes to style & js on listing
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/428fb4b1
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/428fb4b1
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/428fb4b1
Branch: refs/heads/master
Commit: 428fb4b1318b58eaf4e92ab36a056f748d5d9c9f
Parents: 6bae9dc
Author: Dakshika Jayathilaka <si...@gmail.com>
Authored: Wed Nov 26 18:07:45 2014 +0530
Committer: Dakshika Jayathilaka <si...@gmail.com>
Committed: Wed Nov 26 18:07:45 2014 +0530
----------------------------------------------------------------------
.../console/themes/theme0/css/custom/style.css | 6 ++++++
.../console/themes/theme0/js/custom/form.js | 6 ++++--
2 files changed, 10 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/stratos/blob/428fb4b1/components/org.apache.stratos.manager.console/console/themes/theme0/css/custom/style.css
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/themes/theme0/css/custom/style.css b/components/org.apache.stratos.manager.console/console/themes/theme0/css/custom/style.css
index c9789ca..88b5c30 100644
--- a/components/org.apache.stratos.manager.console/console/themes/theme0/css/custom/style.css
+++ b/components/org.apache.stratos.manager.console/console/themes/theme0/css/custom/style.css
@@ -114,6 +114,12 @@
{
background: #428bca;
cursor: pointer;
+ color: #fff;
+}
+
+.list-button{
+ position: relative;
+ z-index: 802;
}
.list-group-item.border-right{
http://git-wip-us.apache.org/repos/asf/stratos/blob/428fb4b1/components/org.apache.stratos.manager.console/console/themes/theme0/js/custom/form.js
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/themes/theme0/js/custom/form.js b/components/org.apache.stratos.manager.console/console/themes/theme0/js/custom/form.js
index 92b9a5f..d4c1d6b 100644
--- a/components/org.apache.stratos.manager.console/console/themes/theme0/js/custom/form.js
+++ b/components/org.apache.stratos.manager.console/console/themes/theme0/js/custom/form.js
@@ -41,14 +41,16 @@ var currentJson;
$(document).ready(function() {
$('#list').click(function(event){
- event.preventDefault();
+ // event.preventDefault();
$('.general-table .block').addClass('list-group-item');
$('.general-table .block').removeClass('grid-group-item');
+ $('.general-table .block .list-button').css("display","block");
});
$('#grid').click(function(event){
- event.preventDefault();
+ //event.preventDefault();
$('.general-table .block').removeClass('list-group-item');
$('.general-table .block').addClass('grid-group-item');
+ $('.general-table .block .list-button').css({"display":"none"});
});
});