mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-23 22:53:42 +08:00
Fix dialogs
This commit is contained in:
@ -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>
|
||||
|
||||
@ -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">',
|
||||
|
||||
@ -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">',
|
||||
|
||||
@ -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">',
|
||||
|
||||
@ -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">',
|
||||
|
||||
@ -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">',
|
||||
|
||||
@ -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">',
|
||||
|
||||
@ -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');
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
@ -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">',
|
||||
|
||||
@ -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">',
|
||||
|
||||
@ -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">',
|
||||
|
||||
@ -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>',
|
||||
|
||||
@ -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">',
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
@ -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">',
|
||||
|
||||
@ -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">',
|
||||
|
||||
@ -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">',
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
@ -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">',
|
||||
|
||||
@ -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>',
|
||||
|
||||
@ -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">',
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user