mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
Added save project dialogue
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
{{> credits-popup}}
|
||||
{{> settings-popup}}
|
||||
{{> pixel-export-popup}}
|
||||
{{> save-project-popup}}
|
||||
</div>
|
||||
|
||||
<script src="/pixel-editor/pixel-editor.js"></script>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<input id="file-name" autocomplete="off" />
|
||||
</div>
|
||||
|
||||
<div class="export-actions">
|
||||
<div class="popup-actions">
|
||||
<button class="default" id = "export-confirm">Export</button>
|
||||
</div>
|
||||
</div>
|
||||
14
views/save-project-popup.hbs
Normal file
14
views/save-project-popup.hbs
Normal file
@@ -0,0 +1,14 @@
|
||||
<div id="save-project" class="save-project">
|
||||
<button class="close-button">{{svg "x.svg" width="20" height="20"}}</button>
|
||||
|
||||
<h1>Save Project</h1>
|
||||
|
||||
<div class="save-project-configuration">
|
||||
<h2>File Name</h2>
|
||||
<input id="lpe-file-name" autocomplete="off" />
|
||||
</div>
|
||||
|
||||
<div class="popup-actions">
|
||||
<button class="default" id = "save-project-confirm">Save</button>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user