eol transition release
This commit is contained in:
parent
be5ea12408
commit
900b083077
|
@ -2,3 +2,4 @@ dist
|
||||||
assets
|
assets
|
||||||
firefox
|
firefox
|
||||||
coverage
|
coverage
|
||||||
|
app/pages/welcome/index.js
|
||||||
|
|
|
@ -31,7 +31,7 @@ export default function(state, emitter) {
|
||||||
alert(state.translate('fileTooBig', { size: bytes(MAXFILESIZE) }));
|
alert(state.translate('fileTooBig', { size: bytes(MAXFILESIZE) }));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
emitter.emit('upload', { file, type: 'drop' });
|
// emitter.emit('upload', { file, type: 'drop' });
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -8,43 +8,20 @@ module.exports = function(state, emit) {
|
||||||
// the page flickers if both the server and browser set 'effect--fadeIn'
|
// the page flickers if both the server and browser set 'effect--fadeIn'
|
||||||
const fade = state.layout ? '' : 'effect--fadeIn';
|
const fade = state.layout ? '' : 'effect--fadeIn';
|
||||||
return html`
|
return html`
|
||||||
<div id="page-one" class="${fade}">
|
<div id="page-one" class="${fade}">
|
||||||
<div class="title">${state.translate('uploadPageHeader')}</div>
|
<div class="title">${state.translate('uploadPageHeader')}</div>
|
||||||
<div class="description">
|
<div class="description">
|
||||||
<div>${state.translate('uploadPageExplainer')}</div>
|
<div>${state.translate('uploadPageExplainer')}</div>
|
||||||
<a
|
<a href="https://testpilot.firefox.com/experiments/send" class="link">
|
||||||
href="https://testpilot.firefox.com/experiments/send"
|
${state.translate('uploadPageLearnMore')}
|
||||||
class="link">
|
</a>
|
||||||
${state.translate('uploadPageLearnMore')}
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
<div class="uploadArea"
|
|
||||||
ondragover=${dragover}
|
|
||||||
ondragleave=${dragleave}>
|
|
||||||
<img
|
|
||||||
src="${assets.get('upload.svg')}"
|
|
||||||
title="${state.translate('uploadSvgAlt')}"/>
|
|
||||||
<div class="uploadArea__msg">
|
|
||||||
${state.translate('uploadPageDropMessage')}
|
|
||||||
</div>
|
</div>
|
||||||
<span class="uploadArea__sizeMsg">
|
<div class="uploadArea">
|
||||||
${state.translate('uploadPageSizeMessage')}
|
<h1>New uploads are temporarily unavailable</h1>
|
||||||
</span>
|
<p>Please return tomorrow for a brand new experience</p>
|
||||||
<input id="file-upload"
|
</div>
|
||||||
class="inputFile"
|
${fileList(state, emit)}
|
||||||
type="file"
|
|
||||||
name="fileUploaded"
|
|
||||||
onfocus=${onfocus}
|
|
||||||
onblur=${onblur}
|
|
||||||
onchange=${upload} />
|
|
||||||
<label for="file-upload"
|
|
||||||
class="btn btn--file"
|
|
||||||
title="${state.translate('uploadPageBrowseButton1')}">
|
|
||||||
${state.translate('uploadPageBrowseButton1')}
|
|
||||||
</label>
|
|
||||||
</div>
|
</div>
|
||||||
${fileList(state, emit)}
|
|
||||||
</div>
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
function dragover(event) {
|
function dragover(event) {
|
||||||
|
|
32
circle.yml
32
circle.yml
|
@ -110,25 +110,25 @@ workflows:
|
||||||
ignore: /.*/
|
ignore: /.*/
|
||||||
tags:
|
tags:
|
||||||
only: /^v.*/
|
only: /^v.*/
|
||||||
- test:
|
# - test:
|
||||||
filters:
|
# filters:
|
||||||
branches:
|
# branches:
|
||||||
ignore: /.*/
|
# ignore: /.*/
|
||||||
tags:
|
# tags:
|
||||||
only: /^v.*/
|
# only: /^v.*/
|
||||||
- integration_tests:
|
# - integration_tests:
|
||||||
requires:
|
# requires:
|
||||||
- build
|
# - build
|
||||||
filters:
|
# filters:
|
||||||
branches:
|
# branches:
|
||||||
ignore: /.*/
|
# ignore: /.*/
|
||||||
tags:
|
# tags:
|
||||||
only: /^v.*/
|
# only: /^v.*/
|
||||||
- deploy_stage:
|
- deploy_stage:
|
||||||
requires:
|
requires:
|
||||||
- build
|
- build
|
||||||
- test
|
# - test
|
||||||
- integration_tests
|
# - integration_tests
|
||||||
filters:
|
filters:
|
||||||
branches:
|
branches:
|
||||||
ignore: /.*/
|
ignore: /.*/
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "firefox-send",
|
"name": "firefox-send",
|
||||||
"version": "2.6.3",
|
"version": "2.6.4",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "firefox-send",
|
"name": "firefox-send",
|
||||||
"description": "File Sharing Experiment",
|
"description": "File Sharing Experiment",
|
||||||
"version": "2.6.3",
|
"version": "2.6.4",
|
||||||
"author": "Mozilla (https://mozilla.org)",
|
"author": "Mozilla (https://mozilla.org)",
|
||||||
"repository": "mozilla/send",
|
"repository": "mozilla/send",
|
||||||
"homepage": "https://github.com/mozilla/send/",
|
"homepage": "https://github.com/mozilla/send/",
|
||||||
|
|
Loading…
Reference in New Issue