Skip to content

Commit

Permalink
Names for icons
Browse files Browse the repository at this point in the history
  • Loading branch information
Çağatay Çivici authored and Çağatay Çivici committed May 15, 2018
1 parent 8deb02d commit d20cc31
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/app/components/orderlist/orderlist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {ObjectUtils} from '../utils/objectutils';
<div class="ui-orderlist-caption ui-widget-header ui-corner-top" *ngIf="header">{{header}}</div>
<div class="ui-orderlist-filter-container ui-widget-content" *ngIf="filterBy">
<input type="text" role="textbox" (keyup)="onFilterKeyup($event)" class="ui-inputtext ui-widget ui-state-default ui-corner-all" [attr.placeholder]="filterPlaceholder">
<span class="fa fa-search"></span>
<span class="ui-orderlist-filter-icon fa fa-search"></span>
</div>
<ul #listelement class="ui-widget-content ui-orderlist-list ui-corner-bottom" [ngStyle]="listStyle" (dragover)="onListMouseMove($event)">
<ng-template ngFor [ngForTrackBy]="trackBy" let-item [ngForOf]="value" let-i="index" let-l="last">
Expand Down
4 changes: 2 additions & 2 deletions src/app/components/picklist/picklist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {ObjectUtils} from '../utils/objectutils';
<div class="ui-picklist-caption ui-widget-header ui-corner-tl ui-corner-tr" *ngIf="sourceHeader">{{sourceHeader}}</div>
<div class="ui-picklist-filter-container ui-widget-content" *ngIf="filterBy && showSourceFilter !== false">
<input #sourceFilter type="text" role="textbox" (keyup)="onFilter($event,source,-1)" class="ui-picklist-filter ui-inputtext ui-widget ui-state-default ui-corner-all" [disabled]="disabled" [attr.placeholder]="sourceFilterPlaceholder">
<span class="fa fa-search"></span>
<span class="ui-picklist-filter-icon fa fa-search"></span>
</div>
<ul #sourcelist class="ui-widget-content ui-picklist-list ui-picklist-source ui-corner-bottom" [ngClass]="{'ui-picklist-highlight': listHighlightSource}" [ngStyle]="sourceStyle" (dragover)="onListMouseMove($event,-1)" (dragleave)="onListDragLeave()" (drop)="onListDrop($event, -1)">
<ng-template ngFor let-item [ngForOf]="source" [ngForTrackBy]="trackBy" let-i="index" let-l="last">
Expand Down Expand Up @@ -50,7 +50,7 @@ import {ObjectUtils} from '../utils/objectutils';
<div class="ui-picklist-caption ui-widget-header ui-corner-tl ui-corner-tr" *ngIf="targetHeader">{{targetHeader}}</div>
<div class="ui-picklist-filter-container ui-widget-content" *ngIf="filterBy && showTargetFilter !== false">
<input #targetFilter type="text" role="textbox" (keyup)="onFilter($event,target,1)" class="ui-picklist-filter ui-inputtext ui-widget ui-state-default ui-corner-all" [disabled]="disabled" [attr.placeholder]="targetFilterPlaceholder">
<span class="fa fa-search"></span>
<span class="ui-picklist-filter-icon fa fa-search"></span>
</div>
<ul #targetlist class="ui-widget-content ui-picklist-list ui-picklist-target ui-corner-bottom" [ngClass]="{'ui-picklist-highlight': listHighlightTarget}" [ngStyle]="targetStyle" (dragover)="onListMouseMove($event,1)" (dragleave)="onListDragLeave()" (drop)="onListDrop($event,1)">
<ng-template ngFor let-item [ngForOf]="target" [ngForTrackBy]="trackBy" let-i="index" let-l="last">
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/togglebutton/togglebutton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export class ToggleButton implements ControlValueAccessor,AfterViewInit {
}

getIconClass() {
let baseClass = 'ui-button-icon-left fa fa-fw';
let baseClass = 'ui-button-icon-left ui-togglebutton-icon fa fa-fw';
return baseClass + ' ' + (this.checked ? this.onIcon : this.offIcon);
}

Expand Down

0 comments on commit d20cc31

Please sign in to comment.