This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<table> | |
<tbody oa-sortable="scroll.bind: 'document'; items.bind: items; axis: 'y'"> | |
<tr | |
oa-sortable-item="item.bind: item;" | |
repeat.for="item of items" | |
draggable="false"> | |
<td> | |
<div>${item.text}</div> | |
</td> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<table sortable="scroll.bind: 'document'; items.bind: items; axis: 'y'"> | |
<tbody> | |
<tr | |
view-cache="*" | |
sortable-item="item.bind: item;" | |
repeat.for="item of items" | |
draggable="false"> | |
<td> | |
<div>${item.text}</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<ul oa-sortable="items.bind: groups;"> | |
<li | |
repeat.for="group of groups" | |
oa-sortable-item="item.bind: group;" | |
draggable="false"> | |
<div> | |
${group.name} | |
<ul oa-sortable="items.bind: group.items;"> | |
<li |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<require from="async"></require> | |
<h1>${message}</h1> | |
<async></async> | |
</template> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<h1>${message}</h1> | |
</template> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<ul class="lui-list groups" | |
oa-sortable="items.bind: groups; allowed-drag-selector.bind: '.lui-icon--handle'; axis.bind: 'y'"> | |
<li repeat.for="group of groups" | |
oa-sortable-item="item.bind: group; type-flag.bind: group.typeFlag; locked-flag.bind: group.lockedFlag" | |
oa-sortable-item.ref="sortableGroupItem" | |
draggable="false"> | |
<span class="lui-list__aside"> | |
<span class="lui-list__header ${(sortableGroupItem.childSortable.isDisabled || sortableGroupItem.lockedFrom) ? 'lui-disabled' : ''} ${sortableGroupItem.lockedFrom ? 'locked' : ''}"> | |
<span class="lui-list__aside lui-icon lui-icon--small lui-icon--handle"></span> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<ul class="lui-list group" | |
oa-sortable="items.bind: items; allowed-drag-selector.bind: '.lui-icon--handle'; axis.bind: 'y'"> | |
<li class="lui-list__item" | |
repeat.for="item of items" | |
oa-sortable-item="item.bind: item" | |
draggable="false"> | |
<span class="lui-list__aside lui-icon lui-icon--small lui-icon--handle"></span> | |
<span class="lui-list__text">${item.name}</span> | |
<span class="lui-list__aside"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<table oa-tap.call="onTap()"> | |
<tr> | |
<td>Gesture me!</td> | |
</tr> | |
</table> | |
</template> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<require from="oa-contextmenu"></require> | |
<table oa-contextmenu.call="onContextmenu()"> | |
<tr> | |
<td>Gesture me!!!</td> | |
</tr> | |
</table> | |
</template> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
readonly DB_FILE="$(pwd)/images.db" | |
readonly IMG_DIR="$(pwd)/images" | |
save-images() { | |
echo "Create ${DB_FILE}" | |
echo "$(docker images|grep -v 'IMAGE ID'|awk '{printf("%s %s %s\n", $1, $2, $3)}'|column -t)" > "${DB_FILE}" | |
echo "Read ${DB_FILE}" |