From d6d2fb2b077ed238e78e1b67df8ad419778b1b39 Mon Sep 17 00:00:00 2001 From: Heiko Kernbach Date: Wed, 24 Jul 2013 11:08:01 +0200 Subject: [PATCH 1/2] small changes --- html/admin/css/collectionsItemView.css | 9 +++++++++ html/admin/js/views/collectionsItemView.js | 2 +- html/admin/js/views/collectionsView.js | 6 +++++- html/admin/js/views/dashboardView.js | 3 +++ 4 files changed, 18 insertions(+), 2 deletions(-) diff --git a/html/admin/css/collectionsItemView.css b/html/admin/css/collectionsItemView.css index 3afe354662..c8f669b91e 100644 --- a/html/admin/css/collectionsItemView.css +++ b/html/admin/css/collectionsItemView.css @@ -66,3 +66,12 @@ .icon-edit:hover, .icon-info-sign:hover { opacity: 1.0; } + +.disabled-info-view { + opacity: 0.2 !important; +} + +.disabled-info-view:hover { + opacity: 0.2 !important; + cursor: default !important; +} diff --git a/html/admin/js/views/collectionsItemView.js b/html/admin/js/views/collectionsItemView.js index c578188674..26bdd2e22d 100644 --- a/html/admin/js/views/collectionsItemView.js +++ b/html/admin/js/views/collectionsItemView.js @@ -14,7 +14,7 @@ window.CollectionListItemView = Backbone.View.extend({ events: { 'click .pull-left' : 'noop', 'click .icon-edit' : 'editProperties', - 'click .icon-info-sign' : 'showProperties', + 'click .show-info-view' : 'showProperties', 'click': 'selectCollection' }, render: function () { diff --git a/html/admin/js/views/collectionsView.js b/html/admin/js/views/collectionsView.js index 247995311c..5b847bb7a5 100644 --- a/html/admin/js/views/collectionsView.js +++ b/html/admin/js/views/collectionsView.js @@ -30,9 +30,13 @@ var collectionsView = Backbone.View.extend({ //append info icon for loaded collections $('.loaded').parent().prev().append( - '' ); + $('.unloaded').parent().prev().append( + '' + ); $('#searchInput').val(searchOptions.searchPhrase); $('#searchInput').focus(); diff --git a/html/admin/js/views/dashboardView.js b/html/admin/js/views/dashboardView.js index 774db23b19..f4981f45ee 100644 --- a/html/admin/js/views/dashboardView.js +++ b/html/admin/js/views/dashboardView.js @@ -95,6 +95,9 @@ var dashboardView = Backbone.View.extend({ this.replLogState = this.arangoReplication.getLogState(); this.replApplyState = this.arangoReplication.getApplyState(); this.putReplicationStatus(); + + console.log(this.replLogState); + console.log(this.replApplyState); }, putReplicationStatus: function () { From fda27dd44a3eaba36088b8cdcf95916144836d22 Mon Sep 17 00:00:00 2001 From: Heiko Kernbach Date: Wed, 24 Jul 2013 11:49:36 +0200 Subject: [PATCH 2/2] fixed navigation routes, render optimization aql --- html/admin/js/templates/queryView.ejs | 2 +- html/admin/js/views/collectionInfoView.js | 2 -- html/admin/js/views/newCollectionView.js | 1 + html/admin/js/views/queryView.js | 4 +++- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/html/admin/js/templates/queryView.ejs b/html/admin/js/templates/queryView.ejs index 61e257d341..85646e8129 100644 --- a/html/admin/js/templates/queryView.ejs +++ b/html/admin/js/templates/queryView.ejs @@ -4,7 +4,7 @@ -
+