Add the storage limit warning in the toolbar
This commit is contained in:
@@ -79,6 +79,22 @@
|
||||
}
|
||||
}
|
||||
|
||||
.cryptpad-limit {
|
||||
color: red;
|
||||
box-sizing: content-box;
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
display: inline-block;
|
||||
padding: 3px;
|
||||
margin: 3px;
|
||||
margin-right: 6px;
|
||||
font-size: 20px;
|
||||
span {
|
||||
cursor: pointer;
|
||||
margin: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.cryptpad-lag {
|
||||
box-sizing: content-box;
|
||||
height: 16px;
|
||||
|
||||
@@ -150,6 +150,20 @@
|
||||
.cryptpad-toolbar button.hidden {
|
||||
display: none;
|
||||
}
|
||||
.cryptpad-toolbar .cryptpad-limit {
|
||||
color: red;
|
||||
box-sizing: content-box;
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
display: inline-block;
|
||||
padding: 3px;
|
||||
margin: 3px;
|
||||
margin-right: 6px;
|
||||
font-size: 20px;
|
||||
}
|
||||
.cryptpad-toolbar .cryptpad-limit span {
|
||||
margin: auto;
|
||||
}
|
||||
.cryptpad-toolbar .cryptpad-lag {
|
||||
box-sizing: content-box;
|
||||
height: 16px;
|
||||
|
||||
@@ -55,6 +55,10 @@ define(function () {
|
||||
out.orangeLight = "Votre connexion est lente, ce qui réduit la qualité de l'éditeur";
|
||||
out.redLight = "Vous êtes déconnectés de la session";
|
||||
|
||||
out.pinLimitReached = "Vous avez atteint votre limite de stockage";
|
||||
out.pinLimitReachedAlert = "Vous avez atteint votre limite de stockage. Ce pad ne sera pas enregistré dans votre CrypDrive.<br>" +
|
||||
"Pour résoudre ce problème, vous pouvez soit supprimer des pads de votre CryptDrive (y compris la corbeille), soit vous abonner à une offre premium pour augmenter la limite maximale.";
|
||||
|
||||
out.importButtonTitle = 'Importer un pad depuis un fichier local';
|
||||
|
||||
out.exportButtonTitle = 'Exporter ce pad vers un fichier local';
|
||||
|
||||
@@ -57,6 +57,10 @@ define(function () {
|
||||
out.orangeLight = "Your slow connection may impact your experience";
|
||||
out.redLight = "You are disconnected from the session";
|
||||
|
||||
out.pinLimitReached = "You've reached your storage limit";
|
||||
out.pinLimitReachedAlert = "You've reached your storage limit. This pad won't be stored in your CryptDrive.<br>" +
|
||||
"To fix this problem, you can either remove pads from your CryptDrive (including the trash) or subscribe to a premium offer to increase your limit.";
|
||||
|
||||
out.importButtonTitle = 'Import a pad from a local file';
|
||||
|
||||
out.exportButtonTitle = 'Export this pad to a local file';
|
||||
|
||||
Reference in New Issue
Block a user