[gen] Added the possibility to display the content of indexes for a given object on its view layout (param 'indexed' in the request).

This commit is contained in:
Gaetan Delannay 2014-12-19 11:21:43 +01:00
parent 982ae08997
commit 06c656d278
8 changed files with 66 additions and 8 deletions

View file

@ -112,6 +112,8 @@ td.search { padding-top: 8px }
.list td, .list th { border: 3px solid #ededed; color: grey;
padding: 3px 5px 3px 5px }
.list th { background-color: #e5e5e5; font-style: italic; font-weight: normal }
.compact { font-size: 90%; width: 100% }
.compact th, .compact td { padding: 0px 3px 0px 3px }
.grid th { font-style: italic; font-weight: normal;
border-bottom: 5px solid #fdfdfd; padding: 3px 5px 0 5px }
.grid td { padding: 3px 3px 0 3px }

View file

@ -1119,3 +1119,9 @@ function initFocus(pageId){
var elem = document.getElementById(id);
if (elem) elem.focus();
}
function reindexObject(indexName){
var f = document.forms['reindexForm'];
f.indexName.value = indexName;
f.submit();
}

BIN
gen/ui/reindex.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 632 B