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; ...@@ -53,7 +53,9 @@ $info: #0a8299;
} }
.table { .table {
table-layout: fixed; &-fixed {
table-layout: fixed;
}
&.sortable thead { &.sortable thead {
tr { tr {
......
<template> <template>
<div class="table-responsive" v-if="certifs.length > 0"> <div class="table-responsive" v-if="certifs.length > 0">
<BtnSearch v-model="search" class="col" v-if="certifs.length > 5" /> <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"> <thead class="thead-light">
<tr> <tr>
<th class="p-0" @click="sort('uid')"> <th class="p-0" @click="sort('uid')">
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
:certifs="certif.sent_certifications" :certifs="certif.sent_certifications"
v-if="certif.status == 'MEMBER'" /> v-if="certif.status == 'MEMBER'" />
</th> </th>
<td class="text-right py-1 td-date"> <td class="text-right py-1">
<BadgeDate :date="certif.expires_on" styleDate="short" /> <BadgeDate :date="certif.expires_on" styleDate="short" />
<small class="d-block" v-if="certif.pending"> <small class="d-block" v-if="certif.pending">
<span class="badge badge-secondary">{{ $t("traitement") }}</span> <span class="badge badge-secondary">{{ $t("traitement") }}</span>
......
<template> <template>
<div class="table-responsive pb-3"> <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"> <thead class="thead-light">
<tr> <tr>
<th <th
...@@ -94,13 +95,13 @@ ...@@ -94,13 +95,13 @@
{{ member.pubkey.substring(0, 10) }} {{ member.pubkey.substring(0, 10) }}
</td> </td>
<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)" v-if="['adhesion', 'favoris', 'search'].includes(type)"
@click="redirect(member.hash)"> @click="redirect(member.hash)">
<BadgeDate :date="member.limitDate" styleDate="short" /> <BadgeDate :date="member.limitDate" styleDate="short" />
</td> </td>
<td <td
class="td-date d-none" class="d-none"
:class="{ :class="{
'd-sm-table-cell': type == 'certif', 'd-sm-table-cell': type == 'certif',
'd-md-table-cell': type != 'certif' 'd-md-table-cell': type != 'certif'
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<img :src="$icon(512)" alt="Accueil" class="logo" /> <img :src="$icon(512)" alt="Accueil" class="logo" />
<div> <div>
<h1 class="h3"> <h1 class="h3">
Wotwizard <small><span class="small">v0.20</span></small> Wotwizard <small><span class="small">v0.21</span></small>
</h1> </h1>
<small class="text-muted">{{ $t("slogan") }}</small> <small class="text-muted">{{ $t("slogan") }}</small>
</div> </div>
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<tr> <tr>
<th>{{ $t("nom") }}</th> <th>{{ $t("nom") }}</th>
<th class="d-none d-sm-table-cell">{{ $t("type") }}</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> <th class="d-none d-md-table-cell">{{ $t("description") }}</th>
</tr> </tr>
</thead> </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