Small UI fixes

This commit is contained in:
Matteo Gheza 2024-01-17 16:21:02 +01:00
parent 20ea26aa69
commit 7e22543c56
5 changed files with 4 additions and 11 deletions

View File

@ -1,5 +1,5 @@
<div class="input-group flex-nowrap"> <div class="input-group flex-nowrap">
<span class="input-group-text" id="dateRangeLabel" (click)="dp.show()" translate>select_date_range</span> <span class="input-group-text cursor-pointer" id="dateRangeLabel" (click)="dp.show()" translate>select_date_range</span>
<input type="text" [disabled]="disabled" [placeholder]="'select_date_range'|translate" class="form-control" placement="bottom" <input type="text" [disabled]="disabled" [placeholder]="'select_date_range'|translate" class="form-control" placement="bottom"
bsDaterangepicker [bsConfig]="dateRangePickerOptions" [maxDate]="maxDate" [(bsValue)]="range" (bsValueChange)="updateValue($event)" #dp="bsDaterangepicker"> bsDaterangepicker [bsConfig]="dateRangePickerOptions" [maxDate]="maxDate" [(bsValue)]="range" (bsValueChange)="updateValue($event)" #dp="bsDaterangepicker">
<button class="btn btn-outline-secondary" type="button" (click)="resetRange()" translate>remove_date_filters</button> <button class="btn btn-outline-secondary" type="button" (click)="resetRange()" translate>remove_date_filters</button>

View File

@ -24,10 +24,6 @@ img {
max-width: 20em; max-width: 20em;
} }
.cursor-pointer {
cursor: pointer;
}
.place_details_link { .place_details_link {
text-decoration: underline; text-decoration: underline;
color: #0d6efd; color: #0d6efd;

View File

@ -325,6 +325,7 @@ export class TableComponent implements OnInit, OnDestroy {
icons.push('fab fa-firefox-browser'); icons.push('fab fa-firefox-browser');
break; break;
case 'Safari': case 'Safari':
case 'Mobile Safari':
icons.push('fab fa-safari'); icons.push('fab fa-safari');
break; break;
case 'IE': case 'IE':

View File

@ -107,7 +107,7 @@
<tbody> <tbody>
<tr *ngFor="let job of jobs"> <tr *ngFor="let job of jobs">
<td>{{ job }}</td> <td>{{ job }}</td>
<td (click)="runJob(job)" class="pointer text-center" <td (click)="runJob(job)" class="cursor-pointer text-center"
[ngClass]="{'text-bg-danger': ultraDangerousJobs.includes(job), 'text-bg-warning': dangerousJobs.includes(job)}"> [ngClass]="{'text-bg-danger': ultraDangerousJobs.includes(job), 'text-bg-warning': dangerousJobs.includes(job)}">
<i class="fas fa-play"></i> {{ 'admin.run'|translate|ftitlecase }} <i class="fas fa-play"></i> {{ 'admin.run'|translate|ftitlecase }}
</td> </td>

View File

@ -12,10 +12,6 @@
animation: blink 2s linear infinite; animation: blink 2s linear infinite;
} }
.pointer {
cursor: pointer;
}
.right-border { .right-border {
border-right: #0000004a 1px solid border-right: #0000004a 1px solid
} }