put code settings in their own tab
This commit is contained in:
parent
ae0b2ca1a8
commit
958294f109
@ -422,6 +422,7 @@ define(function () {
|
|||||||
// Settings
|
// Settings
|
||||||
out.settings_cat_account = "Account";
|
out.settings_cat_account = "Account";
|
||||||
out.settings_cat_drive = "CryptDrive";
|
out.settings_cat_drive = "CryptDrive";
|
||||||
|
out.settings_cat_code = "Code";
|
||||||
out.settings_title = "Settings";
|
out.settings_title = "Settings";
|
||||||
out.settings_save = "Save";
|
out.settings_save = "Save";
|
||||||
|
|
||||||
|
|||||||
@ -39,7 +39,6 @@ define([
|
|||||||
'account': [
|
'account': [
|
||||||
'infoBlock',
|
'infoBlock',
|
||||||
'displayName',
|
'displayName',
|
||||||
'indentUnit',
|
|
||||||
'languageSelector',
|
'languageSelector',
|
||||||
'logoutEverywhere',
|
'logoutEverywhere',
|
||||||
'resetTips',
|
'resetTips',
|
||||||
@ -49,6 +48,9 @@ define([
|
|||||||
'backupDrive',
|
'backupDrive',
|
||||||
'importLocalPads',
|
'importLocalPads',
|
||||||
'resetDrive'
|
'resetDrive'
|
||||||
|
],
|
||||||
|
'code': [
|
||||||
|
'indentUnit',
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -379,6 +381,7 @@ define([
|
|||||||
var $category = $('<div>', {'class': 'category'}).appendTo($categories);
|
var $category = $('<div>', {'class': 'category'}).appendTo($categories);
|
||||||
if (key === 'account') { $category.append($('<span>', {'class': 'fa fa-user-o'})); }
|
if (key === 'account') { $category.append($('<span>', {'class': 'fa fa-user-o'})); }
|
||||||
if (key === 'drive') { $category.append($('<span>', {'class': 'fa fa-hdd-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) {
|
if (key === active) {
|
||||||
$category.addClass('active');
|
$category.addClass('active');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user