Skip to content

Commit

Permalink
minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
eamahanna committed Oct 12, 2020
1 parent cdde52d commit 3d5272e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 10 deletions.
4 changes: 0 additions & 4 deletions kbase-extension/static/kbase/css/kbaseNarrative.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
font-weight: bold;
}

/*
TODO: find out if it's ok to set margins this way or if we should follow design convention for positioning
*/
.kb-dropzone .dz-message {
font-family: Roboto;
font-style: normal;
Expand Down Expand Up @@ -3028,7 +3025,6 @@ button.kb-data-obj {
border: none;
}

/* TODO: check with design on setting width/height (vs positioning) */
.kb-import-content .upload-options button {
background: #FFFFFF;
border: 1px solid #C4C4C4;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
<div class="upload-options">
Other ways to upload:
{{#if userInfo.globusLinked}}
<button class="globus_linked" aria-label="link to new window to upload via globus">
<a href="{{globusUrl}}" target="_blank" class="globus_link">Upload with Globus</a>
<button class="globus_linked">
<a href="{{globusUrl}}" target="_blank" class="globus_link" aria-label="opens new window to upload via globus">Upload with Globus</a>
</button>
{{else}}
<button class="globus_not_linked" aria-label="link to kbase globus upload docs">
<a href="https://docs.kbase.us/data/globus">Upload with Globus</a>
<button class="globus_not_linked">
<a href="https://docs.kbase.us/data/globus" target="_blank" aria-label="opens new window to kbase globus upload docs">Upload with Globus</a>
</button>
{{/if}}
<button class="web_upload_div">Upload with URL</button>
Expand Down
2 changes: 1 addition & 1 deletion test/unit/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module.exports = function (config) {
},
files: [
'kbase-extension/static/narrative_paths.js',
{pattern: 'test/unit/spec/narrative_core/upload/*.js', included: false},
{pattern: 'test/unit/spec/**/*.js', included: false},
{pattern: 'node_modules/jasmine-ajax/lib/mock-ajax.js', included: true},
{pattern: 'kbase-extension/static/ext_components/kbase-ui-plugin-catalog/src/plugin/modules/data/categories.yml', included: false, served: true},
{pattern: 'kbase-extension/static/**/*.css', included: false, served: true},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ define ([
});

it('Should render properly with a Globus linked account', (done) => {
let $node = $('<div>'),
var $node = $('<div>'),
linkedStagingViewer = new StagingAreaViewer($node, {
path: startingPath,
updatePathFn: updatePathFn,
Expand Down

0 comments on commit 3d5272e

Please sign in to comment.