Skip to content
Snippets Groups Projects
Commit 152a123d authored by Éloïs's avatar Éloïs
Browse files

[fix] add hiden col for filter

parent 53c681c0
Branches
Tags
1 merge request!62Dev2
...@@ -53,3 +53,4 @@ INVALID_BLOCKSTAMP invalid blockstamp ...@@ -53,3 +53,4 @@ INVALID_BLOCKSTAMP invalid blockstamp
LAST_TR1 total LAST_TR1 total
LAST_TR2 identities LAST_TR2 identities
ON_WOTEX on wotex ON_WOTEX on wotex
IDTY_FILTER filter identities
...@@ -53,3 +53,4 @@ INVALID_BLOCKSTAMP blockstamp incorrect ...@@ -53,3 +53,4 @@ INVALID_BLOCKSTAMP blockstamp incorrect
LAST_TR1 total LAST_TR1 total
LAST_TR2 identités LAST_TR2 identités
ON_WOTEX sur wotex ON_WOTEX sur wotex
IDTY_FILTER filtrer les identités
...@@ -56,7 +56,7 @@ ${printMenu(MENU_LANG, help, "WILL_MEMBERS")} ...@@ -56,7 +56,7 @@ ${printMenu(MENU_LANG, help, "WILL_MEMBERS")}
</select> <input type="submit" value="${LANG["SUBMIT_TXT"]}"><br> </select> <input type="submit" value="${LANG["SUBMIT_TXT"]}"><br>
<input type="checkbox" name="showIdtyWithZeroCert" value="yes" ${showIdtyWithZeroCert == 'yes' ? 'checked' : ''}>${LANG["CHECKBOX_SHOW_IDTY_WITH_ZERO_CERT"]}<br> <input type="checkbox" name="showIdtyWithZeroCert" value="yes" ${showIdtyWithZeroCert == 'yes' ? 'checked' : ''}>${LANG["CHECKBOX_SHOW_IDTY_WITH_ZERO_CERT"]}<br>
<input type="checkbox" name="sortSig" value="Availability" ${sortSig == 'Availability' ? 'checked' : ''}>${LANG["CHECKBOX_SORT_SIG"]}<br> <input type="checkbox" name="sortSig" value="Availability" ${sortSig == 'Availability' ? 'checked' : ''}>${LANG["CHECKBOX_SORT_SIG"]}<br>
filtrer les identités : <input type="text" name="filter" id="filter" value="" maxlength="20" onchange="filterRows(document.getElementById('table'),2,0,this.value);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();"/> ${LANG["IDTY_FILTER"]} : <input type="text" name="filter" id="filter" value="" maxlength="20" onchange="filterRows(document.getElementById('table'),2,0,this.value);" onkeypress="this.onchange();" onpaste="this.onchange();" oninput="this.onchange();"/>
</form> </form>
<br> <br>
<hr> <hr>
...@@ -156,6 +156,7 @@ ${ (USE_WOTB6) ? ` ...@@ -156,6 +156,7 @@ ${ (USE_WOTB6) ? `
<tr><td colspan="${nbMaxCertifs+4}" align='center'>${LANG["TABLE_TITLE1"]} <b>${days}</b> ${LANG["TABLE_TITLE2"]}</td></tr> <tr><td colspan="${nbMaxCertifs+4}" align='center'>${LANG["TABLE_TITLE1"]} <b>${days}</b> ${LANG["TABLE_TITLE2"]}</td></tr>
<!-- Printer les nom des colonnes --> <!-- Printer les nom des colonnes -->
<tr> <tr>
<td align="center" style="display :none"></td>
<td align='center'>${LANG['IDENTITY']}</td><td align='center'>${LANG['MEMBERSHIP_CASE_FULL']}</td><td align='center'>${LANG['DISTANCE_RULE']}</td> <td align='center'>${LANG['IDENTITY']}</td><td align='center'>${LANG['MEMBERSHIP_CASE_FULL']}</td><td align='center'>${LANG['DISTANCE_RULE']}</td>
<td style="background:#000000">-</td> <td style="background:#000000">-</td>
<td align='center' colspan="${nbMaxCertifs}">${sortSig == "Availability" <td align='center' colspan="${nbMaxCertifs}">${sortSig == "Availability"
...@@ -168,9 +169,10 @@ ${ (USE_WOTB6) ? ` ...@@ -168,9 +169,10 @@ ${ (USE_WOTB6) ? `
<!--Printer la ligne--> <!--Printer la ligne-->
<tr> <tr>
<td align="center" style="background:${(idty.validBlockStamp) ? ((idty.expires_on > 0) ? idty.colorPending=color(idty.expires_on,idtyWindow,250):idty.colorPending='#FF0000'): idty.colorPending='#FF8000'}">${idty['uid'].substring(0, 25)} <td align="center" style="display :none">${idty['uid']}</td>
<td align="center" style="background:${(idty.validBlockStamp) ? ((idty.expires_on > 0) ? idty.colorPending=color(idty.expires_on,idtyWindow,250):idty.colorPending='#FF0000'): idty.colorPending='#FF8000'}">
<a href="wotex?lg=${MENU_LANG['LG']}${(typeof(help) != 'undefined' && help == 'no') ? '&help=no':''}&to=${idty['uid']}${idty['wotexId']}&pending=on&mode=undefined">${idty['uid'].substring(0, 25)}</a>
<br><span data-tip="${LANG['PUBKEY_PART']} ">${idty['pubkey'].substring(0, 16)}</span> <br><span data-tip="${LANG['PUBKEY_PART']} ">${idty['pubkey'].substring(0, 16)}</span>
<br><a href="wotex?lg=${MENU_LANG['LG']}${(typeof(help) != 'undefined' && help == 'no') ? '&help=no':''}&to=${idty['uid']}${idty['wotexId']}&pending=on&mode=undefined">${idty['uid']}${idty['wotexId']} ${LANG['ON_WOTEX']}</a>
<br><b><span data-tip="${LANG['EMITTED_ON']} ${timestampToDatetime(idty['creationTimestamp'])}">#${idty['BlockNumber']}</span></b> <br><b><span data-tip="${LANG['EMITTED_ON']} ${timestampToDatetime(idty['creationTimestamp'])}">#${idty['BlockNumber']}</span></b>
${(idty.expires_on > 0) ? '<br><b><span data-tip="'+LANG['EXPIRE_TIME']+'">'+timestampToDatetime(idty.expires_on)+'</span></b>':``} ${(idty.expires_on > 0) ? '<br><b><span data-tip="'+LANG['EXPIRE_TIME']+'">'+timestampToDatetime(idty.expires_on)+'</span></b>':``}
${(!idty.validBlockStamp) ? ` ${(!idty.validBlockStamp) ? `
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment