piskel/templates/settings/resize.html

47 lines
2.2 KiB
HTML
Raw Normal View History

2014-03-30 05:12:56 +04:00
<div class="settings-section">
2015-02-19 03:11:30 +03:00
<!-- RESIZE DRAWING AREA -->
2014-03-30 05:12:56 +04:00
<div class="settings-title">
2015-03-02 23:39:57 +03:00
Resize
2014-03-30 05:12:56 +04:00
</div>
2015-02-19 03:11:30 +03:00
<div class="settings-item resize-canvas">
<form action="" method="POST" name="resize-canvas-form">
2014-03-30 05:12:56 +04:00
<div class="resize-section">
2015-02-19 03:11:30 +03:00
<span class="resize-section-title">Width</span>
<input type="text" class="textfield resize-size-field" name="resize-width"/>
<span>px</span>
</div>
<div class="resize-section">
<span class="resize-section-title">Height</span>
<input type="text" class="textfield resize-size-field" name="resize-height"/>
<span>px</span>
</div>
<div class="resize-section">
<label>
2015-03-02 23:39:57 +03:00
<input type="checkbox" class="resize-ratio-checkbox" value="true" checked="true"/>
2015-02-19 03:11:30 +03:00
<span>Maintain aspect ratio</span>
</label>
</div>
2015-03-02 23:39:57 +03:00
<div class="resize-section">
<label>
<input type="checkbox" class="resize-content-checkbox" value="true"/>
<span>Resize canvas content</span>
</label>
</div>
2015-02-19 03:11:30 +03:00
<div class="resize-section">
<span class="resize-section-title">Anchor</span>
<div class="resize-origin-container">
2015-03-02 23:39:57 +03:00
<div class="resize-origin-option" title="top left" data-origin="TOPLEFT"></div>
<div class="resize-origin-option" title="top" data-origin="TOP"></div>
<div class="resize-origin-option" title="top right" data-origin="TOPRIGHT"></div>
<div class="resize-origin-option" title="middle left" data-origin="MIDDLELEFT"></div>
<div class="resize-origin-option" title="middle" data-origin="MIDDLE"></div>
<div class="resize-origin-option" title="middle right" data-origin="MIDDLERIGHT"></div>
<div class="resize-origin-option" title="bottom left" data-origin="BOTTOMLEFT"></div>
<div class="resize-origin-option" title="bottom" data-origin="BOTTOM"></div>
<div class="resize-origin-option" title="bottom right" data-origin="BOTTOMRIGHT"></div>
2015-02-19 03:11:30 +03:00
</div>
</div>
<input type="submit" class="button button-primary resize-button" value="Resize" />
2014-03-30 05:12:56 +04:00
</form>
</div>
</div>