IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
소스 검색

Object type tabs mockup.

pull/1/head
부모
커밋
d879964fdc
2개의 변경된 파일9개의 추가작업 그리고 0개의 파일을 삭제
  1. +5
    -0
      frontend/src/js/page/wb-browse.js
  2. +4
    -0
      frontend/src/js/widget/wb-tabs.js

+ 5
- 0
frontend/src/js/page/wb-browse.js 파일 보기

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


+ 4
- 0
frontend/src/js/widget/wb-tabs.js 파일 보기

@@ -30,4 +30,8 @@ class WBTabs extends Component {
}
}
WBTabs.defaultProps = {
'onTabChanged': () => {}
};
export default WBTabs;

불러오는 중...
취소
저장