Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
bokkypoobah committed Dec 17, 2023
1 parent 6f12b28 commit 40c8399
Showing 1 changed file with 0 additions and 106 deletions.
106 changes: 0 additions & 106 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -451,13 +451,8 @@ <h4>Welcome</h4>
</template>
</b-table>




<b-row v-if="false" class="m-0 p-0">

<b-col class="m-0 p-0">

<!-- :EVENTS -->
<!-- <b-table v-if="settings.tabIndex == 1 && !settings.showInfo" small fixed striped responsive hover :fields="eventsFields" :items="events" show-empty empty-html="Click Sync above to retrieve contract events" head-variant="light" class="mx-0 my-1"> -->
<b-table v-if="settings.tabIndex == 1 && !settings.showInfo" small fixed striped responsive hover :items="events" show-empty empty-html="Click Sync above to retrieve contract events" head-variant="light" class="mx-0 my-1">
Expand All @@ -466,107 +461,6 @@ <h4>Welcome</h4>
</template>
</b-table>

<!-- :STATUS -->
<b-table v-if="settings.tabIndex == 2 && !settings.showInfo" small fixed striped responsive hover :fields="statusFields" :items="status" show-empty empty-html="Click Sync above to retrieve contract events" head-variant="light" class="mx-0 my-1">
<template #cell(number)="data">
<span v-if="data.item.address">
{{ parseInt(data.index) + ((settings.activityTable.currentPage - 1) * settings.activityTable.pageSize) + 1 }}
</span>
</template>
<template #cell(contract)="data">
<span v-if="data.item.address">
<b-link :href="'https://etherscan.io/address/' + data.item.address + '#code'" v-b-popover.hover.bottom="'View code in etherscan.io'" target="_blank">
{{ data.item.name }}
</b-link>
<font size="-2">
<b-badge pill variant="transparent">{{ data.item.address }}</b-badge>
</font>
<!-- <font size="-2">
<b-link :href="'https://etherscan.io/address/' + data.item.address" v-b-popover.hover.bottom="'View transactions in etherscan.io'" target="_blank">
{{ data.item.address.substring(0, 20) + '...' }}
</b-link>
</font> -->
</span>
<span v-else>
{{ data.item.name }}
</span>
</template>
<template #cell(firstEventBlockNumber)="data">
{{ commify0(data.item.firstEventBlockNumber) }}
</template>
<template #cell(latestEventBlockNumber)="data">
<font v-if="blockNumber && data.item.latestEventBlockNumber && data.item.latestEventBlockNumber <= blockNumber" size="-2">
<b-badge pill variant="transparent" class="text-muted">{{ blockNumber - data.item.latestEventBlockNumber }}</b-badge>
</font>
{{ commify0(data.item.latestEventBlockNumber) }}
</template>
<template #cell(latestBlockNumber)="data">
<font v-if="blockNumber && data.item.latestBlockNumber && data.item.latestBlockNumber <= blockNumber" size="-2">
<b-badge pill variant="transparent" class="text-muted">{{ blockNumber - data.item.latestBlockNumber }}</b-badge>
</font>
{{ commify0(data.item.latestBlockNumber) }}
</template>
<template #cell(count)="data">
<!-- <font v-if="data.item.count && data.item.lastCount" size="-2"> -->
<!-- <b-badge pill variant="transparent">{{ data.item.count - data.item.lastCount }}</b-badge> -->
<!-- <b-badge pill variant="transparent">{{ commify0(data.item.lastCount) }}</b-badge> -->
<!-- </font> -->
{{ commify0(data.item.count) }}
</template>
</b-table>

<!-- :OWNERS -->
<b-table v-if="settings.tabIndex == 1002 && !settings.showInfo" small fixed striped responsive hover :fields="ownersFields" :items="pagedFilteredSortedOwners" show-empty empty-html="Click Sync above to retrieve contract events" head-variant="light" class="mx-0 my-1">
<template #cell(number)="data">
{{ parseInt(data.index) + ((settings.ownersTable.currentPage - 1) * settings.ownersTable.pageSize) + 1 }}
</template>
<template #cell(owner)="data">
<font size="-1">
<b-link @click="showModalAddress(data.item[0]);" v-b-popover.hover.bottom="'Click for details'" target="_blank">
<b-badge pill variant="light">{{ ensOrAddress(data.item[0], 24) }}</b-badge>
</b-link>
</font>
</template>
<template #cell(v1)="data">
<b-badge v-if="data.item[1].length > 0" pill variant="secondary">{{ data.item[1].length }}</b-badge>
<font size="-1">
<b-card-group deck class="m-1 ml-0 p-0">
<span v-for="e of data.item[1]">
<b-card body-class="p-0" footer-class="m-0 p-0" class="m-1 p-0 border-0" style="max-width: 6rem;">
<b-link @click="showModalPunk(e[0]);" v-b-popover.hover.bottom="'Click for details'" target="_blank">
<b-img-lazy width="100%" :src="'images/punks/punk' + e[0].toString().padStart(4, '0') + '.png'" :style="backgroundStyles[e[1] ? 3 : 1]"/>
</b-link>
<template #footer>
<b-link @click="showModalPunk(e[0]);" v-b-popover.hover.bottom="'Click for details'" target="_blank">
<b-badge pill variant="info">{{ e[0] }}</b-badge>
</b-link>
</template>
</b-card>
</span>
</b-card-group>
</font>
</template>
<template #cell(v2)="data">
<b-badge v-if="data.item[2].length > 0" pill variant="secondary">{{ data.item[2].length }}</b-badge>
<font size="-1">
<b-card-group deck class="m-1 ml-0 p-0">
<span v-for="e of data.item[2]">
<b-card body-class="p-0" footer-class="m-0 p-0" class="m-1 p-0 border-0" style="max-width: 6rem;">
<b-link @click="showModalPunk(e[0]);" v-b-popover.hover.bottom="'Click for details'" target="_blank">
<b-img-lazy width="100%" :src="'images/punks/punk' + e[0].toString().padStart(4, '0') + '.png'" :style="backgroundStyles[e[1] ? 4 : 2]"/>
</b-link>
<template #footer>
<b-link @click="showModalPunk(e[0]);" v-b-popover.hover.bottom="'Click for details'" target="_blank">
<b-badge pill variant="info">{{ e[0] }}</b-badge>
</b-link>
</template>
</b-card>
</span>
</b-card-group>
</font>
</template>
</b-table>

<!-- :CONFIG -->
<b-card v-if="settings.tabIndex == 1003 && !settings.showInfo" no-body no-header bg-variant="light" class="mx-0 my-1 p-1">
<b-card-body class="m-1 ml-0 p-1">
Expand Down

0 comments on commit 40c8399

Please sign in to comment.