Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
wotwizard-ui
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
clients
wotwizard-ui
Commits
1c037745
Commit
1c037745
authored
3 years ago
by
Pierre-Jean CHANCELLIER
Browse files
Options
Downloads
Patches
Plain Diff
add responsive classes
parent
5f981dd5
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
components/certif/List.vue
+4
-2
4 additions, 2 deletions
components/certif/List.vue
components/member/Card.vue
+3
-3
3 additions, 3 deletions
components/member/Card.vue
pages/hash/_hash.vue
+3
-3
3 additions, 3 deletions
pages/hash/_hash.vue
with
10 additions
and
8 deletions
components/certif/List.vue
+
4
−
2
View file @
1c037745
...
...
@@ -2,13 +2,15 @@
<div
class=
"list-group"
>
<NuxtLink
:to=
"'/hash/'+getNeighbor(certif).hash"
class=
"list-group-item list-group-item-action"
class=
"list-group-item list-group-item-action
d-lg-flex justify-content-between align-items-center
"
:class=
"'list-group-item-'+ $options.filters.dateStatus(certif.expires_on)"
v-for=
"certif in certifsTriees"
:key=
"getNeighbor(certif).uid"
>
<div>
{{
getNeighbor
(
certif
).
uid
}}
<BadgeStatus
:statut=
"getNeighbor(certif).status"
/>
<small
class=
"text-muted"
>
Expire le
{{
certif
.
expires_on
|
formatDate
}}
</small>
</div>
<small
class=
"text-muted"
>
Expire le
{{
certif
.
expires_on
|
formatDate
}}
</small>
</NuxtLink>
</div>
</
template
>
...
...
This diff is collapsed.
Click to expand it.
components/member/Card.vue
+
3
−
3
View file @
1c037745
...
...
@@ -6,7 +6,7 @@
<BadgeStatus
:statut=
"hash.status"
/>
</h2>
<div
class=
"card-subtitle mb-2 text-muted"
>
{{
hash
.
pubkey
}}
</div>
<table
class=
"table table-sm"
v-if=
"hash.status != 'REVOKED'"
>
<table
class=
"table table-sm
table-borderless
"
v-if=
"hash.status != 'REVOKED'"
>
<tbody>
<tr
v-if=
"hash.status == 'MEMBER'"
>
<th
scope=
"row"
>
Référent :
</th>
...
...
@@ -27,8 +27,8 @@
}"
>
{{
Math
.
round
(
hash
.
distance
.
value
.
ratio
*
100
)
/
100
}}
</td>
</tr>
<tr>
<th
scope=
"row"
>
Date limite d'adhésion
:
</th>
<td
:class=
"'list-group-item-'+ $options.filters.dateStatus(hash.limitDate)"
>
{{
hash
.
limitDate
|
formatDate
}}
</td>
<th
scope=
"row"
>
{{
hash
.
status
!=
'
MISSING
'
?
"
Date limite d'adhésion
"
:
"
Date limite avant révocation
"
}}
:
</th>
<td
:class=
"
hash.status != 'MISSING' ?
'list-group-item-'+ $options.filters.dateStatus(hash.limitDate)
: 'list-group-item-danger'
"
>
{{
hash
.
limitDate
|
formatDate
}}
</td>
</tr>
<tr
v-if=
"hash.status == 'MEMBER'"
>
<th
scope=
"row"
>
Date avant de manquer de certifs :
</th>
...
...
This diff is collapsed.
Click to expand it.
pages/hash/_hash.vue
+
3
−
3
View file @
1c037745
...
...
@@ -3,16 +3,16 @@
<NavigationLoader
:isLoading=
"$apollo.queries.idFromHash.loading"
class=
"d-block mb-3"
/>
<div
v-if=
"!$apollo.queries.idFromHash.loading"
>
<div
class=
"row"
>
<div
class=
"col-6 mx-auto mt-3"
>
<div
class=
"col-
md-10 col-lg-8 col-xl-
6 mx-auto mt-3"
>
<MemberCard
:hash=
"idFromHash"
/>
</div>
</div>
<div
class=
"row mt-3"
v-if=
"idFromHash.status != 'REVOKED' && idFromHash.status != 'NEWCOMER'"
>
<div
class=
"col-
6
"
>
<div
class=
"col-
12 col-md-6 mb-3
"
>
<h3>
Certifications reçues
</h3>
<CertifList
:certifs=
"idFromHash.received_certifications.certifications"
type=
"recieved"
/>
</div>
<div
class=
"col-6"
>
<div
class=
"col-
12 col-md-
6"
>
<h3>
Certifications envoyées
</h3>
<CertifList
:certifs=
"idFromHash.sent_certifications"
type=
"sent"
/>
</div>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment