-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #233 from nih-sparc/work-on-adding-github-repos
Add ability to view datasets published on GitHub
- Loading branch information
Showing
4 changed files
with
69 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<template> | ||
<div> | ||
<div class="heading2 mb-8"> | ||
Repository | ||
</div> | ||
<div class="mb-16"> | ||
The design and code files for the device are stored in a public repository on GitHUB. Please feel free to clone the repository for your usage. | ||
</div> | ||
<div class="mb-16"><span class="label4">Repository Link: </span><a target="_blank" :href="repoLink">{{ repoLink }}</a></div> | ||
<a | ||
:href="repoLink" | ||
target="_blank" | ||
> | ||
<el-button> | ||
Visit Repository <svgo-icon-open class="icon-open" /> | ||
</el-button> | ||
</a> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: 'SourceCodeInfo', | ||
props: { | ||
repoLink: { | ||
type: String, | ||
default: () => "", | ||
required: true | ||
}, | ||
} | ||
} | ||
</script> | ||
|
||
<style lang="scss" scoped> | ||
.icon-open { | ||
height: 1.5rem; | ||
width: 1.5rem; | ||
margin-top: 2px; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters