Breaking: deprecate dropbox backup

This commit is contained in:
eight 2020-02-02 17:42:48 +08:00
parent 3c0c81ae51
commit 61c8a66384
3 changed files with 16 additions and 2 deletions

View File

@ -1544,6 +1544,9 @@
"syncDropboxStyles": { "syncDropboxStyles": {
"message": "Dropbox Export" "message": "Dropbox Export"
}, },
"syncDropboxDeprecated": {
"message": "Dropbox import/export is replaced by a more advanced style sync in the options page."
},
"retrieveDropboxSync": { "retrieveDropboxSync": {
"message": "Dropbox Import" "message": "Dropbox Import"
}, },

View File

@ -383,7 +383,7 @@
<div class="dropdown-content"> <div class="dropdown-content">
<a href="#" id="file-all-styles" i18n-text="bckpInstStyles"></a> <a href="#" id="file-all-styles" i18n-text="bckpInstStyles"></a>
<a href="#" id="sync-dropbox-export" i18n-text="syncDropboxStyles"></a> <a href="#" id="sync-dropbox-export" i18n-text="syncDropboxStyles" i18n-title="syncDropboxDeprecated"></a>
</div> </div>
</div> </div>
@ -395,7 +395,7 @@
<div class="dropdown-content"> <div class="dropdown-content">
<a href="#" id="unfile-all-styles" i18n-text="retrieveBckp"></a> <a href="#" id="unfile-all-styles" i18n-text="retrieveBckp"></a>
<a href="#" id="sync-dropbox-import" i18n-text="retrieveDropboxSync"></a> <a href="#" id="sync-dropbox-import" i18n-text="retrieveDropboxSync" i18n-title="syncDropboxDeprecated"></a>
</div> </div>
</div> </div>

View File

@ -1302,3 +1302,14 @@ input[id^="manage.newUI"] {
margin-left: -2px; margin-left: -2px;
} }
} }
/* Deprecated dropbox backup (dropbox-sync) */
#sync-dropbox-export,
#sync-dropbox-import {
opacity: 0.5;
cursor: not-allowed;
}
#backup-buttons .dropdown-content #sync-dropbox-export:hover,
#backup-buttons .dropdown-content #sync-dropbox-import:hover {
background: transparent;
}