mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-08-09 15:26:46 +02:00
Remove #settings div.
This commit is contained in:
@@ -6,9 +6,6 @@
|
|||||||
order: 0;
|
order: 0;
|
||||||
background: #fafafa;
|
background: #fafafa;
|
||||||
border-right: 1px solid rgba(0,0,0,0.08);
|
border-right: 1px solid rgba(0,0,0,0.08);
|
||||||
}
|
|
||||||
|
|
||||||
#settings {
|
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
|
|
||||||
.block {
|
.block {
|
||||||
|
Before Width: | Height: | Size: 222 B After Width: | Height: | Size: 222 B |
@@ -139,7 +139,7 @@ modulejs.define('ext/info', ['_', '$', 'modernizr', 'core/settings', 'core/resou
|
|||||||
}
|
}
|
||||||
|
|
||||||
$(settingsTemplate)
|
$(settingsTemplate)
|
||||||
.appendTo('#settings')
|
.appendTo('#sidebar')
|
||||||
.find('#view-info')
|
.find('#view-info')
|
||||||
.on('click', function (ev) {
|
.on('click', function (ev) {
|
||||||
|
|
||||||
|
@@ -119,7 +119,7 @@ modulejs.define('ext/l10n', ['_', '$', 'core/settings', 'core/langs', 'core/form
|
|||||||
.appendTo($select);
|
.appendTo($select);
|
||||||
});
|
});
|
||||||
|
|
||||||
$block.appendTo('#settings');
|
$block.appendTo('#sidebar');
|
||||||
}
|
}
|
||||||
|
|
||||||
function init() {
|
function init() {
|
||||||
|
@@ -193,7 +193,7 @@ modulejs.define('ext/tree', ['_', '$', 'core/settings', 'core/resource', 'core/s
|
|||||||
.on('click', '.indicator', createOnIndicatorClick());
|
.on('click', '.indicator', createOnIndicatorClick());
|
||||||
|
|
||||||
$(settingsTemplate)
|
$(settingsTemplate)
|
||||||
.appendTo('#settings')
|
.appendTo('#sidebar')
|
||||||
.find('#view-tree')
|
.find('#view-tree')
|
||||||
.on('click', function (ev) {
|
.on('click', function (ev) {
|
||||||
|
|
||||||
|
@@ -3,7 +3,7 @@ modulejs.define('view/sidebar', ['$', 'core/resource', 'core/store'], function (
|
|||||||
var storekey = 'sidebarIsVisible';
|
var storekey = 'sidebarIsVisible';
|
||||||
var toggleTemplate =
|
var toggleTemplate =
|
||||||
'<div id="sidebar-toggle" class="tool">' +
|
'<div id="sidebar-toggle" class="tool">' +
|
||||||
'<img alt="settings"/>' +
|
'<img alt="sidebar"/>' +
|
||||||
'</div>';
|
'</div>';
|
||||||
|
|
||||||
|
|
||||||
@@ -25,7 +25,7 @@ modulejs.define('view/sidebar', ['$', 'core/resource', 'core/store'], function (
|
|||||||
$sidebar.show();
|
$sidebar.show();
|
||||||
} else {
|
} else {
|
||||||
$toggle.removeClass('current');
|
$toggle.removeClass('current');
|
||||||
$img.attr('src', resource.image('settings'));
|
$img.attr('src', resource.image('sidebar'));
|
||||||
$sidebar.hide();
|
$sidebar.hide();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -130,7 +130,7 @@ modulejs.define('view/viewmode', ['_', '$', 'core/settings', 'core/resource', 'c
|
|||||||
.appendTo($viewBlock);
|
.appendTo($viewBlock);
|
||||||
}
|
}
|
||||||
|
|
||||||
$viewBlock.appendTo('#settings');
|
$viewBlock.appendTo('#sidebar');
|
||||||
}
|
}
|
||||||
|
|
||||||
function init() {
|
function init() {
|
||||||
|
Reference in New Issue
Block a user