mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-25 21:54:49 +08:00
SSE] Change layout in ProtectRangesDlg
This commit is contained in:
@ -10,18 +10,18 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan=2 class="padding-small">
|
||||
<div id="protect-ranges-list" class="range-tableview" style="width:100%; height: 164px;"></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="padding-large">
|
||||
<button type="button" class="btn btn-text-default" id="protect-ranges-btn-new" style="min-width: 100px;margin-right:5px;"><%= scope.textNew %></button>
|
||||
<td class="padding-small">
|
||||
<button type="button" class="btn btn-text-default" id="protect-ranges-btn-new" style="min-width: 100px;"><%= scope.textNew %></button>
|
||||
<button type="button" class="btn btn-text-default" id="protect-ranges-btn-edit" style="min-width: 100px;"><%= scope.textEdit %></button>
|
||||
</td>
|
||||
<td class="padding-large" style="text-align: right;width:90px;">
|
||||
<td class="padding-small" style="text-align: right;width:90px;">
|
||||
<button type="button" class="btn btn-text-default" id="protect-ranges-btn-delete" style="min-width: 100px;"><%= scope.textDelete %></button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan=2 class="padding-small">
|
||||
<div id="protect-ranges-list" class="range-tableview" style="width:100%; height: 164px;"></div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
@ -50,7 +50,8 @@ define([ 'text!spreadsheeteditor/main/app/template/ProtectRangesDlg.template',
|
||||
options: {
|
||||
alias: 'ProtectRangesDlg',
|
||||
contentWidth: 480,
|
||||
height: 353
|
||||
height: 333,
|
||||
id: 'window-protect-ranges'
|
||||
},
|
||||
|
||||
initialize: function (options) {
|
||||
@ -61,7 +62,6 @@ define([ 'text!spreadsheeteditor/main/app/template/ProtectRangesDlg.template',
|
||||
'<div class="box" style="height:' + (this.options.height-85) + 'px;">',
|
||||
'<div class="content-panel" style="padding: 0;">' + _.template(contentTemplate)({scope: this}) + '</div>',
|
||||
'</div>',
|
||||
'<div class="separator horizontal"></div>'
|
||||
].join(''),
|
||||
buttons: [
|
||||
// {
|
||||
|
||||
@ -625,6 +625,17 @@
|
||||
}
|
||||
}
|
||||
|
||||
#window-protect-ranges {
|
||||
#protect-ranges-btn-new {
|
||||
margin-right:5px;
|
||||
|
||||
.rtl & {
|
||||
margin-right: 0px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#printadv-dlg-pages {
|
||||
margin-top: 16px;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user