piskel/templates/settings/save.html

77 lines
3.3 KiB
HTML
Raw Normal View History

2015-03-02 23:39:57 +03:00
<div class="settings-section setting-save-section">
2015-04-27 01:44:43 +03:00
<form action="" method="POST" class="save-form" name="save-form">
2014-07-12 20:36:39 +04:00
<div class="settings-title">Describe your piskel</div>
<div class="settings-item">
<div class="settings-form-section" style="overflow:hidden">
2015-04-27 01:44:43 +03:00
<label class="row" style="line-height:20px;">Title : </label>
<input id="save-name" type="text" class="save-field textfield"/>
2014-07-12 20:36:39 +04:00
</div>
<div class="settings-form-section">
2015-04-27 01:44:43 +03:00
<label class="row" style="line-height:20px;">Description : </label>
<textarea id="save-description" class="save-field textfield"></textarea>
2014-07-12 20:36:39 +04:00
</div>
2015-03-02 23:39:57 +03:00
<div class="settings-form-section save-public-section">
2014-07-12 20:36:39 +04:00
<label class="row">
Public : <input type="checkbox" value="1" name="save-public-checkbox"/>
</label>
</div>
</div>
2015-04-27 01:44:43 +03:00
</form>
<!-- PARTIALS -->
<!-- save-online-partial -->
<script type="text/template" id="save-online-partial">
2014-07-12 20:36:39 +04:00
<div class="settings-title">Save online</div>
<div class="settings-item">
2015-02-19 03:11:30 +03:00
<input type="button" class="button button-primary" id="save-online-button" value="Save to your gallery" />
2014-07-12 20:36:39 +04:00
<div id="save-online-status" class="save-status"></div>
</div>
2015-04-27 01:44:43 +03:00
</script>
<!-- save-localstorage-partial -->
<script type="text/template" id="save-localstorage-partial">
<div id="save-in-browser">
<div class="settings-title">Save offline in Browser</div>
<div class="settings-item">
<input type="button" class="button button-primary" id="save-browser-button" value="Save in Browser" />
<div id="save-browser-status" class="save-status">Your piskel will be saved locally and will only be accessible from this browser.</div>
</div>
</div>
</script>
<!-- save-file-partial -->
<script type="text/template" id="save-file-nw-partial">
<div class="settings-title">Save as File</div>
2014-07-12 20:36:39 +04:00
<div class="settings-item">
2015-04-27 01:44:43 +03:00
<input type="button" class="button button-primary" id="save-file-button" value="Save" />
<input type="button" class="button button-primary" id="save-as-button" value="Save as ..." />
<div id="save-file-status" class="save-status">Your sprite will be saved as a .piskel file.</div>
2014-07-12 20:36:39 +04:00
</div>
2015-04-27 01:44:43 +03:00
</script>
<script type="text/template" id="save-file-partial">
2014-07-12 20:36:39 +04:00
<div class="settings-title">Save offline as File</div>
<div class="settings-item">
2015-04-27 01:44:43 +03:00
<input type="button" class="button button-primary" id="save-file-button" value="Save as .piskel" />
<div id="save-file-status" class="save-status">Your sprite will be downloaded as a .piskel file.</div>
2014-07-12 20:36:39 +04:00
</div>
2015-04-27 01:44:43 +03:00
</script>
2014-07-12 20:36:39 +04:00
<script type="text/template" id="save-please-login-partial">
<span>Login to <a href="http://piskelapp.com" target="_blank">piskelapp.com</a> to save and share your sprites online !</span>
</script>
2015-02-19 03:11:30 +03:00
<script type="text/template" id="save-online-status-partial">
<span>Your piskel will be stored online in your gallery.</span>
</script>
2014-07-12 20:36:39 +04:00
<script type="text/template" id="save-file-status-template">
2015-04-27 01:44:43 +03:00
<span>Your piskel will be downloaded as: <span class="save-file-name">{{name}}<span></span>
</script>
<script type="text/template" id="save-file-status-desktop-template">
<span>Saving as: <span class="save-desktop-file-name">{{name}}<span></span>
2014-07-12 20:36:39 +04:00
</script>
2015-04-27 01:44:43 +03:00
</div>