mirror of
https://github.com/mempool/mempool.git
synced 2026-08-13 12:33:11 +02:00
Use pause and resume icons instead of the clock icon
This commit is contained in:
parent
885694a015
commit
5c4db003ec
2 changed files with 4 additions and 2 deletions
|
|
@ -14,7 +14,7 @@
|
|||
</button>
|
||||
</div>
|
||||
<button class="btn btn-primary btn-sm btn-pause" [class.active]="isPaused" (click)="togglePause()" title="Pause/Resume" i18n-title="recent-transactions.pause-toggle.title|Tooltip for the pause/resume updates button" aria-label="Pause/Resume" i18n-aria-label="recent-transactions.pause-toggle.aria-label|Accessible label for the pause/resume updates button" data-cy="btn-pause">
|
||||
<fa-icon [icon]="['fas', 'clock']" [fixedWidth]="true"></fa-icon>
|
||||
<fa-icon [icon]="['fas', isPaused ? 'play' : 'pause']" [fixedWidth]="true"></fa-icon>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import { faFilter, faAngleDown, faAngleUp, faAngleRight, faAngleLeft, faBolt, fa
|
|||
faCircleCheck, faUserCircle, faCheck, faRocket, faScaleBalanced, faHourglassStart, faHourglassHalf, faHourglassEnd, faWandMagicSparkles, faTimeline,
|
||||
faCircleXmark, faCalendarCheck, faMoneyBillTrendUp, faRobot, faShareNodes, faCreditCard, faMicroscope, faExclamationTriangle, faLockOpen, faPaperclip, faAddressCard,
|
||||
faMedal, faBug, faFilePdf, faPiggyBank, faLayerGroup, faHeart, faCashRegister, faCodeFork, faCode,
|
||||
faCalendar} from '@fortawesome/free-solid-svg-icons';
|
||||
faCalendar, faPause, faPlay} from '@fortawesome/free-solid-svg-icons';
|
||||
import { InfiniteScrollModule } from 'ngx-infinite-scroll';
|
||||
import { MenuComponent } from '@components/menu/menu.component';
|
||||
import { PreviewTitleComponent } from '@components/master-page-preview/preview-title.component';
|
||||
|
|
@ -496,5 +496,7 @@ export class SharedModule {
|
|||
library.addIcons(faCashRegister);
|
||||
library.addIcons(faCodeFork);
|
||||
library.addIcons(faCode);
|
||||
library.addIcons(faPause);
|
||||
library.addIcons(faPlay);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue