mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-14 02:26:20 +02:00
add some hints to export/import system
This commit is contained in:
@ -543,9 +543,9 @@
|
|||||||
<h3>My Library <span id="savedItemCountEl"></span></h3>
|
<h3>My Library <span id="savedItemCountEl"></span></h3>
|
||||||
|
|
||||||
<div class="main-header__btn-wrap">
|
<div class="main-header__btn-wrap">
|
||||||
<a d-click="exportItems" href="" class="btn btn-icon">Export
|
<a d-click="exportItems" href="" class="btn btn-icon hint--bottom-left hint--rounded hint--medium" aria-label="Export all your creations into a single importable file.">Export
|
||||||
</a>
|
</a>
|
||||||
<a d-click="onImportBtnClicked" href="" class="btn btn-icon">Import
|
<a d-click="onImportBtnClicked" href="" class="btn btn-icon hint--bottom-left hint--rounded hint--medium" aria-label="Only the file that you export through the 'Export' button can be imported.">Import
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1100,7 +1100,7 @@ runBtn, searchInput, consoleEl, consoleLogEl, logCountEl
|
|||||||
utils.log(items);
|
utils.log(items);
|
||||||
mergeImportedItems(items);
|
mergeImportedItems(items);
|
||||||
} catch (ex) {
|
} catch (ex) {
|
||||||
alert('Oops! Select file is corrupted.')
|
alert('Oops! Selected file is corrupted. Please select a file that was generated by clicking the "Export" button.')
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user