Skip to content
Snippets Groups Projects
Verified Commit 64123f28 authored by Andrej Ramašeuski's avatar Andrej Ramašeuski
Browse files

Upravy tabulky

parent 30bfda52
No related branches found
No related tags found
No related merge requests found
Pipeline #10980 passed
2.2.1
2.2.2
<div id="App">
<div id="App" class="content-block">
<form @submit.prevent="addShortcut" v-cloak>
<div class="card elevation-4 space-y-2 my-4">
......@@ -31,20 +31,20 @@
<table class="table table--striped table--bordered table-auto w-full" v-cloak>
<thead>
<tr>
<th class="text-left w-16">Zkratka</th>
<th class="text-left">Zkratka</th>
<th class="text-left">URL</th>
<th class="text-left w-16">Přesměrování</th>
<th class="text-left w-16">Kliky</th>
<th class="text-left w-40"></th>
<th class="text-left">Přesměrování</th>
<th class="text-left">Kliky</th>
<th class="text-left"></th>
</tr>
</thead>
<tbody>
<tr v-for="shortcut in shortcuts" >
<td class="text-bold" @click="showEdit(shortcut)" >{{shortcut.shortcut}}</td>
<td class="text-bold w-32" @click="showEdit(shortcut)" >{{shortcut.shortcut}}</td>
<td v-bind:title="shortcut.url" @click="showEdit(shortcut)" >{{ stripURL(shortcut.url) }}</td>
<td @click="showEdit(shortcut)">{{ shortcut.code == 301 ? '301 trvalé' : '302 dočasné'}}</td>
<td @click="showEdit(shortcut)" class="text-right">{{shortcut.counter}}</td>
<td>
<td class="w-24" @click="showEdit(shortcut)">{{ shortcut.code == 301 ? '301 trvalé' : '302 dočasné'}}</td>
<td class="w-16 text-right" @click="showEdit(shortcut)">{{shortcut.counter}}</td>
<td class="w-40">
<i class="ico--link cursor-pointer mx-1" @click="showInfo(shortcut)" title="Zkopirovat odkaz"></i>
<i class="ico--calendar cursor-pointer mx-1" @click="window.location.href ='/shortcut/' + shortcut.id" title="Statistika"></i>
<i class="ico--equalizer cursor-pointer mx-1" @click="showEdit(shortcut)" title="Editovat"></i>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment