added first A/B experiment

This commit is contained in:
Danny Coates 2017-09-11 17:09:29 -07:00
parent 14e21988b2
commit 17e61bb09d
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
9 changed files with 159 additions and 10 deletions

View file

@ -13,7 +13,8 @@ module.exports = function(state, emit) {
'uploadPageLearnMore'
)}</a>
</div>
<div class="upload-window" ondragover=${dragover} ondragleave=${dragleave}>
<div class="${state.config
.uploadWindowStyle}" ondragover=${dragover} ondragleave=${dragleave}>
<div id="upload-img"><img src="${assets.get(
'upload.svg'
)}" title="${state.translate('uploadSvgAlt')}"/></div>
@ -22,9 +23,10 @@ module.exports = function(state, emit) {
'uploadPageSizeMessage'
)}</em></span>
<form method="post" action="upload" enctype="multipart/form-data">
<label for="file-upload" id="browse" class="btn">${state.translate(
'uploadPageBrowseButton1'
)}</label>
<label for="file-upload" id="browse" class="${state.config
.uploadButtonStyle}">${state.translate(
'uploadPageBrowseButton1'
)}</label>
<input id="file-upload" type="file" name="fileUploaded" onchange=${upload} />
</form>
</div>