This repository has been archived by the owner on Mar 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Adds section for additional files, and management of file metadata on DCC #8
Open
ManaseD
wants to merge
8
commits into
master
Choose a base branch
from
add-auxiliary-files
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
3ab6c66
Moved to new template with tabbed interface
ManaseD aee2ead
Add readset to the Add Sample modal. Adding to other files now has it…
ManaseD f945e58
Updated modals to handle additional files and show appropriate errors.
ManaseD 833bc30
Changed additional files to always appear as a sample at the top of t…
ManaseD 49fb6be
Updated readme with new curl command for creating auth tokens. DCC ta…
ManaseD 9dcff3f
Merge remote-tracking branch 'origin/master' into add-auxiliary-files
ManaseD 811207e
Fixed issue with duration being left out causing a key error when req…
ManaseD da92f01
Managing files on the DCC now updates the db when clicking save chang…
ManaseD 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 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
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 |
---|---|---|
@@ -1,5 +1,62 @@ | ||
/* Downloaded from: https://github.com/23/resumable.js/blob/master/samples/Node.js/public/style.css */ | ||
|
||
/* Move down content because we have a fixed navbar that is 50px tall */ | ||
body { | ||
padding-top: 50px; | ||
} | ||
|
||
/* | ||
* Global add-ons | ||
*/ | ||
|
||
.sub-header { | ||
padding-bottom: 10px; | ||
border-bottom: 1px solid #eee; | ||
} | ||
|
||
/* | ||
* Top navigation | ||
* Hide default border to remove 1px line. | ||
*/ | ||
.navbar-title { | ||
font-size: 18px; | ||
color: white; | ||
padding: 15px; | ||
cursor: default; | ||
} | ||
|
||
.navbar-fixed-top { | ||
border: 0; | ||
} | ||
|
||
.tab-label, | ||
.tab-label:hover { | ||
font-size: 14px; | ||
color: black; | ||
} | ||
|
||
.main, | ||
.sample-table { | ||
margin-top: 30px; | ||
} | ||
|
||
.step-header { | ||
margin-top: 15px; | ||
margin-bottom: 15px; | ||
} | ||
|
||
.step-description { | ||
text-align: justify; | ||
margin-bottom: 10px; | ||
} | ||
|
||
@media (min-width: 768px) { | ||
.footer-row { | ||
padding-right: 40px; | ||
padding-left: 40px; | ||
} | ||
} | ||
|
||
/* Reset */ | ||
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td { | ||
margin: 0; | ||
|
@@ -91,8 +148,7 @@ body { | |
text-align: left; | ||
} | ||
|
||
.dcc-table, | ||
.sample-table, | ||
.main, | ||
.cancel-upload, | ||
.pause-upload { | ||
display: none; | ||
|
@@ -160,11 +216,11 @@ th.header.files, th.header.option, th.header.progress { | |
text-align: center; | ||
} | ||
|
||
.sample-header-row { | ||
background-color: #f5f5f5; | ||
.table-striped>tbody>tr.sample-header-row { | ||
background-color: #eeeeee; | ||
} | ||
|
||
.sample-header-row:hover { | ||
.table-striped>tbody>tr.sample-header-row:hover { | ||
background-color: #dadada; | ||
} | ||
|
||
|
@@ -253,6 +309,7 @@ a.menu-item, | |
} | ||
|
||
.sample-table td.file-progress.progress { | ||
background-color: inherit; | ||
padding-right: 10px; | ||
width: 100px; | ||
display: none; | ||
|
@@ -403,21 +460,7 @@ input.error { | |
} | ||
|
||
.logout { | ||
margin-top: 68px; | ||
padding: 0; | ||
display: none; | ||
} | ||
|
||
.logout-button { | ||
color: black; | ||
background-color: #eee; | ||
border-color: #ddd; | ||
} | ||
|
||
.logout-button:hover { | ||
color: black; | ||
background-color: #dadada; | ||
border-color: #a2a2a2; | ||
font-size: 14px; | ||
} | ||
|
||
/* Add Sample */ | ||
|
@@ -439,10 +482,24 @@ p.error-description { | |
} | ||
|
||
.start-upload, | ||
.modal-add-sample-button { | ||
.modal-add-sample-button, | ||
.modal-add-files-button { | ||
width: 120px; | ||
} | ||
|
||
.modal-add-files-button { | ||
color: #2e6da4; | ||
background-color: #fff; | ||
border-color: #2e6da4; | ||
width: 120px; | ||
} | ||
|
||
.add-other-title, | ||
.add-other-description, | ||
.edit-other-title { | ||
display: none; | ||
} | ||
|
||
.cancel-upload { | ||
margin-right: 10px; | ||
} | ||
|
@@ -460,14 +517,14 @@ p.error-description { | |
} | ||
|
||
/* Uploader: Drag & Drop */ | ||
.resumable-error { | ||
.flow-error { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we call these something like |
||
display: none; | ||
font-size: 14px; | ||
font-style: italic; | ||
margin-top: 40px; | ||
} | ||
|
||
.resumable-droparea { | ||
.flow-droparea { | ||
padding: 60px 0; | ||
margin-top: 20px; | ||
font-size: 16px; | ||
|
@@ -480,17 +537,17 @@ p.error-description { | |
display: none; | ||
} | ||
|
||
.resumable-dragging { | ||
.flow-dragging { | ||
color: white; | ||
background-color: rgba(51, 51, 51, 0.61); | ||
border: 2px solid #999; | ||
} | ||
|
||
.resumable-dragging * { | ||
.flow-dragging * { | ||
pointer-events: none; | ||
} | ||
|
||
.resumable-browse u { | ||
.flow-browse u { | ||
cursor: pointer; | ||
} | ||
|
||
|
@@ -505,12 +562,12 @@ p.error-description { | |
} | ||
|
||
/* Uploader: Progress bar */ | ||
#resumable-progress-template, | ||
#flow-progress-template, | ||
.file-error-template { | ||
display: none; | ||
} | ||
|
||
.resumable-progress { | ||
.flow-progress { | ||
margin: 10px 0; | ||
width: 100%; | ||
height: 30px; | ||
|
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can probably do this with bootstrap col classes instead of your own custom media query.