added client logo to admin table, closes #280

pull/990/head
Justin Richer 2015-12-21 14:33:49 -05:00
parent e828f3f18d
commit 099ae41607
2 changed files with 27 additions and 12 deletions

View File

@ -186,3 +186,9 @@ h1,label {
.user-profile dd, .user-profile dt { .user-profile dd, .user-profile dt {
height: 20px; height: 20px;
} }
/* Client table images */
.client-logo {
max-width: 64px;
max-height: 64px
}

View File

@ -28,7 +28,13 @@
</td> </td>
<td> <td>
<div>
<div class="media">
<% if (client.logoUri) { %>
<span class="pull-left"><img class="media-object client-logo" src="<%- client.logoUri %>"></span>
<% } %>
<div class="media-body">
<span class="clientid-substring" title="<%- client.clientId %> (click to display client ID)"><%- client.clientName != null ? client.clientName : ( client.clientId.substr(0,8) + '...' ) %></span> <span class="clientid-substring" title="<%- client.clientId %> (click to display client ID)"><%- client.clientName != null ? client.clientName : ( client.clientId.substr(0,8) + '...' ) %></span>
</div> </div>
<div> <div>
@ -42,6 +48,9 @@
<span class="label allow-introspection"><i class="icon-eye-open icon-white"></i></span> <span class="label allow-introspection"><i class="icon-eye-open icon-white"></i></span>
<% } %> <% } %>
</div> </div>
</div>
<div> <div>
<small class="muted" title="<%- hoverCreationDate %>"><i class="icon-time"></i> <span data-i18n="client.client-table.registered">Registered</span> <%- displayCreationDate %></small> <small class="muted" title="<%- hoverCreationDate %>"><i class="icon-time"></i> <span data-i18n="client.client-table.registered">Registered</span> <%- displayCreationDate %></small>
</div> </div>