add tools import button
This commit is contained in:
parent
51e6cf13ef
commit
f8bf28acdd
4 changed files with 4 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ Then open a browser to [localhost:8080/kiri](http://localhost:8080/kiri)
|
|||
|
||||
# Windows Developers
|
||||
|
||||
this git repo requires symbolic link support. on Windows, this means you have to clone the repo in a command shell with Administrator privileges.
|
||||
Follow the instructions in [this issue comment](https://github.com/GridSpace/grid-apps/issues/331#issuecomment-2692492302).
|
||||
|
||||
# Javascript Slicing APIs
|
||||
|
||||
|
|
|
|||
|
|
@ -287,6 +287,7 @@ gapp.register("kiri-mode.cam.tools", (root, exports) => {
|
|||
api.event.settings();
|
||||
api.settings.sync.put();
|
||||
};
|
||||
ui.toolsImport.onclick = (ev) => api.event.import(ev);
|
||||
ui.toolsExport.onclick = () => {
|
||||
uc.prompt("Export Tools Filename", "tools").then(name => {
|
||||
if (!name) {
|
||||
|
|
|
|||
|
|
@ -932,6 +932,7 @@ gapp.register("kiri.init", (root, exports) => {
|
|||
|
||||
toolsSave: $('tools-save'),
|
||||
toolsClose: $('tools-close'),
|
||||
toolsImport: $('tools-import'),
|
||||
toolsExport: $('tools-export'),
|
||||
toolSelect: $('tool-select'),
|
||||
toolAdd: $('tool-add'),
|
||||
|
|
|
|||
|
|
@ -585,6 +585,7 @@
|
|||
<button id="tools-close" lk="done">done</button>
|
||||
</div>
|
||||
<div class="f-row">
|
||||
<button id="tools-import" lk="import">import</button>
|
||||
<button id="tools-export" lk="export">export</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue