2
0
mirror of https://github.com/urbanguacamole/torrent-paradise synced 2024-10-31 21:20:13 +00:00
torrent-paradise/website/resultpage/index.html
2019-03-03 09:58:16 +01:00

38 lines
1.8 KiB
HTML

<head>
<link rel="stylesheet" href="../bulma.min.css">
<link rel="stylesheet" href="buefy.min.css">
<script defer src="../assets/fa.js"></script>
</head>
<body onload="updateSize()" style="overflow: auto;">
<div id="app">
<progress v-if="showProgress" class="progress is-info" v-bind:value="progress" max="100">0 %</progress>
<b-table v-if="resultsFound" class="is-fullwidth" :data="results" default-sort="s" default-sort-direction="desc"
:striped="true" :paginated="true" :narrowed="true">
<template slot-scope="props">
<b-table-column field="text" label="Name" sortable>
<span v-bind:title="props.row.text">{{ props.row.text }}</span>
</b-table-column>
<b-table-column field="len" label="Size">
{{ props.row.len }}
</b-table-column>
<b-table-column field="s" label="Seed" numeric sortable>
{{ props.row.s }}
</b-table-column>
<b-table-column field="l" label="Leech" numeric sortable>
{{ props.row.l }}
</b-table-column>
<b-table-column field="id" label=" " e>
<span class="icon">
<a style="color: hsl(171, 100%, 41%)" v-bind:href="'magnet:?xt=urn:btih:' + props.row.id + '&tr=&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce'">
<i class="fas fa-magnet"></i>
</a>
</span>
</b-table-column>
</template>
</b-table>
</div>
<script src="../assets/vue-v2.6.8.js"></script>
<script src="buefy-table.js"></script>
<script src="main.js"></script>
</body>