2 ================================================================================
4 ================================================================================
5 Copyright (C) 2017 AT&T Intellectual Property
6 ================================================================================
7 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
11 http://www.apache.org/licenses/LICENSE-2.0
13 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an "AS IS" BASIS,
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 See the License for the specific language governing permissions and
17 limitations under the License.
18 ================================================================================
20 <div style="margin-bottom:20px;">
21 <h1 class="heading1">User Search</h1>
23 Please enter search criteria below:<br/>
25 <div class="fn-ebz-container">
27 <input class="fn-ebz-text" type="text" ng-model="postSearchBean.lastName" value="" size="25">
30 <div class="fn-ebz-container">
32 <input class="fn-ebz-text" type="text" ng-model="postSearchBean.firstName" value="" size="25">
35 <div class="fn-ebz-container">
37 <input class="fn-ebz-text" type="text" ng-model="postSearchBean.orgUserId" value="" size="25">
40 <div class="fn-ebz-container">
42 <input class="fn-ebz-text" type="text" ng-model="postSearchBean.orgManagerUserId" value="" size="25">
45 <div class="fn-ebz-container">
47 <input class="fn-ebz-text" type="text" ng-model="postSearchBean.orgCode" value="" size="25">
50 <div class="fn-ebz-container">
52 <input class="fn-ebz-text" type="text" ng-model="postSearchBean.email" value="" size="25">
56 <input att-button btn-type="primary" size="small" class="button" type="submit" value="Search" ng-click="search(postSearchBean);" />
58 <input att-button btn-type="primary" size="small" class="button" type="submit" value="Reset" ng-click="reset();"/>
64 <div ng-if="profileList.length != 0">
65 <table att-table table-data="profileList" view-per-page="viewPerPage" current-page="currentPage" search-category="searchCategory" search-string="searchString" total-page="totalPage">
66 <thead att-table-row type="header" >
68 <th att-table-header width="5%" align="left">No</th>
69 <th att-table-header width="30%" key="lastName" align="left">Name</th>
70 <th att-table-header width="5%" key="orgUserId" align="left">OrgUserId</th>
71 <th att-table-header width="10%" key="orgCode" align="left">Organization</th>
72 <th att-table-header width="20%" align="left">Phone</th>
73 <th att-table-header width="20%" key="email" align="left">Email</th>
74 <th att-table-header width="10%" align="left">Import?</th>
78 <tbody att-table-row type="body" row-repeat="profile in profileList" style="max-height: 980px;" ><!-- background colors will alternate not properly with multiple tbody-->
80 <td att-table-body width="5%" align="left">
83 <td att-table-body width="30%" align="left">
84 <div ng-if="ngexistingUsers[profile.orgUserId] == null">
85 {{profile.lastName}}, {{profile.firstName}}
87 <div ng-if="ngexistingUsers[profile.orgUserId] != null">
88 <a href="profile.htm?profile_id={{ngexistingUsers[profile.orgUserId]}}" alt="View/Edit Profile">
89 {{profile.lastName}}, {{profile.firstName}}
94 <td att-table-body width="5%" align="left">
97 <td att-table-body width="10%" align="left">
100 <td att-table-body width="20%" align="left">
103 <td att-table-body width="20%" align="left">
107 <td att-table-body width="10%" align="left">
108 <div ng-if="ngexistingUsers[profile.orgUserId] == null">
109 <div ng-click="toggleSelection(profile);">
110 <input name="selected" type="checkbox" ng-model="profile.selected" att-checkbox/>
113 <div ng-if="ngexistingUsers[profile.orgUserId] != null">
120 <div class="fn-ebz-container">
122 <input class="fn-ebz-text" type="text" ng-model="viewPerPage" size="5" style="width: 47px;">
124 <div class="fn-ebz-container">
126 <input class="fn-ebz-text" type="text" ng-model="currentPage" size="5" style="width: 47px;">
128 <div class="fn-ebz-container">
130 <input class="fn-ebz-text" type="text" ng-model="totalPage" size="5" readonly="true" style="width: 47px;">
133 <div ng-if="profileList.length != 0">
134 <input att-button btn-type="primary" size="small" class="button" type="submit" value="Import" ng-click="process();"/>