Skip to content
Snippets Groups Projects
Commit a66bd23b authored by Pierre-Jean CHANCELLIER's avatar Pierre-Jean CHANCELLIER
Browse files

v0.21 more fix for tables display

parent 0dad86e1
No related branches found
No related tags found
No related merge requests found
......@@ -53,7 +53,9 @@ $info: #0a8299;
}
.table {
table-layout: fixed;
&-fixed {
table-layout: fixed;
}
&.sortable thead {
tr {
......
<template>
<div class="table-responsive" v-if="certifs.length > 0">
<BtnSearch v-model="search" class="col" v-if="certifs.length > 5" />
<table class="table table-striped table-hover sortable">
<table class="table table-striped table-hover table-fixed sortable">
<thead class="thead-light">
<tr>
<th class="p-0" @click="sort('uid')">
......@@ -52,7 +52,7 @@
:certifs="certif.sent_certifications"
v-if="certif.status == 'MEMBER'" />
</th>
<td class="text-right py-1 td-date">
<td class="text-right py-1">
<BadgeDate :date="certif.expires_on" styleDate="short" />
<small class="d-block" v-if="certif.pending">
<span class="badge badge-secondary">{{ $t("traitement") }}</span>
......
<template>
<div class="table-responsive pb-3">
<table class="table table-striped table-hover sortable text-center">
<table
class="table table-striped table-hover table-fixed sortable text-center">
<thead class="thead-light">
<tr>
<th
......@@ -94,13 +95,13 @@
{{ member.pubkey.substring(0, 10) }}
</td>
<td
class="td-date d-none d-sm-table-cell"
class="d-none d-sm-table-cell"
v-if="['adhesion', 'favoris', 'search'].includes(type)"
@click="redirect(member.hash)">
<BadgeDate :date="member.limitDate" styleDate="short" />
</td>
<td
class="td-date d-none"
class="d-none"
:class="{
'd-sm-table-cell': type == 'certif',
'd-md-table-cell': type != 'certif'
......
......@@ -5,7 +5,7 @@
<img :src="$icon(512)" alt="Accueil" class="logo" />
<div>
<h1 class="h3">
Wotwizard <small><span class="small">v0.20</span></small>
Wotwizard <small><span class="small">v0.21</span></small>
</h1>
<small class="text-muted">{{ $t("slogan") }}</small>
</div>
......
......@@ -12,7 +12,7 @@
<tr>
<th>{{ $t("nom") }}</th>
<th class="d-none d-sm-table-cell">{{ $t("type") }}</th>
<th>{{ $t("valeur") }}</th>
<th class="td-date">{{ $t("valeur") }}</th>
<th class="d-none d-md-table-cell">{{ $t("description") }}</th>
</tr>
</thead>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment