[DE PE SSE] Fix header of plugin panel
This commit is contained in:
parent
a7944cfa79
commit
b372667e66
|
@ -60,11 +60,11 @@ define([
|
||||||
'</div>',
|
'</div>',
|
||||||
'</div>',
|
'</div>',
|
||||||
'<div id="current-plugin-box" class="layout-ct vbox hidden">',
|
'<div id="current-plugin-box" class="layout-ct vbox hidden">',
|
||||||
|
'<div id="current-plugin-frame" class="">',
|
||||||
|
'</div>',
|
||||||
'<div id="current-plugin-header">',
|
'<div id="current-plugin-header">',
|
||||||
'<label></label>',
|
'<label></label>',
|
||||||
'<div id="id-plugin-close" class="tool close"></div>',
|
'<div id="id-plugin-close" class="close"></div>',
|
||||||
'</div>',
|
|
||||||
'<div id="current-plugin-frame" class="">',
|
|
||||||
'</div>',
|
'</div>',
|
||||||
'</div>',
|
'</div>',
|
||||||
'<div id="plugins-mask" style="display: none;">'
|
'<div id="plugins-mask" style="display: none;">'
|
||||||
|
@ -111,6 +111,13 @@ define([
|
||||||
this.currentPluginPanel = $('#current-plugin-box');
|
this.currentPluginPanel = $('#current-plugin-box');
|
||||||
this.currentPluginFrame = $('#current-plugin-frame');
|
this.currentPluginFrame = $('#current-plugin-frame');
|
||||||
|
|
||||||
|
this.pluginClose = new Common.UI.Button({
|
||||||
|
parentEl: $('#id-plugin-close'),
|
||||||
|
cls: 'btn-toolbar',
|
||||||
|
iconCls: 'toolbar__icon btn-close',
|
||||||
|
hint: this.textClosePanel
|
||||||
|
});
|
||||||
|
|
||||||
this.pluginMenu = new Common.UI.Menu({
|
this.pluginMenu = new Common.UI.Menu({
|
||||||
menuAlign : 'tr-br',
|
menuAlign : 'tr-br',
|
||||||
items: []
|
items: []
|
||||||
|
@ -426,7 +433,8 @@ define([
|
||||||
textLoading: 'Loading',
|
textLoading: 'Loading',
|
||||||
textStart: 'Start',
|
textStart: 'Start',
|
||||||
textStop: 'Stop',
|
textStop: 'Stop',
|
||||||
groupCaption: 'Plugins'
|
groupCaption: 'Plugins',
|
||||||
|
textClosePanel: 'Close plugin'
|
||||||
|
|
||||||
}, Common.Views.Plugins || {}));
|
}, Common.Views.Plugins || {}));
|
||||||
});
|
});
|
|
@ -80,17 +80,20 @@
|
||||||
|
|
||||||
#current-plugin-header {
|
#current-plugin-header {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
height: 45px;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 100%;
|
top: 0;
|
||||||
height: 38px;
|
right: 0;
|
||||||
padding: 10px 12px;
|
padding: 12px;
|
||||||
|
overflow: hidden;
|
||||||
border-bottom: @scaled-one-px-value-ie solid @border-toolbar-ie;
|
border-bottom: @scaled-one-px-value-ie solid @border-toolbar-ie;
|
||||||
border-bottom: @scaled-one-px-value solid @border-toolbar;
|
border-bottom: @scaled-one-px-value solid @border-toolbar;
|
||||||
|
|
||||||
label {
|
label {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
margin-top: 2px;
|
||||||
padding-right: 20px;
|
padding-right: 20px;
|
||||||
|
font-size: 12px;
|
||||||
.font-weight-bold();
|
.font-weight-bold();
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
@ -98,20 +101,18 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.tool {
|
.close {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 9px;
|
width: 20px;
|
||||||
right: 7px;
|
height: 20px;
|
||||||
margin: 0;
|
top: 12px;
|
||||||
/*&:before, &:after {
|
right: 12px;
|
||||||
width: 2px;
|
|
||||||
width: @scaled-two-px-value;
|
|
||||||
}*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#current-plugin-frame {
|
#current-plugin-frame {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
padding-top: 38px;
|
padding-top: 45px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -347,6 +347,7 @@
|
||||||
"Common.Views.Plugins.textLoading": "Loading",
|
"Common.Views.Plugins.textLoading": "Loading",
|
||||||
"Common.Views.Plugins.textStart": "Start",
|
"Common.Views.Plugins.textStart": "Start",
|
||||||
"Common.Views.Plugins.textStop": "Stop",
|
"Common.Views.Plugins.textStop": "Stop",
|
||||||
|
"Common.Views.Plugins.textClosePanel": "Close plugin",
|
||||||
"Common.Views.Protection.hintAddPwd": "Encrypt with password",
|
"Common.Views.Protection.hintAddPwd": "Encrypt with password",
|
||||||
"Common.Views.Protection.hintPwd": "Change or delete password",
|
"Common.Views.Protection.hintPwd": "Change or delete password",
|
||||||
"Common.Views.Protection.hintSignature": "Add digital signature or signature line",
|
"Common.Views.Protection.hintSignature": "Add digital signature or signature line",
|
||||||
|
|
|
@ -449,6 +449,7 @@
|
||||||
"Common.Views.Plugins.textLoading": "Loading",
|
"Common.Views.Plugins.textLoading": "Loading",
|
||||||
"Common.Views.Plugins.textStart": "Start",
|
"Common.Views.Plugins.textStart": "Start",
|
||||||
"Common.Views.Plugins.textStop": "Stop",
|
"Common.Views.Plugins.textStop": "Stop",
|
||||||
|
"Common.Views.Plugins.textClosePanel": "Close plugin",
|
||||||
"Common.Views.Protection.hintAddPwd": "Encrypt with password",
|
"Common.Views.Protection.hintAddPwd": "Encrypt with password",
|
||||||
"Common.Views.Protection.hintPwd": "Change or delete password",
|
"Common.Views.Protection.hintPwd": "Change or delete password",
|
||||||
"Common.Views.Protection.hintSignature": "Add digital signature or signature line",
|
"Common.Views.Protection.hintSignature": "Add digital signature or signature line",
|
||||||
|
|
|
@ -304,6 +304,7 @@
|
||||||
"Common.Views.Plugins.textLoading": "Loading",
|
"Common.Views.Plugins.textLoading": "Loading",
|
||||||
"Common.Views.Plugins.textStart": "Start",
|
"Common.Views.Plugins.textStart": "Start",
|
||||||
"Common.Views.Plugins.textStop": "Stop",
|
"Common.Views.Plugins.textStop": "Stop",
|
||||||
|
"Common.Views.Plugins.textClosePanel": "Close plugin",
|
||||||
"Common.Views.Protection.hintAddPwd": "Encrypt with password",
|
"Common.Views.Protection.hintAddPwd": "Encrypt with password",
|
||||||
"Common.Views.Protection.hintPwd": "Change or delete password",
|
"Common.Views.Protection.hintPwd": "Change or delete password",
|
||||||
"Common.Views.Protection.hintSignature": "Add digital signature or signature line",
|
"Common.Views.Protection.hintSignature": "Add digital signature or signature line",
|
||||||
|
|
Loading…
Reference in a new issue