put code settings in their own tab

pull/1/head
ansuz 7 years ago
parent ae0b2ca1a8
commit 958294f109

@ -422,6 +422,7 @@ define(function () {
// Settings
out.settings_cat_account = "Account";
out.settings_cat_drive = "CryptDrive";
out.settings_cat_code = "Code";
out.settings_title = "Settings";
out.settings_save = "Save";

@ -39,7 +39,6 @@ define([
'account': [
'infoBlock',
'displayName',
'indentUnit',
'languageSelector',
'logoutEverywhere',
'resetTips',
@ -49,6 +48,9 @@ define([
'backupDrive',
'importLocalPads',
'resetDrive'
],
'code': [
'indentUnit',
]
};
@ -379,6 +381,7 @@ define([
var $category = $('<div>', {'class': 'category'}).appendTo($categories);
if (key === 'account') { $category.append($('<span>', {'class': 'fa fa-user-o'})); }
if (key === 'drive') { $category.append($('<span>', {'class': 'fa fa-hdd-o'})); }
if (key === 'code') { $category.append($('<span>', {'class': 'fa fa-file-code-o' })); }
if (key === active) {
$category.addClass('active');

Loading…
Cancel
Save