diff --git a/.dockerignore b/.dockerignore index ae07c677..6c87ade9 100644 --- a/.dockerignore +++ b/.dockerignore @@ -7,3 +7,6 @@ scripts docs firefox public +views +webpack +frontend diff --git a/circle.yml b/circle.yml index 574e22e4..af534362 100644 --- a/circle.yml +++ b/circle.yml @@ -16,7 +16,6 @@ deployment: latest: branch: master commands: - - npm run build - docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS - docker build -t mozilla/send:latest . - docker push mozilla/send:latest @@ -24,14 +23,13 @@ deployment: tag: /.*/ owner: mozilla commands: - - npm run build - docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS - docker build -t mozilla/send:$CIRCLE_TAG . - docker push mozilla/send:$CIRCLE_TAG test: override: - - npm run build:version + - npm run build - npm run lint - npm test - nsp check diff --git a/frontend/src/fileList.js b/frontend/src/fileList.js index 74b0240a..436e7a5a 100644 --- a/frontend/src/fileList.js +++ b/frontend/src/fileList.js @@ -3,6 +3,8 @@ import Storage from './storage'; import * as metrics from './metrics'; import { allowedCopy, copyToClipboard, ONE_DAY_IN_MS } from './utils'; import bel from 'bel'; +import copyImg from '../../public/resources/copy-16.svg'; +import closeImg from '../../public/resources/close-16.svg'; const HOUR = 1000 * 60 * 60; const storage = new Storage(); @@ -58,13 +60,13 @@ function addFile(file) { ${file.name} - + ${timeLeft(countdown)} - +