Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
duniter-currency-monit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nodes
typescript
modules
duniter-currency-monit
Commits
c412c743
Commit
c412c743
authored
8 years ago
by
Éloïs
Browse files
Options
Downloads
Patches
Plain Diff
[mod] members page : add tooltips
parent
91e0cf88
No related branches found
No related tags found
1 merge request
!62
Dev2
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
lg/members_en.txt
+2
-1
2 additions, 1 deletion
lg/members_en.txt
lg/members_fr.txt
+2
-1
2 additions, 1 deletion
lg/members_fr.txt
views/members.html
+5
-6
5 additions, 6 deletions
views/members.html
with
9 additions
and
8 deletions
lg/members_en.txt
+
2
−
1
View file @
c412c743
...
...
@@ -65,3 +65,4 @@ CERT_AVAILABLE available
MEMBERS members
NEXT_YN Feign the following Y[n] landing
MEMBER_FILTER search a member
EXPIRE_TIME expiration datetime
\ No newline at end of file
This diff is collapsed.
Click to expand it.
lg/members_fr.txt
+
2
−
1
View file @
c412c743
...
...
@@ -65,3 +65,4 @@ CERT_AVAILABLE disponible
MEMBERS membres
NEXT_YN Simuler le palier Y[n] suivant
MEMBER_FILTER rechercher un membre
EXPIRE_TIME date et heure d'expiration
\ No newline at end of file
This diff is collapsed.
Click to expand it.
views/members.html
+
5
−
6
View file @
c412c743
...
...
@@ -137,12 +137,10 @@ ${LANG["MEMBER_FILTER"]} : <input type="text" name="filter" id="filter" value=""
: ''}
</td>
<td
align=
"center"
style=
"background:hsla(${member.proportion}, 100%, 50%, 1)"
>
${timestampToDatetime(member.idtyWrittenTimestamp)}
<br>
#${member.idtyWrittenBloc}
<span
data-tip=
"${timestampToDatetime(member.idtyWrittenTimestamp)}"
>
#${member.idtyWrittenBloc}
</span>
</td>
<td
align=
"center"
style=
"background:hsla(${member.proportion}, 100%, 50%, 1)"
>
${timestampToDatetime(member.lastRenewalTimestamp)}
<br>
#${member.lastRenewalWrittenBloc}
<span
data-tip=
"${timestampToDatetime(member.lastRenewalTimestamp)}"
>
#${member.lastRenewalWrittenBloc}
</span>
</td>
<td
align=
"center"
style=
"background:hsla(${member.proportion}, 100%, 50%, 1)"
>
${timestampToDatetime(member.expireMembershipTimestamp)}
</td>
...
...
@@ -163,7 +161,8 @@ ${LANG["MEMBER_FILTER"]} : <input type="text" name="filter" id="filter" value=""
<!-- Printer la certification -->
<td
align=
"center"
style=
"background:${(cert.validBlockStamp) ? cert.colorPending=color(cert.expires_on,idtyWindow,250) : cert.colorPending='#FF8000'}"
>
<b>
${cert.protagonist}
</b><br>
${timestampToDatetime(cert.timestampExpire)}
<br>
<span
data-tip=
"${LANG['EXPIRE_TIME']}"
>
${timestampToDatetime(cert.timestampExpire)}
</span><br>
${LANG["EMITTED"]} #${cert.blockNumber}
<br>
${ ( !cert.validBlockStamp || cert.timestampWritable > currentBlockchainTimestamp ) ? `
<font
color=
"DarkRed"
>
[${ (cert.validBlockStamp) ? timestampToDatetime(cert.timestampWritable):LANG['INVALID_BLOCKSTAMP']}]
</font>
...
...
@@ -180,7 +179,7 @@ ${LANG["MEMBER_FILTER"]} : <input type="text" name="filter" id="filter" value=""
<!-- Printer la certification -->
<td
align=
"center"
style=
"background:hsla(${proportion(cert.timestampExpire,sigValidity,0,120)}, 100%, 50%, 1 )"
>
<b>
${(mode=='emitted') ? cert.receiver:cert.issuer}
</b><br>
${timestampToDatetime(cert.timestampExpire)}
<br>
<span
data-tip=
"${LANG['EXPIRE_TIME']}"
>
${timestampToDatetime(cert.timestampExpire)}
<
/span><
br>
${LANG["WRITTEN"]} #${cert.writtenBloc}
</td>
`).join('')}
...
...
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