lib/rack/oauth2/admin/views/clients.tmpl in rack-oauth2-server-1.4.6 vs lib/rack/oauth2/admin/views/clients.tmpl in rack-oauth2-server-2.0.0.beta
- old
+ new
@@ -1,11 +1,14 @@
<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>
- <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="clients">
<thead>
<th>Application</th>
<th>ID/Secret</th>
<th>Created</th>