|
@@ -4,6 +4,7 @@ import WBNavbar from 'wb-navbar'; |
|
|
import WBProjectListing from 'wb-project-listing';
|
|
|
import WBProjectListing from 'wb-project-listing';
|
|
|
import WBInlineSearch from 'wb-inline-search';
|
|
|
import WBInlineSearch from 'wb-inline-search';
|
|
|
import WBProjectCrumbs from 'wb-project-crumbs';
|
|
|
import WBProjectCrumbs from 'wb-project-crumbs';
|
|
|
|
|
|
import WBTabs from 'wb-tabs';
|
|
|
|
|
|
|
|
|
class WBBrowse extends Component {
|
|
|
class WBBrowse extends Component {
|
|
|
render({ ownerUuid, activePage, appCallbacks, appState }) {
|
|
|
render({ ownerUuid, activePage, appCallbacks, appState }) {
|
|
@@ -20,12 +21,16 @@ class WBBrowse extends Component { |
|
|
<WBProjectCrumbs uuid={ ownerUuid } appState={ appState }
|
|
|
<WBProjectCrumbs uuid={ ownerUuid } appState={ appState }
|
|
|
onItemClicked={ item => route('/browse/' + item['uuid']) } />
|
|
|
onItemClicked={ item => route('/browse/' + item['uuid']) } />
|
|
|
|
|
|
|
|
|
|
|
|
<WBTabs tabs={ [ { 'name': 'Projects', 'isActive': true } ] } />
|
|
|
|
|
|
|
|
|
<WBProjectListing arvHost={ appState.arvHost }
|
|
|
<WBProjectListing arvHost={ appState.arvHost }
|
|
|
arvToken={ appState.arvToken }
|
|
|
arvToken={ appState.arvToken }
|
|
|
ownerUuid={ ownerUuid }
|
|
|
ownerUuid={ ownerUuid }
|
|
|
itemsPerPage="5"
|
|
|
itemsPerPage="5"
|
|
|
activePage={ Number(activePage || 0) }
|
|
|
activePage={ Number(activePage || 0) }
|
|
|
onPageChanged={ i => route('/browse/' + (ownerUuid || '') + '/' + i)} />
|
|
|
onPageChanged={ i => route('/browse/' + (ownerUuid || '') + '/' + i)} />
|
|
|
|
|
|
|
|
|
|
|
|
<WBTabs tabs={ [ { 'name': 'Collections', 'isActive': true }, 'Processes', 'Workflows' ] } />
|
|
|
</div>
|
|
|
</div>
|
|
|
);
|
|
|
);
|
|
|
}
|
|
|
}
|
|
|