mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-27 21:44:22 -04:00
Remove #settings div.
This commit is contained in:
parent
6bfbebc51e
commit
2f26146228
7 changed files with 6 additions and 9 deletions
|
@ -6,9 +6,6 @@
|
|||
order: 0;
|
||||
background: #fafafa;
|
||||
border-right: 1px solid rgba(0,0,0,0.08);
|
||||
}
|
||||
|
||||
#settings {
|
||||
padding: 16px;
|
||||
|
||||
.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)
|
||||
.appendTo('#settings')
|
||||
.appendTo('#sidebar')
|
||||
.find('#view-info')
|
||||
.on('click', function (ev) {
|
||||
|
||||
|
|
|
@ -119,7 +119,7 @@ modulejs.define('ext/l10n', ['_', '$', 'core/settings', 'core/langs', 'core/form
|
|||
.appendTo($select);
|
||||
});
|
||||
|
||||
$block.appendTo('#settings');
|
||||
$block.appendTo('#sidebar');
|
||||
}
|
||||
|
||||
function init() {
|
||||
|
|
|
@ -193,7 +193,7 @@ modulejs.define('ext/tree', ['_', '$', 'core/settings', 'core/resource', 'core/s
|
|||
.on('click', '.indicator', createOnIndicatorClick());
|
||||
|
||||
$(settingsTemplate)
|
||||
.appendTo('#settings')
|
||||
.appendTo('#sidebar')
|
||||
.find('#view-tree')
|
||||
.on('click', function (ev) {
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ modulejs.define('view/sidebar', ['$', 'core/resource', 'core/store'], function (
|
|||
var storekey = 'sidebarIsVisible';
|
||||
var toggleTemplate =
|
||||
'<div id="sidebar-toggle" class="tool">' +
|
||||
'<img alt="settings"/>' +
|
||||
'<img alt="sidebar"/>' +
|
||||
'</div>';
|
||||
|
||||
|
||||
|
@ -25,7 +25,7 @@ modulejs.define('view/sidebar', ['$', 'core/resource', 'core/store'], function (
|
|||
$sidebar.show();
|
||||
} else {
|
||||
$toggle.removeClass('current');
|
||||
$img.attr('src', resource.image('settings'));
|
||||
$img.attr('src', resource.image('sidebar'));
|
||||
$sidebar.hide();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -130,7 +130,7 @@ modulejs.define('view/viewmode', ['_', '$', 'core/settings', 'core/resource', 'c
|
|||
.appendTo($viewBlock);
|
||||
}
|
||||
|
||||
$viewBlock.appendTo('#settings');
|
||||
$viewBlock.appendTo('#sidebar');
|
||||
}
|
||||
|
||||
function init() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue