This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
search-input.component.html 3.73 KiB
Newer Older
<div class="card-container">
    <h2 class="display-4" style="width: 100%;" jhiTranslate="search.title">Search!</h2>
    <ng-container [queryParamGroup]="paramGroup">
        <div>
            <form name="searchForm" class="form-inline">
                <div class="input-group w-100 mt-3">
                    <input type="text" class="form-control" queryParamName="searchText"
                           placeholder="{{ 'search.filters.search' | translate }}"/>
                    <ng-template #helpFulltext> {{ 'search.help.fulltext' | translate}}</ng-template>
                    <fa-icon style="padding: 10px 0px 0px 10px;" [ngbTooltip]="helpFulltext" [icon]="questionIcon"></fa-icon>
        <div>
            <form name="searchForm" class="form-inline">
                <div class="input-group w-100 mt-3">
                    <input type="text" class="form-control" queryParamName="programmingLanguage"
                           placeholder="{{ 'search.filters.programmingLanguage' | translate }}"/>
                    <ng-template #helpPL> {{ 'search.help.programmingLanguage' | translate}}</ng-template>
                    <fa-icon style="padding: 10px 0px 0px 10px;" [ngbTooltip]="helpPL" [icon]="questionIcon"></fa-icon>
                </div>
            </form>
        </div>
            <form name="searchForm" class="form-inline">
                <div class="input-group w-100 mt-3">
                    <input type="text" class="form-control" queryParamName="keyword"
                           placeholder="{{ 'search.filters.keywords' | translate }}"/>
                    <ng-template #helpKeyword> {{ 'search.help.keywords' | translate}}</ng-template>
                    <fa-icon style="padding: 10px 0px 0px 10px;" [ngbTooltip]="helpKeyword" [icon]="questionIcon"></fa-icon>
                </div>
            </form>
        </div>
            <form name="searchForm" class="form-inline">
                <div class="input-group w-100 mt-3">
                    <input type="text" class="form-control" queryParamName="author"
                           placeholder="{{ 'search.filters.author' | translate }}"/>
                    <ng-template #helpauthorContritbutors> {{ 'search.help.authorContritbutors' | translate}}</ng-template>
                    <fa-icon style="padding: 10px 0px 0px 10px;" [ngbTooltip]="helpauthorContritbutors" [icon]="questionIcon"></fa-icon>
                </div>
            </form>
        </div>
            <form name="searchForm" class="form-inline">
                <div class="input-group w-100 mt-3">
                    <input type="text" class="form-control" queryParamName="license"
                           placeholder="{{ 'search.filters.license' | translate }}"/>
                    <ng-template #helpLicense> {{ 'search.help.license' | translate}}</ng-template>
                    <fa-icon style="padding: 10px 0px 0px 10px;" [ngbTooltip]="helpLicense" [icon]="questionIcon"></fa-icon>
        <div>
            <form name="searchForm" class="form-inline">
                <div class="input-group w-100 mt-3">
                <table><tr><td><p jhiTranslate="exercise.metadata.type">Type</p></td>
                </tr><tr *ngFor="let type of typeValues"><td>
	                    <input 
	                    class="form-check-input" [value]="type" style="align:left" type="checkbox" queryParamName="{{type}}" id="type"
	                    ><label class="form-check-label" for="type">{{'exercise.metadata.' + type | translate}}</label>
                </td></tr>
                </table>
                 </div>
            </form>
        </div>
    </ng-container>
</div>