Sha256: 69acb20713949fd1c2fe406d53ea7a1301e75eed90001ba89a1be6d310640d08
Contents?: true
Size: 1.97 KB
Versions: 1
Compression:
Stored size: 1.97 KB
Contents
<div class="client"> <div class="details"> <a href="${link}" class="name">{{if imageUrl}}<img src="${imageUrl}">{{/if}} ${displayName}</a> <a href="#/client/${id}/edit" rel="edit">Edit</a> {{if !revoked}} <a href="#/client/${id}/revoke" data-method="post" data-confirm="There is no undo. Are you really really sure?" rel="revoke">Revoke</a> {{/if}} <a href="#/client/${id}" data-method="delete" data-confirm="There is no undo. Are you really really sure?" rel="delete">Delete</a> <div class="meta"> Created {{html $.shortdate(revoked)}} {{if revoked}}Revoked {{html $.shortdate(revoked)}}{{/if}} </div> </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> <table class="tokens"> <thead> <th>Token</th> <th>Identity</th> <th>Scope</th> <th>Created</th> <th>Revoked</th> </thead> <tbody> {{each tokens.list}} <tr> <td class="token">${token}</td> <td class="identity">${identity}</td> <td class="scope">${scope}</td> <td class="created">{{html $.shortdate(created)}}</td> <td class="revoke"> {{if revoked}} {{html $.shortdate(revoked)}} {{else}} <a href="#/token/${token}/revoke" data-method="post" data-confirm="Are you sure?" rel="revoke">Revoke</a> {{/if}} </td> </tr> {{/each}} </tbody> </table> <div class="pagination"> {{if tokens.previous}}<a href="#/client/${id}/${tokens.page - 1}" rel="previous">Previous</a>{{/if}} {{if tokens.next}}<a href="#/client/${id}/${tokens.page + 1}" rel="next">Next</a>{{/if}} </div> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rack-oauth2-server-1.3.1 | lib/rack/oauth2/admin/views/client.tmpl |