-
Notifications
You must be signed in to change notification settings - Fork 292
AWS megatests outputs page #514
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 23 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
987595c
first proof-of-concept version of example outputs page
bd6c4d6
Addd breadcrumb-item li classes
ewels ce7ff4d
Bugfix: delimiter was being reset due to missing checkbox
ewels 9351ce6
add file preview, fix breadcrumb links
bb5b6b9
disable backtracking to bucket level
c677b6b
add '..' back element, add colored icons, make first column wider
0d0ad39
add 10MB preview limit
515bde4
fix dark mode
89ac8fc
add preview to more file types
d3a8c95
add copyright/license notice (I hope this is sufficient)
b49e9b6
add sidebar to aws preview
a40d0e7
add url-copy buttons
039bc89
Apply suggestions from code review
mashehu a0485cf
add dependencies
ff1417d
Merge branch 'add-aws-results-page' of github.com:mashehu/nf-co.re in…
f46839e
move css rule to correct file, show a bit more preview
549ea6c
switch preview and download behavior, add error messages for incompat…
ad733fb
Merge branch 'master' of https://github.com/nf-core/nf-co.re into add…
735789d
fix according to comments
931fc80
add url-based links into directories
88ffbf1
add changes in php file for deep links
62583ab
switch iframe back to `srcdoc` rendering
mashehu 10a11c1
Merge branch 'master' into add-aws-results-page
ewels 5dd7fc5
Remove commented-out code
ewels File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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,95 @@ | ||
| <?php | ||
| // Build the HTML for a pipeline documentation page. | ||
| // Imported by public_html/pipeline.php - pulls a markdown file from GitHub and renders. | ||
| $mainpage_container = false; | ||
| $aws=true; | ||
| ob_start(); | ||
| ?> | ||
| <div id="page-wrapper"> | ||
| <div class="row"> | ||
| <div class="col-lg-12"> | ||
| <div class="row "> | ||
| <!-- Panel including title, breadcrumbs, and controls --> | ||
| <div class="col"> | ||
| <!-- Title and breadcrumbs --> | ||
| <div class="d-flex align-items-center title-bar"> | ||
| <!-- App title --> | ||
| <div class="title "> | ||
| <i class="fab fa-aws fa-lg mr-3 mb-3"></i> | ||
| </div> | ||
| <!-- Bucket breadcrumbs --> | ||
| <ul id="breadcrumb" class="breadcrumb"> | ||
| <li class="breadcrumb-item active"> | ||
| <a href="#"><i class="fas fa-circle-notch fa-spin"></i></a> | ||
| </li> | ||
| </ul> | ||
| <button type="button" class="btn btn-outline-secondary copy-url ml-auto" data-target="">Copy Bucket S3 URL</button> | ||
| </div> | ||
| <!-- Controls --> | ||
| <div id="navbuttons" class=""> | ||
| <div> | ||
| <!-- Dual purpose: progress spinner and refresh button, plus object count --> | ||
| <div class="btn-group" id="refresh"> | ||
| <span id="bucket-loader" class="btn fa fa-refresh fa-2x " title="Refresh"></span> | ||
| <!-- <span id="badgecount" class="badge pull-right" title="Object count">42</span> --> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| <!-- Panel including S3 object table --> | ||
| <div class="panel-body"> | ||
| <table class="table table-bordered table-hover responsive" id="tb-s3objects"> | ||
| <thead> | ||
| <tr> | ||
| <th>Name</th> | ||
| <th>Folder</th> | ||
| <th class="text-left">Last Modified</th> | ||
| <th class="text-left">Size</th> | ||
| </tr> | ||
| </thead> | ||
| <tbody id="tbody-s3objects"></tbody> | ||
| </table> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| <div id="file-preview" class="card"> | ||
| </div> | ||
|
|
||
| <div class="toast" id="url-copied" data-delay="5000" role="alert" aria-live="assertive" aria-atomic="true"> | ||
| <div class="toast-header"> | ||
| <img src="/assets/img/logo/nf-core-logo-square.png" class="rounded mr-2" alt=""> | ||
| <strong class="mr-auto">URL copied to clipboard!</strong> | ||
| <button type="button" class="ml-2 mb-1 close" data-dismiss="toast" aria-label="Close"> | ||
| <span aria-hidden="true">×</span> | ||
| </button> | ||
| </div> | ||
| <!-- <div class="toast-body"> | ||
| Paste this command into your terminal to run the pipeline with a small test dataset. | ||
| </div> --> | ||
|
ewels marked this conversation as resolved.
Outdated
|
||
| </div> | ||
|
|
||
| <script type="text/javascript"> | ||
| var HIDE_INDEX = true; | ||
| var prefix = window.location.hash.length>0 ? window.location.hash.substr(1) : '<?php echo $pipeline->name?>/results-<?php echo $release_hash ?>/' | ||
| var s3exp_config = { | ||
| Region: 'eu-west-1', | ||
| Bucket: 'nf-core-awsmegatests', | ||
| Prefix: prefix, | ||
| Delimiter: '/' | ||
| }; | ||
| var s3exp_lister = null; | ||
| var s3exp_columns = { | ||
| key: 1, | ||
| folder: 2, | ||
| date: 3, | ||
| size: 4 | ||
| }; | ||
|
|
||
| </script> | ||
|
|
||
| <?php | ||
| $content = ob_get_contents(); | ||
| ob_end_clean(); | ||
| ?> | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.