2015-11-30 02:08:50 +03:00
|
|
|
<script type="text/html" id="templates/settings/resize.html">
|
2016-05-23 00:37:28 +03:00
|
|
|
<div class="settings-section settings-section-resize">
|
2015-11-30 02:08:50 +03:00
|
|
|
<!-- RESIZE DRAWING SECTION -->
|
|
|
|
<div class="settings-title">
|
|
|
|
Resize
|
|
|
|
</div>
|
|
|
|
<div class="settings-item resize-canvas">
|
|
|
|
<form action="" method="POST" name="resize-canvas-form">
|
|
|
|
<div class="resize-section">
|
|
|
|
<span class="resize-section-title">Width</span>
|
|
|
|
<input type="text" class="textfield resize-size-field" autocomplete="off" name="resize-width"/>
|
|
|
|
<span>px</span>
|
2015-02-16 01:41:58 +03:00
|
|
|
</div>
|
2015-11-30 02:08:50 +03:00
|
|
|
<div class="resize-section">
|
|
|
|
<span class="resize-section-title">Height</span>
|
|
|
|
<input type="text" class="textfield resize-size-field" autocomplete="off" name="resize-height"/>
|
|
|
|
<span>px</span>
|
|
|
|
</div>
|
|
|
|
<div class="resize-section">
|
2017-10-22 01:32:17 +03:00
|
|
|
<label class="checkbox-container">
|
2015-11-30 02:08:50 +03:00
|
|
|
<input type="checkbox" class="resize-ratio-checkbox checkbox-fix" value="true"/>
|
|
|
|
<span>Maintain aspect ratio</span>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
<div class="resize-section">
|
2017-10-22 01:32:17 +03:00
|
|
|
<label class="checkbox-container">
|
2015-11-30 02:08:50 +03:00
|
|
|
<input type="checkbox" class="resize-content-checkbox checkbox-fix" value="true"/>
|
|
|
|
<span>Resize canvas content</span>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
<div class="resize-section">
|
|
|
|
<span class="resize-section-title">Anchor</span>
|
2017-01-16 02:52:48 +03:00
|
|
|
<div class="resize-anchor-container"></div>
|
2015-11-30 02:08:50 +03:00
|
|
|
</div>
|
|
|
|
<input type="submit" class="button button-primary resize-button" value="Resize" />
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<!-- DEFAULT SIZE SECTION -->
|
|
|
|
<div class="settings-title">
|
|
|
|
Default size
|
|
|
|
</div>
|
|
|
|
<div class="settings-item settings-default-size">
|
|
|
|
<form action="" method="POST" name="default-size-form">
|
|
|
|
<div class="resize-section">
|
|
|
|
<span class="resize-section-title">Width</span>
|
|
|
|
<input type="text" class="textfield resize-size-field" autocomplete="off" name="default-width"/>
|
|
|
|
<span>px</span>
|
|
|
|
</div>
|
|
|
|
<div class="resize-section">
|
|
|
|
<span class="resize-section-title">Height</span>
|
|
|
|
<input type="text" class="textfield resize-size-field" autocomplete="off" name="default-height"/>
|
|
|
|
<span>px</span>
|
|
|
|
</div>
|
2017-01-08 18:09:03 +03:00
|
|
|
<input type="submit" class="button button-primary default-size-button" value="Set default" />
|
2015-11-30 02:08:50 +03:00
|
|
|
</form>
|
|
|
|
</div>
|
2015-03-04 10:37:37 +03:00
|
|
|
</div>
|
2015-11-30 02:08:50 +03:00
|
|
|
</script>
|