-
Notifications
You must be signed in to change notification settings - Fork 260
Expand file tree
/
Copy pathhelpdesk-search-cards.component.html
More file actions
executable file
·60 lines (55 loc) · 2.51 KB
/
helpdesk-search-cards.component.html
File metadata and controls
executable file
·60 lines (55 loc) · 2.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!--
~ Password Management Servlets (PWM)
~ http://www.pwm-project.org
~
~ Copyright (c) 2006-2009 Novell, Inc.
~ Copyright (c) 2009-2018 The PWM Project
~
~ This program is free software; you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by
~ the Free Software Foundation; either version 2 of the License, or
~ (at your option) any later version.
~
~ This program is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License for more details.
~
~ You should have received a copy of the GNU General Public License
~ along with this program; if not, write to the Free Software
~ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-->
<div class="ias-header">
<h2 id="page-content-title" translate="Title_HelpDesk">Help Desk</h2>
<ias-search-box ng-model="$ctrl.query" ng-model-options="{debounce: $ctrl.inputDebounce}"
placeholder="{{'Placeholder_Search' | translate}}">
</ias-search-box>
<ias-button class="verifications-button ias-cta" ng-if="$ctrl.verificationsEnabled"
ng-click="$ctrl.showVerifications()">{{ 'Button_Verifications' | translate }}</ias-button>
<span class="ias-fill"></span>
<ias-button id="view-tile-icon" class="ias-icon-button ias-selected"
ng-disabled="true"
ng-attr-title="{{ 'Title_HelpDeskCard' | translate }}">
<ias-icon icon="view_tile_thin"></ias-icon>
</ias-button>
<ias-button id="view-list-icon" class="ias-icon-button"
ng-click="$ctrl.gotoTableView()"
ng-attr-title="{{ 'Title_HelpDeskTable' | translate }}">
<ias-icon icon="view_list_thin"></ias-icon>
</ias-button>
</div>
<div class="search-info-container">
<div class="search-info" ng-class="{'loading': !$ctrl.getMessage()}"
ng-if="$ctrl.loading || $ctrl.searchMessage || $ctrl.errorMessage"
ng-bind="$ctrl.getMessage() || ('Display_PleaseWait' | translate)">
</div>
</div>
<div class="people-search-component-content">
<div class="ias-grid">
<person-card person="person"
show-image="$ctrl.photosEnabled"
ng-repeat="person in $ctrl.searchResult.people | orderBy:'displayNames[0]'"
ng-click="$ctrl.selectPerson(person)">
</person-card>
</div>
</div>