[DE][PE] Change insert table dialog
This commit is contained in:
parent
6387604eee
commit
43de4621f1
|
@ -48,23 +48,23 @@ define([
|
||||||
Common.Views.InsertTableDialog = Common.UI.Window.extend(_.extend({
|
Common.Views.InsertTableDialog = Common.UI.Window.extend(_.extend({
|
||||||
options: {
|
options: {
|
||||||
width: 230,
|
width: 230,
|
||||||
height: 170,
|
height: 156,
|
||||||
header: false,
|
|
||||||
style: 'min-width: 230px;',
|
style: 'min-width: 230px;',
|
||||||
cls: 'modal-dlg',
|
cls: 'modal-dlg',
|
||||||
split: false
|
split: false
|
||||||
},
|
},
|
||||||
|
|
||||||
initialize : function(options) {
|
initialize : function(options) {
|
||||||
_.extend(this.options, options || {});
|
_.extend(this.options, {
|
||||||
|
title: (options.split) ? this.txtTitleSplit : this.txtTitle
|
||||||
|
}, options || {});
|
||||||
|
|
||||||
this.template = [
|
this.template = [
|
||||||
'<div class="box">',
|
'<div class="box">',
|
||||||
'<h4>' + ((options.split) ? this.txtTitleSplit : this.txtTitle) + '</h4>',
|
'<div class="input-row">',
|
||||||
'<div class="input-row" style="margin: 10px 0;">',
|
|
||||||
'<label class="text columns-text" style="width: 130px;">' + this.txtColumns + '</label><div class="columns-val" style="float: right;"></div>',
|
'<label class="text columns-text" style="width: 130px;">' + this.txtColumns + '</label><div class="columns-val" style="float: right;"></div>',
|
||||||
'</div>',
|
'</div>',
|
||||||
'<div class="input-row" style="margin: 10px 0;">',
|
'<div class="input-row" style="margin-top: 10px;">',
|
||||||
'<label class="text rows-text" style="width: 130px;">' + this.txtRows + '</label><div class="rows-val" style="float: right;"></div>',
|
'<label class="text rows-text" style="width: 130px;">' + this.txtRows + '</label><div class="rows-val" style="float: right;"></div>',
|
||||||
'</div>',
|
'</div>',
|
||||||
'</div>',
|
'</div>',
|
||||||
|
|
Loading…
Reference in a new issue