remove reference to Firefox account when file is too big (#5138)

This commit is contained in:
Romain H 2021-01-26 21:26:24 +01:00 committed by root
parent 02dbca7f7c
commit 28d1caecdb

View File

@ -17,44 +17,16 @@ module.exports = function(trigger) {
class="flex flex-col flex-shrink-0 self-center lg:mx-6 lg:max-w-xs"
>
<h1 class="text-3xl font-bold text-center lg:text-left">
${state.translate('accountBenefitTitle')}
Taille maximale atteinte
</h1>
<ul
class="leading-normal list-disc text-grey-80 my-2 mt-4 pl-4 md:self-center dark:text-grey-40"
>
<li>
${state.translate('accountBenefitLargeFiles', {
size: bytes(state.LIMITS.MAX_FILE_SIZE)
})}
</li>
<li>${state.translate('accountBenefitDownloadCount')}</li>
<li>
${state.translate('accountBenefitTimeLimit', { count: DAYS })}
</li>
<li>${state.translate('accountBenefitSync')}</li>
<li>${state.translate('accountBenefitMoz')}</li>
</ul>
Vous ne pouvez pas partager de fichier de plus 1 Go sur
Drop.chapril.org.
</section>
<section
class="flex flex-col flex-grow m-4 md:self-center md:w-128 lg:max-w-xs"
>
<form onsubmit=${submitEmail} data-no-csrf>
<input
id="email-input"
type="email"
class="${hidden} border rounded-lg w-full px-2 py-1 h-12 mb-3 text-lg text-grey-70 leading-loose dark:bg-grey-80 dark:text-white"
placeholder=${state.translate('emailPlaceholder')}
/>
<input
class="btn rounded-lg w-full flex flex-shrink-0 items-center justify-center"
value="${state.translate('signInOnlyButton')}"
title="${state.translate('signInOnlyButton')}"
id="email-submit"
type="submit"
/>
</form>
<button
class="my-3 link-blue font-medium"
class="btn rounded-lg w-full flex flex-shrink-0 items-center justify-center"
title="${state.translate('deletePopupCancel')}"
onclick=${cancel}
>