1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-14 10:36:19 +02:00

add some hints to export/import system

This commit is contained in:
Kushagra Gour
2017-05-17 10:24:12 +05:30
parent dfd5703c21
commit e37f4cd5b7
2 changed files with 3 additions and 3 deletions

View File

@ -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>

View File

@ -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.')
} }
}; };