Fix dialogs

This commit is contained in:
Julia.Radzhabova
2025-04-23 21:18:27 +03:00
parent 840421dec9
commit 2b3530cd9c
26 changed files with 31 additions and 35 deletions

View File

@ -1,9 +1,6 @@
<div class="settings-panel active">
<div class="inner-content">
<table cols="2" style="width: 100%;" role="presentation">
<tr>
<td colspan=2 class="padding-small"></td>
</tr>
<tr>
<td colspan=2 class="padding-small">
<label><%= scope.textRangesDesc %></label>

View File

@ -52,7 +52,7 @@ define([
_.extend(this.options, {
title: this.textTitle,
contentStyle: 'padding: 0 10px;',
contentStyle: 'padding: 5px 5px 0;',
contentTemplate: _.template([
'<div class="settings-panel active">',
'<div class="inner-content">',

View File

@ -74,7 +74,7 @@ define([
_.extend(this.options, {
title: this.textTitle,
contentStyle: 'padding: 0 10px;',
contentStyle: 'padding: 5px 5px 0;',
contentTemplate: _.template([
'<div class="settings-panel active">',
'<div class="inner-content">',

View File

@ -52,7 +52,7 @@ define([
_.extend(this.options, {
title: this.textTitle,
contentStyle: 'padding: 0 10px;',
contentStyle: 'padding: 5px 5px 0;',
contentTemplate: _.template([
'<div class="settings-panel active">',
'<div class="inner-content">',

View File

@ -51,7 +51,7 @@ define([
_.extend(this.options, {
title: this.textTitle,
contentStyle: 'padding: 0 10px;',
contentStyle: 'padding: 5px 5px 0;',
contentTemplate: _.template([
'<div class="settings-panel active">',
'<div class="inner-content">',

View File

@ -57,7 +57,7 @@ define([
var me = this;
_.extend(this.options, {
title: this.txtTitle,
contentStyle: 'padding: 0;',
contentStyle: 'padding: 10px 0 0;',
contentTemplate: _.template([
'<div class="settings-panel active">',
'<div class="inner-content">',

View File

@ -52,7 +52,7 @@ define([
_.extend(this.options, {
title: this.textTitle,
contentStyle: 'padding: 0 5px;',
contentStyle: 'padding: 5px;',
contentTemplate: _.template([
'<div class="settings-panel active">',
'<div class="inner-content">',

View File

@ -57,7 +57,7 @@ define([
_.extend(this.options, {
title: this.txtTitleNew,
contentStyle: 'padding: 0;',
contentStyle: 'padding: 5px 0 0;',
contentTemplate: _.template(contentTemplate)({scope: this})
}, options);
@ -1486,7 +1486,7 @@ define([
(cmbData.length>0) && this.cmbRule.setValue((ruleType!==undefined) ? ruleType : cmbData[0].value);
}
this.setControls(index, this.cmbRule.getValue());
this.setInnerHeight(index==9 ? 360 : 280);
this.setInnerHeight(index==9 ? 370 : 280);
if (rec) {
var type = rec.get('type');

View File

@ -94,7 +94,7 @@ define([
var me = this;
_.extend(this.options, {
title: this.txtTitle,
contentStyle: 'padding: 0;',
contentStyle: 'padding: 5px 0 0;',
contentTemplate: _.template(contentTemplate)({scope: this})
}, options);

View File

@ -44,7 +44,7 @@ define([
SSE.Views.FormatSettingsDialog = Common.Views.AdvancedSettingsWindow.extend(_.extend({
options: {
contentWidth: 284,
contentHeight: 255
contentHeight: 260
},
initialize : function(options) {
@ -84,11 +84,11 @@ define([
this.props = options.props;
this.linked = options.linked || false;
var height = this.linked ? 275 : 255;
var height = this.linked ? 275 : 260;
_.extend(this.options, {
title: this.textTitle,
contentHeight: height,
contentStyle: 'padding: 0 10px;',
contentStyle: 'padding: 5px;',
contentTemplate: _.template([
'<div class="settings-panel active">',
'<div class="inner-content">',

View File

@ -52,7 +52,7 @@ define([
_.extend(this.options, {
title: this.textTitle,
contentStyle: 'padding: 0 10px;',
contentStyle: 'padding: 5px 5px 0;',
contentTemplate: _.template([
'<div class="settings-panel active">',
'<div class="inner-content">',

View File

@ -52,7 +52,7 @@ define([
_.extend(this.options, {
title: this.textTitle,
contentStyle: 'padding: 0 10px;',
contentStyle: 'padding: 10px 10px 0;',
contentTemplate: _.template([
'<div class="settings-panel active">',
'<div class="inner-content">',

View File

@ -74,8 +74,8 @@ define([], function () { 'use strict';
'<div class="get-link float-right">',
'<label class="link dropdown-toggle float-right" data-toggle="dropdown" id="id-dlg-hyperlink-get-link">' + this.textGetLink + '</label>',
'<div id="id-clip-copy-box" class="dropdown-menu">',
'<div id="id-dlg-clip-copy"></div>',
'<button id="id-dlg-copy-btn" class="btn btn-text-default margin-left-5">' + this.textCopy + '</button>',
'<div id="id-dlg-clip-copy" class="display-inline-block-middle"></div>',
'<button id="id-dlg-copy-btn" class="btn btn-text-default margin-left-5 display-inline-block-middle">' + this.textCopy + '</button>',
'</div>',
'</div>',
'</div>',

View File

@ -51,7 +51,7 @@ define([
_.extend(this.options, {
title: this.textTitle,
contentStyle: 'padding: 0 10px;',
contentStyle: 'padding: 5px 5px 0;',
contentTemplate: _.template([
'<div class="settings-panel active">',
'<div class="inner-content">',

View File

@ -58,7 +58,7 @@ define([
var me = this;
_.extend(this.options, {
title: this.txtTitle,
contentStyle: 'padding: 0;',
contentStyle: 'padding: 5px 0 0;',
contentTemplate: _.template(contentTemplate)({scope: this})
}, options);

View File

@ -55,7 +55,7 @@ define([
_.extend(this.options, {
title: this.txtTitleNew,
contentStyle: 'padding: 0;',
contentStyle: 'padding: 5px 0 0;',
contentTemplate: _.template([
'<div class="settings-panel active">',
'<div class="inner-content">',

View File

@ -56,7 +56,7 @@ define([
_.extend(this.options, {
title: this.txtTitle,
contentStyle: 'padding: 0;',
contentStyle: 'padding: 5px 0 0;',
contentTemplate: _.template([
'<div class="settings-panel active">',
'<div class="inner-content">',

View File

@ -56,7 +56,7 @@ define([
_.extend(this.options, {
title: this.txtTitle,
contentStyle: 'padding: 0;',
contentStyle: 'padding: 5px 0 0;',
contentTemplate: _.template([
'<div class="settings-panel active">',
'<div class="inner-content">',

View File

@ -57,7 +57,7 @@ define([
var me = this;
_.extend(this.options, {
title: this.txtTitle,
contentStyle: 'padding: 0;',
contentStyle: 'padding: 5px 0 0;',
contentTemplate: _.template(contentTemplate)({scope: this})
}, options);

View File

@ -57,7 +57,7 @@ define([
var me = this;
_.extend(this.options, {
title: this.txtTitle,
contentStyle: 'padding: 0;',
contentStyle: 'padding: 5px 0 0;',
contentTemplate: _.template(contentTemplate)({scope: this})
}, options);

View File

@ -79,7 +79,7 @@ define([
var me = this;
_.extend(this.options, {
title: this.txtTitle,
contentStyle: 'padding: 0;',
contentStyle: 'padding: 5px 0 0;',
contentTemplate: _.template(contentTemplate)({scope: this})
}, options);

View File

@ -52,7 +52,7 @@ define([
_.extend(this.options, {
title: this.textTitle,
contentStyle: 'padding: 0 5px;',
contentStyle: 'padding: 5px 5px 0;',
contentTemplate: _.template([
'<div class="settings-panel active">',
'<div class="inner-content">',

View File

@ -52,14 +52,14 @@ define([
_.extend(this.options, {
title: this.textTitle,
contentStyle: 'padding: 0 10px;',
contentStyle: 'padding: 5px 5px 0;',
contentTemplate: _.template([
'<div class="settings-panel active">',
'<div class="inner-content">',
'<table cols="2" style="width: 100%;">',
'<tr>',
'<td colspan="2" class="padding-small" style="white-space: nowrap;">',
'<label class="header" class="margin-right-4" style="vertical-align: middle;">' + me.txtSourceName + '</label>',
'<label class="header margin-right-2" class="margin-right-4" style="vertical-align: middle;">' + me.txtSourceName + '</label>',
'<label id="value-field-settings-source" style="vertical-align: middle; max-width: 220px; overflow: hidden; text-overflow: ellipsis;"></label>',
'</td>',
'</tr>',

View File

@ -59,7 +59,7 @@ define([
{value: 'ok', caption: this.textGoTo, primary: true},
'close'
],
contentStyle: 'padding: 0;',
contentStyle: 'padding: 5px 0 0;',
contentTemplate: _.template([
'<div class="settings-panel active">',
'<div class="inner-content">',

View File

@ -59,7 +59,7 @@ define([
var me = this;
_.extend(this.options, {
title: this.txtTitle,
contentStyle: 'padding: 0;',
contentStyle: 'padding: 10px 0 0;',
contentTemplate: _.template(contentTemplate)({scope: this})
}, options);

View File

@ -415,8 +415,8 @@
.preview-databar {
border: 1px solid #cbcbcb;
width: 150px;
height: 40px;
padding: 3px;
height: 24px;
padding: 2px;
#format-rules-edit-preview-databar {
width: 100%;
height: 100%;
@ -591,7 +591,6 @@
#window-goal-seek-status {
.settings-panel {
margin-top: 16px;
.row-1 {
width: 100%;
display: flex;