mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 21:03:17 -07:00
Merge branch 'DotNetCore' of https://github.com/tidusjar/ombi into DotNetCore
This commit is contained in:
commit
765bf7ba09
2 changed files with 51 additions and 8 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
<button type="button" class="btn btn-success-outline" [routerLink]="['/usermanagement/add']">Add User</button>
|
<button type="button" class="btn btn-success-outline" [routerLink]="['/usermanagement/add']">Add User</button>
|
||||||
<!-- Table -->
|
<!-- Table -->
|
||||||
<table class="table table-striped table-hover table-responsive table-condensed">
|
<table class="table table-striped table-hover table-responsive table-condensed table-usermanagement">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>
|
<th>
|
||||||
|
@ -44,28 +44,28 @@
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr *ngFor="let u of users">
|
<tr *ngFor="let u of users">
|
||||||
<td>
|
<td class="td-labelled" data-label="Select:">
|
||||||
<input type="checkbox" [(ngModel)]="u.checked">
|
<input type="checkbox" [(ngModel)]="u.checked">
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td class="td-labelled" data-label="Username:">
|
||||||
{{u.userName}}
|
{{u.userName}}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td class="td-labelled" data-label="Alias:">
|
||||||
{{u.alias}}
|
{{u.alias}}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td class="td-labelled" data-label="Email:">
|
||||||
{{u.emailAddress}}
|
{{u.emailAddress}}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td class="td-labelled" data-label="Roles:">
|
||||||
<div *ngFor="let claim of u.claims">
|
<div *ngFor="let claim of u.claims">
|
||||||
<span *ngIf="claim.enabled">{{claim.value}}</span>
|
<span *ngIf="claim.enabled">{{claim.value}}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td class="td-labelled" data-label="Last Logged In:">
|
||||||
{{u.lastLoggedIn | date: 'short'}}
|
{{u.lastLoggedIn | date: 'short'}}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td class="td-labelled" data-label="User Type:">
|
||||||
<span *ngIf="u.userType === 1">Local User</span>
|
<span *ngIf="u.userType === 1">Local User</span>
|
||||||
<span *ngIf="u.userType === 2">Plex User</span>
|
<span *ngIf="u.userType === 2">Plex User</span>
|
||||||
<span *ngIf="u.userType === 3">Emby User</span>
|
<span *ngIf="u.userType === 3">Emby User</span>
|
||||||
|
|
|
@ -859,3 +859,46 @@ a > h4:hover {
|
||||||
.card {
|
.card {
|
||||||
padding-top:15px;
|
padding-top:15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media only screen and (max-width: 768px) {
|
||||||
|
|
||||||
|
.table-usermanagement {
|
||||||
|
/* Force table to not be like tables anymore */
|
||||||
|
display: block;
|
||||||
|
|
||||||
|
thead, tbody, th, td, tr {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Hide table headers (but not display: none;, for accessibility) */
|
||||||
|
thead tr {
|
||||||
|
position: absolute;
|
||||||
|
top: -9999px;
|
||||||
|
left: -9999px;
|
||||||
|
}
|
||||||
|
|
||||||
|
td {
|
||||||
|
/* Behave like a "row" */
|
||||||
|
border: none;
|
||||||
|
border-bottom: 1px solid #eee;
|
||||||
|
position: relative;
|
||||||
|
padding-left: 50% $i;
|
||||||
|
min-height: 25px;
|
||||||
|
}
|
||||||
|
|
||||||
|
td:before {
|
||||||
|
/* Now like a table header */
|
||||||
|
position: absolute;
|
||||||
|
/* Top/left values mimic padding */
|
||||||
|
top: 6px;
|
||||||
|
left: 6px;
|
||||||
|
width: 45%;
|
||||||
|
padding-right: 10px;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
/* Label the data */
|
||||||
|
.td-labelled:before {
|
||||||
|
content: attr(data-label)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue