Commit 64b8732b authored by Julia Radzhabova's avatar Julia Radzhabova

[DE] ImageSettingsAdvanced: добавлена настройка относительной позиции в процентах.

parent 312efd8e
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
<div class="inner-content"> <div class="inner-content">
<table cols="3" style="width: 100%;"> <table cols="3" style="width: 100%;">
<tr> <tr>
<td colspan="3" class="padding-small"> <td colspan="3">
<label class="header"><%= scope.textHorizontal %></label> <label class="header"><%= scope.textHorizontal %></label>
</td> </td>
</tr> </tr>
...@@ -101,7 +101,20 @@ ...@@ -101,7 +101,20 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="3" class="padding-small"> <td style="vertical-align: bottom; padding-bottom: 19px;">
<div id="image-radio-hpositionpc"></div>
</td>
<td class="padding-large">
<label class="input-label"><%= scope.textPositionPc %></label>
<div id="image-spin-xpc"></div>
</td>
<td class="padding-large">
<label class="input-label"><%= scope.textRelative %></label>
<div id="image-combo-hpositionpc" style="width: 115px;"></div>
</td>
</tr>
<tr>
<td colspan="3">
<label class="header"><%= scope.textVertical %></label> <label class="header"><%= scope.textVertical %></label>
</td> </td>
</tr> </tr>
...@@ -119,25 +132,38 @@ ...@@ -119,25 +132,38 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td style="vertical-align: bottom; padding-bottom: 19px;"> <td style="vertical-align: bottom; padding-bottom: 12px;">
<div id="image-radio-vposition"></div> <div id="image-radio-vposition"></div>
</td> </td>
<td class="padding-large"> <td class="padding-small">
<label class="input-label"><%= scope.textPosition %></label> <label class="input-label"><%= scope.textPosition %></label>
<div id="image-spin-y"></div> <div id="image-spin-y"></div>
</td> </td>
<td class="padding-large"> <td class="padding-small">
<label class="input-label"><%= scope.textBelow %></label> <label class="input-label"><%= scope.textBelow %></label>
<div id="image-combo-vposition" style="width: 115px;"></div> <div id="image-combo-vposition" style="width: 115px;"></div>
</td> </td>
</tr> </tr>
<tr>
<td style="vertical-align: bottom; padding-bottom: 19px;">
<div id="image-radio-vpositionpc"></div>
</td>
<td class="padding-large">
<label class="input-label"><%= scope.textPositionPc %></label>
<div id="image-spin-ypc"></div>
</td>
<td class="padding-large">
<label class="input-label"><%= scope.textRelative %></label>
<div id="image-combo-vpositionpc" style="width: 115px;"></div>
</td>
</tr>
</table> </table>
</div> </div>
<div class="separator horizontal padding-large"></div> <div class="separator horizontal padding-small"></div>
<div class="inner-content"> <div class="inner-content">
<table cols="2" style="width: 100%;"> <table cols="2" style="width: 100%;">
<tr> <tr>
<td colspan="2" class="padding-small"> <td colspan="2">
<label class="header"><%= scope.textOptions %></label> <label class="header"><%= scope.textOptions %></label>
</td> </td>
</tr> </tr>
......
...@@ -391,6 +391,7 @@ define([ ...@@ -391,6 +391,7 @@ define([
{ {
imageProps: elValue, imageProps: elValue,
sizeMax: imgsizeMax, sizeMax: imgsizeMax,
sectionProps: me.api.asc_GetSectionProps(),
handler: function(result, value) { handler: function(result, value) {
if (result == 'ok') { if (result == 'ok') {
if (me.api) { if (me.api) {
......
...@@ -1912,6 +1912,7 @@ define([ ...@@ -1912,6 +1912,7 @@ define([
imageProps : elValue, imageProps : elValue,
sizeOriginal: imgsizeOriginal, sizeOriginal: imgsizeOriginal,
sizeMax : imgsizeMax, sizeMax : imgsizeMax,
sectionProps: me.api.asc_GetSectionProps(),
handler : function(result, value) { handler : function(result, value) {
if (result == 'ok') { if (result == 'ok') {
if (me.api) { if (me.api) {
......
...@@ -304,6 +304,7 @@ define([ ...@@ -304,6 +304,7 @@ define([
imageProps: elValue, imageProps: elValue,
sizeOriginal: imgsizeOriginal, sizeOriginal: imgsizeOriginal,
sizeMax: imgsizeMax, sizeMax: imgsizeMax,
sectionProps: me.api.asc_GetSectionProps(),
handler: function(result, value) { handler: function(result, value) {
if (result == 'ok') { if (result == 'ok') {
if (me.api) { if (me.api) {
......
...@@ -1143,6 +1143,7 @@ define([ ...@@ -1143,6 +1143,7 @@ define([
(new DE.Views.ImageSettingsAdvanced( (new DE.Views.ImageSettingsAdvanced(
{ {
imageProps: elValue, imageProps: elValue,
sectionProps: me.api.asc_GetSectionProps(),
handler: function(result, value) { handler: function(result, value) {
if (result == 'ok') { if (result == 'ok') {
if (me.api) { if (me.api) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment