piskel/templates/dialogs/import-image.html

49 lines
2.3 KiB
HTML
Raw Normal View History

2014-07-12 20:36:39 +04:00
<div class="dialog-wrapper">
<h3 class="dialog-head">
Import Image
2015-02-19 03:11:30 +03:00
<span class="dialog-close">X</span>
2014-07-12 20:36:39 +04:00
</h3>
2014-07-13 02:46:14 +04:00
<div class="dialog-import-body">
2014-07-12 20:36:39 +04:00
<form action="" method="POST" name="import-image-form">
<div class="import-section">
2014-07-13 02:46:14 +04:00
<span class="dialog-section-title">Name :</span><span class="import-image-file-name"></span>
2014-07-12 20:36:39 +04:00
</div>
<div class="import-section">
2015-09-14 11:06:46 +03:00
<div class="import-section-preview-title">Preview :</div>
2014-07-12 20:36:39 +04:00
<div class="import-section-preview"></div>
</div>
<div class="import-section">
2015-09-14 11:06:46 +03:00
<label class="dialog-section-radio-label">
<input class="dialog-section-radio" name="import-type" value="single" type="radio" checked="checked">
Import as single image
</label>
</div>
<div class="import-section import-subsection">
<span class="dialog-section-title">Resize to</span>
2014-07-12 20:36:39 +04:00
<input type="text" class="textfield import-size-field" name="resize-width"/>x
<input type="text" class="textfield import-size-field" name="resize-height"/>
</div>
2015-09-14 11:06:46 +03:00
<div class="import-section import-subsection">
<span class="import-section-title">Smooth resize</span>
<input type="checkbox" class="checkbox-fix" checked="checked" name="smooth-resize-checkbox" value="1"/>
</div>
2014-07-12 20:36:39 +04:00
<div class="import-section">
2015-09-14 11:06:46 +03:00
<label class="dialog-section-radio-label">
<input class="dialog-section-radio" name="import-type" value="sheet" type="radio">
Import as spritesheet
</label>
</div>
<div class="import-section import-subsection">
<span class="dialog-section-title">Frame size</span>
<input type="text" class="textfield import-size-field" name="frame-size-x"/>x
<input type="text" class="textfield import-size-field" name="frame-size-y"/>
</div>
<div class="import-section import-subsection">
<span class="dialog-section-title">Offset</span>
<input type="text" class="textfield import-size-field" name="frame-offset-x"/>x
<input type="text" class="textfield import-size-field" name="frame-offset-y"/>
2014-07-12 20:36:39 +04:00
</div>
2015-09-14 11:06:46 +03:00
<input type="submit" name="import-submit" class="button button-primary import-button" value="Import"/>
2014-07-12 20:36:39 +04:00
</form>
</div>
</div>