From f0a60d8c8e70ad7855ec64979d4388a556cd2367 Mon Sep 17 00:00:00 2001 From: Danny Coates Date: Wed, 20 Feb 2019 19:59:29 -0800 Subject: [PATCH] added control titles --- app/ui/account.js | 2 ++ app/ui/archiveTile.js | 34 ++++++++++++++++++++++------------ app/ui/copyDialog.js | 2 ++ app/ui/download.js | 1 + app/ui/okDialog.js | 6 +++++- app/ui/signupDialog.js | 1 + tailwind.js | 1 + 7 files changed, 34 insertions(+), 13 deletions(-) diff --git a/app/ui/account.js b/app/ui/account.js index f0443456..d63569d3 100644 --- a/app/ui/account.js +++ b/app/ui/account.js @@ -64,6 +64,7 @@ class Account extends Component { @@ -89,6 +90,7 @@ class Account extends Component { diff --git a/app/ui/archiveTile.js b/app/ui/archiveTile.js index 9450c883..750d4f0f 100644 --- a/app/ui/archiveTile.js +++ b/app/ui/archiveTile.js @@ -159,6 +159,7 @@ module.exports = function(state, emit, archive) { @@ -196,7 +198,8 @@ module.exports = function(state, emit, archive) {

${archive.name}

@@ -243,7 +246,9 @@ module.exports.wip = function(state, emit) { ${list( Array.from(state.archive.files) .reverse() - .map(f => fileInfo(f, remove(f))), + .map(f => + fileInfo(f, remove(f, state.translate('deleteButtonHover'))) + ), 'bg-grey-lightest rounded-t list-reset overflow-y-auto px-6 py-4 md:h-full md:max-h-half-screen', 'bg-white px-2 my-2 shadow-light rounded' )} @@ -252,26 +257,29 @@ module.exports.wip = function(state, emit) { > -
${state.translate('totalSize', { size: bytes(state.archive.size) })}
- + ${expiryOptions(state, emit)} ${password(state, emit)} `; diff --git a/app/ui/copyDialog.js b/app/ui/copyDialog.js index 362355f4..0d2e6485 100644 --- a/app/ui/copyDialog.js +++ b/app/ui/copyDialog.js @@ -21,12 +21,14 @@ module.exports = function(name, url) { diff --git a/app/ui/download.js b/app/ui/download.js index 5c591625..825c3023 100644 --- a/app/ui/download.js +++ b/app/ui/download.js @@ -36,6 +36,7 @@ function password(state, emit) { ? 'bg-red hover:bg-red focus:bg-red' : ''}" value="${state.translate('unlockButtonLabel')}" + title="${state.translate('unlockButtonLabel')}" />