diff options
author | Niall Sheridan <nsheridan@gmail.com> | 2016-09-11 21:53:59 +0100 |
---|---|---|
committer | Niall Sheridan <nsheridan@gmail.com> | 2016-09-11 21:53:59 +0100 |
commit | 8cdcbdc005d3d14fc72c62d4708a5ca8778a2c77 (patch) | |
tree | 541e0497dfab7e475b468c2c143977e87d336f4d /server | |
parent | fcd99315094618c20c06ece2eefe89cc751bb5b1 (diff) |
Invert check for revoked cert
Diffstat (limited to 'server')
-rw-r--r-- | server/static/js/table.js | 5 | ||||
-rw-r--r-- | server/static/static.go | 28 |
2 files changed, 17 insertions, 16 deletions
diff --git a/server/static/js/table.js b/server/static/js/table.js index da0da39..8dcf0f0 100644 --- a/server/static/js/table.js +++ b/server/static/js/table.js @@ -16,8 +16,9 @@ function reqListener() { // Index keyid and principals. row.cells[0].classList = ["keyid"]; row.cells[3].classList = ["principals"]; - if (el.revoked) { - row.insertCell(5).innerHTML = '<input style="margin:0;" type="checkbox" value="'+ el.key_id + '" name="cert_id" id="cert_id" />'; + row.insertCell(5) + if (!el.revoked) { + row.cells[5].innerHTML = '<input style="margin:0;" type="checkbox" value="'+ el.key_id + '" name="cert_id" id="cert_id" />'; } tbody.appendChild(row); }); diff --git a/server/static/static.go b/server/static/static.go index 28719ca..28714fc 100644 --- a/server/static/static.go +++ b/server/static/static.go @@ -391,21 +391,21 @@ FG1iGP5vAAAA//84G4UUqT0AAA== "/static/js/table.js": { local: "server/static/js/table.js", - size: 1414, - modtime: 1473620952, + size: 1432, + modtime: 1473627215, compressed: ` -H4sIAAAJbogA/3xU3W4aPRC95ynm21ysUYghX9qb0k1VRai0Io0UkFopipBZD+Bi7I3t5UcV717Zy/4k -0N4g1j5n5szxzMxzlTqhFRh8GQnrUKEhbfjdAtgwAwZTCwl8Gz98pxkzFolbCksN2kwrixPcuXb/iHVs -JhES4DrN16gcfcnR7McoMXXakPgiReOuAiquSTPN95AU5DeM6EIK66KA3S6FRCABTo3eWipRLdwSbqFX -yIUiFuUo0eGj3pJeYB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