piskel/templates/settings/resize.html

66 lines
2.9 KiB
HTML
Raw Normal View History

2014-03-30 05:12:56 +04:00
<div class="settings-section">
2015-04-27 01:44:43 +03:00
<!-- RESIZE DRAWING SECTION -->
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-09-14 11:06:46 +03:00
<input type="checkbox" class="resize-ratio-checkbox checkbox-fix" 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>
2015-09-14 11:06:46 +03:00
<input type="checkbox" class="resize-content-checkbox checkbox-fix" value="true"/>
2015-03-02 23:39:57 +03:00
<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>
2015-04-27 01:44:43 +03:00
<!-- 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" 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" name="default-height"/>
<span>px</span>
</div>
<input type="submit" class="button button-primary resize-button" value="Set default" />
</form>
</div>
2014-03-30 05:12:56 +04:00
</div>