Skip to content
Snippets Groups Projects
Commit 0e33db56 authored by Hugo Trentesaux's avatar Hugo Trentesaux
Browse files

add details to user query

parent 0d78b873
No related branches found
No related tags found
1 merge request!1Add user query
<template> <template>
<main class="content"> <main class="content">
<h2 class="display-2 text-center mb-5">{{ idFromHash.uid }}</h2> <div
<div class="row"> class="spinner-border text-primary mx-auto d-block mb-3"
<ul> role="status"
<li>{{ idFromHash.uid }}</li> v-if="$apollo.queries.idFromHash.loading"
<li>{{ idFromHash.pubkey }}</li> >
<li>{{ idFromHash.status }}</li> <span class="sr-only">Loading...</span>
</ul> </div>
<div v-if="!$apollo.queries.idFromHash.loading">
<h2 class="display-2 text-center mb-5">{{ idFromHash.uid }}</h2>
<div class="row">
<div class="col-8 m-auto">
<div class="table-responsive">
<table class="table striped">
<tr>
<td>uid</td>
<td>{{ idFromHash.uid }}</td>
</tr>
<tr>
<td>pubkey</td>
<td>{{ idFromHash.pubkey }}</td>
</tr>
<tr>
<td>status</td>
<td>{{ idFromHash.status }}</td>
</tr>
<tr>
<td>membership_pending</td>
<td>{{ idFromHash.membership_pending }}</td>
</tr>
<tr>
<td>membership_pending_block</td>
<td>{{ idFromHash.membership_pending_block }}</td>
</tr>
<tr>
<td>membership_pending_limitDate</td>
<td>{{ idFromHash.membership_pending_limitDate }}</td>
</tr>
<tr>
<td>id_written_block</td>
<td>{{ idFromHash.id_written_block.number }}</td>
</tr>
<tr>
<td>lastApplication</td>
<td>{{ idFromHash.lastApplication.number }}</td>
</tr>
<tr>
<td>limitDate</td>
<td>{{ idFromHash.limitDate }}</td>
</tr>
<tr>
<td>isLeaving</td>
<td>{{ idFromHash.isLeaving }}</td>
</tr>
<tr>
<td>sentry</td>
<td>{{ idFromHash.sentry }}</td>
</tr>
<tr>
<td>received_certifications</td>
<td>{{ idFromHash.received_certifications.limit }}</td>
</tr>
<tr>
<td>distance</td>
<td>{{ idFromHash.distance.value.ratio }}</td>
</tr>
<tr>
<td>distanceE</td>
<td>{{ idFromHash.distanceE.value.ratio }}</td>
</tr>
<tr>
<td>quality</td>
<td>{{ idFromHash.quality.ratio }}</td>
</tr>
<tr>
<td>qualityE</td>
<td>{{ idFromHash.qualityE.ratio }}</td>
</tr>
<tr>
<td>minDate</td>
<td>{{ idFromHash.minDate }}</td>
</tr>
<tr>
<td>minDatePassed</td>
<td>{{ idFromHash.minDatePassed }}</td>
</tr>
</table>
</div>
</div>
</div>
</div> </div>
</main> </main>
</template> </template>
...@@ -31,6 +113,41 @@ export default { ...@@ -31,6 +113,41 @@ export default {
uid uid
status status
hash hash
membership_pending
membership_pending_block {
number
}
membership_pending_limitDate
id_written_block {
number
}
lastApplication {
number
}
limitDate
isLeaving
sentry
received_certifications {
limit
}
distance {
value {
ratio
}
}
distanceE {
value {
ratio
}
}
quality {
ratio
}
qualityE {
ratio
}
minDate
minDatePassed
} }
} }
`, `,
......
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