Sha256: a93094c3318e574ae8a8756bc00bac73faac067e827d7ef85cedaf9cbeaa9e8a
Contents?: true
Size: 1.65 KB
Versions: 26
Compression:
Stored size: 1.65 KB
Contents
<div class="client"> <div class="metrics"> <div id="fig"></div> <ul class="badges"> <li title="Access tokens granted, lifetime total"><big>${$.thousands(tokens.total)}</big><small>Granted</small></li> <li title="Access tokens granted, last 7 days"><big>${$.thousands(tokens.week)}</big><small>This Week</small></li> <li title="Access tokens revoked, last 7 days"><big>${$.thousands(tokens.revoked)}</big><small>Revoked (Week)</small></li> </ul> </div> <a href="#/new" style="float:left">Add New Client</a> <table class="clients"> <thead> <th>Application</th> <th>ID/Secret</th> <th>Created</th> <th>Revoked</th> </thead> {{each clients}} <tr class="${revoked ? "revoked" : "active"}"> <td class="name"> <a href="#/client/${id}"> {{if imageUrl}}<img src="${imageUrl}">{{/if}} ${displayName.trim() == "" ? "untitled" : displayName} </a> </td> <td class="secrets"> <a href="" rel="toggle">Reveal</a> <dl> <dt>ID</dt><dd>${id}</dd> <dt>Secret</dt><dd>${secret}</dd> <dt>Redirect</dt><dd>${redirectUri}</dd> </dl> </td> <td class="created">{{html $.shortdate(created)}}</td> <td class="revoke">{{if revoked}}{{html $.shortdate(revoked)}}{{/if}}</td> </tr> {{/each}} </table> </div> <script type="text/javascript"> $("td.secrets a[rel=toggle]").click(function(evt) { evt.preventDefault(); var dl = $(this).next("dl"); if (dl.is(":visible")) { $(this).html("Reveal"); dl.hide(); } else { $(this).html("Hide"); dl.show(); } }); </script>
Version data entries
26 entries across 26 versions & 2 rubygems