Skip to content

Commit

Permalink
feat: add BAO Ontology terms (#1961)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tasnim Mehzabin committed Jul 31, 2024
1 parent cd4a793 commit 76f6f91
Show file tree
Hide file tree
Showing 3 changed files with 13,547 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/packs/src/apps/admin/AdminHome.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class AdminHome extends React.Component {
<NavItem eventKey={7}>UI features</NavItem>
<NavItem eventKey={8}>Text Templates</NavItem>
<NavItem eventKey={2}>Message Publish</NavItem>
<NavItem eventKey={5}>Load OLS Terms</NavItem>
<NavItem eventKey={5}>Load Ontology Terms</NavItem>
{/* <NavItem eventKey={12}>Report-template Management</NavItem> */}
<NavItem eventKey={13}>Delayed Jobs </NavItem>
<NavItem eventKey={14}>ChemSpectra Layouts </NavItem>
Expand Down
5 changes: 4 additions & 1 deletion app/packs/src/apps/admin/OlsTerms.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export default class OlsTerms extends React.Component {
<Row style={{ maxWidth: '2000px', maxHeight: '1000px', margin: 'auto' }}>
{this.dropzoneOrfilePreview()}
<ButtonToolbar>
<Button bsStyle="warning" onClick={() => this.handleClick()}>Import OLS Terms (the file name will be the OLS_name)</Button>
<Button bsStyle="warning" onClick={() => this.handleClick()}>Import Ontology Terms (the file name will be the OLS_name)</Button>
</ButtonToolbar>
</Row>
<Row style={{ maxWidth: '2000px', maxHeight: '1000px', margin: 'auto' }}>
Expand All @@ -178,6 +178,9 @@ export default class OlsTerms extends React.Component {
<MenuItem key="chmo" onSelect={() => this.handleSelectName('chmo')}>
chmo
</MenuItem>
<MenuItem key="chmo" onSelect={() => this.handleSelectName('bao')}>
bao
</MenuItem>
</DropdownButton>
<div><h3>{this.state.selectName}</h3></div>
<Button
Expand Down
Loading

0 comments on commit 76f6f91

Please sign in to comment.