Loading message and loading bar for migration

This commit is contained in:
yflory
2018-05-04 18:41:54 +02:00
parent d6d53e4068
commit 2d2701596a
12 changed files with 178 additions and 17 deletions

View File

@@ -151,6 +151,24 @@ define([], function () {
max-width: 60%;
display: inline-block;
}
.cp-loading-progress {
width: 100%;
margin: 20px;
}
.cp-loading-progress p {
margin: 5px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.cp-loading-progress-bar {
height: 5px;
background: white;
}
.cp-loading-progress-bar-value {
height: 100%;
background: #00ff37;
}
*/}).toString().slice(14, -3);
var urlArgs = window.location.href.replace(/^.*\?([^\?]*)$/, function (all, x) { return x; });
var elem = document.createElement('div');

View File

@@ -334,7 +334,7 @@
width: 95%;
margin: 10px auto;
}
.cp-creation-expire{
.cp-creation-expire {
&.active {
label {
flex: 1;

View File

@@ -1120,5 +1120,12 @@ define(function () {
out.share_embedCategory = "Intégration";
out.share_mediatagCopy = "Copier le mediatag";
// Loading info
out.loading_pad_1 = "Initialisation du pad";
out.loading_pad_2 = "Chargement du contenu du pad";
out.loading_drive_1 = "Préparation des données de l'utilisateur";
out.loading_drive_2 = "Mise à jour des données de l'utilisateur";
out.loading_drive_3 = "Vérification des données de l'utilisateur";
return out;
});

View File

@@ -1166,6 +1166,12 @@ define(function () {
out.share_embedCategory = "Embed";
out.share_mediatagCopy = "Copy mediatag to clipboard";
// Loading info
out.loading_pad_1 = "Initializing pad";
out.loading_pad_2 = "Loading pad content";
out.loading_drive_1 = "Preparing user data";
out.loading_drive_2 = "Upgrading user data to the latest version";
out.loading_drive_3 = "Checking user data integrity";
return out;
});