1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-10-13 20:44:23 +02:00

add import/export feat. fixes #59

This commit is contained in:
Kushagra Gour
2017-02-27 02:36:28 +05:30
parent 1c561cfe1b
commit befcd1f74c
3 changed files with 155 additions and 12 deletions

View File

@@ -377,7 +377,24 @@
<div id="js-saved-items-pane" class="saved-items-pane">
<button class="btn saved-items-pane__close-btn" id="js-saved-items-pane-close-btn">X</button>
<div class="flex flex-v-center" style="justify-content: space-between;">
<h3>My Library</h3>
<div class="main-header__btn-wrap">
<a d-click="exportItems" href="" class="btn btn-icon">
<svg viewBox="0 0 24 24" style="width:14px;height:14px">
<path d="M6,2C4.89,2 4,2.9 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M13,3.5L18.5,9H13M8.93,12.22H16V19.29L13.88,17.17L11.05,20L8.22,17.17L11.05,14.35" />
</svg>
Export
</a>
<a d-click="onImportBtnClicked" href="" class="btn btn-icon">
<svg viewBox="0 0 24 24" style="width:14px;height:14px">
<path d="M6,2C4.89,2 4,2.9 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M13,3.5L18.5,9H13M10.05,11.22L12.88,14.05L15,11.93V19H7.93L10.05,16.88L7.22,14.05" />
</svg>
Import
</a>
</div>
</div>
<div id="js-saved-items-wrap" class="saved-items-pane__container">
</div>