diff --git a/html/admin/css/collectionView.css b/html/admin/css/collectionView.css index 2e10bd378f..c6107f0dab 100644 --- a/html/admin/css/collectionView.css +++ b/html/admin/css/collectionView.css @@ -11,3 +11,7 @@ width: 250px; height: 250px; } + +#tab-content-collection-info { + min-height: 200px !important; +} diff --git a/html/admin/css/modal.css b/html/admin/css/modal.css index c5f2bda56f..d20fb91966 100644 --- a/html/admin/css/modal.css +++ b/html/admin/css/modal.css @@ -57,3 +57,68 @@ padding-top: 3px; padding-bottom: 3px; } + +.collectionInfoTh { + width: 320px; +} + +.collectionInfoTh2 { + text-align:left; + width: 150px; +} + +#figures table { + padding: 3px; + text-align: left; + min-width: 200px; + margin-top: 0px; + margin-left: 0; + margin-right: 0; + float:left; +/* + border-collapse: separate !important; + border-spacing: 0 6px !important; +*/ +} + +#figures1, #figures2 { + margin-bottom: 20px; + width: 255px; +} + +#figures2 { + margin-left: 20px !important; +} + +#figures3 { + width: 100%; + margin-bottom: 0; +} + +.figuresHeader { + background-image: -moz-linear-gradient(center top , #F3EFEC, #EBE7E3) !important; + border-bottom: 1px solid #C1BDBA; +} + +#collectionIndexTable { + margin-left: 0; + width: 100%; +} +/* +.figuresFirst { + background-color: #F4F4F4 !important; +} + +#figures table .modal-text { + margin-bottom: 5px; + background-image: -moz-linear-gradient(top, #ffffff, #f5f5f5); + background-image: -ms-linear-gradient(top, #ffffff, #f5f5f5); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f5f5f5)); + background-image: -webkit-linear-gradient(top, #ffffff, #f5f5f5); + background-image: -o-linear-gradient(top, #ffffff, #f5f5f5); + background-image: linear-gradient(top, #ffffff, #f5f5f5); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f5f5f5', GradientType=0); + padding: 0 !important; +} + + diff --git a/html/admin/js/collections/arangoCollections.js b/html/admin/js/collections/arangoCollections.js index 38cd6f7e03..ce5ff0a16b 100644 --- a/html/admin/js/collections/arangoCollections.js +++ b/html/admin/js/collections/arangoCollections.js @@ -150,7 +150,24 @@ window.arangoCollections = Backbone.Collection.extend({ return result; }, - + getIndex: function (id) { + var data2; + $.ajax({ + type: "GET", + cache: false, + url: "/_api/index/?collection=" + id, + contentType: "application/json", + processData: false, + async: false, + success: function(data) { + data2 = data; + }, + error: function(data) { + data2 = data; + } + }); + return data2; + }, getProperties: function (id) { var data2; $.ajax({ @@ -187,6 +204,24 @@ window.arangoCollections = Backbone.Collection.extend({ }); return data2; }, + getRevision: function (id) { + var data2; + $.ajax({ + type: "GET", + cache: false, + url: "/_api/collection/" + id + "/revision", + contentType: "application/json", + processData: false, + async: false, + success: function(data) { + data2 = data; + }, + error: function(data) { + data2 = data; + } + }); + return data2; + }, checkCollectionName: function (name) { }, newCollection: function (collName, wfs, isSystem, journalSize, collType) { diff --git a/html/admin/js/templates/collectionInfoView.ejs b/html/admin/js/templates/collectionInfoView.ejs index 9755aff661..b7f3382508 100644 --- a/html/admin/js/templates/collectionInfoView.ejs +++ b/html/admin/js/templates/collectionInfoView.ejs @@ -1,56 +1,82 @@
- diff --git a/html/admin/js/templates/collectionView.ejs b/html/admin/js/templates/collectionView.ejs index 1a9c312d2d..e36e6f3b56 100644 --- a/html/admin/js/templates/collectionView.ejs +++ b/html/admin/js/templates/collectionView.ejs @@ -15,7 +15,7 @@