[SSE] Refactoring
This commit is contained in:
parent
e3114cfa83
commit
be66e0fcf0
|
@ -31,7 +31,7 @@
|
|||
<div id="panel-createnew" class="content-box"></div>
|
||||
<div id="panel-info" class="content-box"></div>
|
||||
<div id="panel-rights" class="content-box"></div>
|
||||
<div id="panel-settings-general" class="content-box"></div>
|
||||
<div id="panel-settings" class="content-box"></div>
|
||||
<div id="panel-help" class="content-box"></div>
|
||||
<div id="panel-protect" class="content-box"></div>
|
||||
<div id="panel-print" class="content-box"></div>
|
||||
|
|
|
@ -336,7 +336,7 @@ define([
|
|||
|
||||
if (!this.panels) {
|
||||
this.panels = {
|
||||
'opts' : (new SSE.Views.FileMenuPanels.MainSettingsGeneral({menu:this})).render(this.$el.find('#panel-settings-general')),
|
||||
'opts' : (new SSE.Views.FileMenuPanels.MainSettingsGeneral({menu:this})).render(this.$el.find('#panel-settings')),
|
||||
'info' : (new SSE.Views.FileMenuPanels.DocumentInfo({menu:this})).render(this.$el.find('#panel-info')),
|
||||
'rights' : (new SSE.Views.FileMenuPanels.DocumentRights({menu:this})).render(this.$el.find('#panel-rights'))
|
||||
};
|
||||
|
|
|
@ -183,7 +183,7 @@ define([
|
|||
});
|
||||
|
||||
SSE.Views.FileMenuPanels.MainSettingsGeneral = Common.UI.BaseView.extend(_.extend({
|
||||
el: '#panel-settings-general',
|
||||
el: '#panel-settings',
|
||||
menu: undefined,
|
||||
|
||||
template: _.template([
|
||||
|
|
|
@ -188,8 +188,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
#panel-settings-general,
|
||||
#panel-settings-print {
|
||||
#panel-settings {
|
||||
& > div {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
@ -205,7 +204,7 @@
|
|||
flex-direction: column;
|
||||
}
|
||||
|
||||
#panel-settings-general {
|
||||
#panel-settings {
|
||||
padding: 0;
|
||||
|
||||
#id-settings-menu {
|
||||
|
|
Loading…
Reference in a new issue