|
3 | 3 | <input type="hidden" name="doSearch" value="1"> |
4 | 4 |
|
5 | 5 | <div class="row"> |
6 | | - <div class="col-md-3"> |
| 6 | + <div class="col-md-2"> |
7 | 7 | <div class="form-group"> |
8 | 8 | <label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('chat/lists/search_panel','Username');?></label> |
9 | 9 | <input type="text" class="form-control form-control-sm" name="username" value="<?php echo htmlspecialchars($input->username)?>" /> |
10 | 10 | </div> |
11 | 11 | </div> |
12 | | - <div class="col-md-3"> |
| 12 | + <div class="col-md-2"> |
13 | 13 | <div class="form-group"> |
14 | 14 | <label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('chat/lists/search_panel','Nickname');?></label> |
15 | 15 | <input type="text" class="form-control form-control-sm" name="chat_nickname" value="<?php echo htmlspecialchars((string)$input->chat_nickname)?>" /> |
16 | 16 | </div> |
17 | 17 | </div> |
18 | | - <div class="col-md-3"> |
| 18 | + <div class="col-md-2"> |
19 | 19 | <div class="form-group"> |
20 | 20 | <label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('chat/lists/search_panel','E-mail');?></label> |
21 | 21 | <input type="text" class="form-control form-control-sm" name="email" value="<?php echo htmlspecialchars($input->email)?>" /> |
22 | 22 | </div> |
23 | 23 | </div> |
24 | | - <div class="col-md-3"> |
| 24 | + <div class="col-md-2"> |
25 | 25 | <div class="form-group"> |
26 | 26 | <label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('chat/lists/search_panel','Name');?></label> |
27 | 27 | <input type="text" class="form-control form-control-sm" name="name" value="<?php echo htmlspecialchars($input->name)?>" /> |
28 | 28 | </div> |
29 | 29 | </div> |
30 | | - <div class="col-md-3"> |
| 30 | + <div class="col-md-2"> |
31 | 31 | <div class="form-group"> |
32 | 32 | <label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('chat/lists/search_panel','Surname');?></label> |
33 | 33 | <input type="text" class="form-control form-control-sm" name="surname" value="<?php echo htmlspecialchars($input->surname)?>" /> |
34 | 34 | </div> |
35 | 35 | </div> |
36 | | - <div class="col-md-3"> |
| 36 | + <div class="col-md-2"> |
37 | 37 | <div class="form-group"> |
38 | 38 | <label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('chat/lists/search_panel','User group');?></label> |
39 | 39 | <?php echo erLhcoreClassRenderHelper::renderMultiDropdown( array ( |
|
47 | 47 | )); ?> |
48 | 48 | </div> |
49 | 49 | </div> |
50 | | - <div class="col-md-3"> |
| 50 | + <div class="col-md-2"> |
| 51 | + <div class="form-group"> |
| 52 | + <label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('chat/lists/search_panel','Team lead');?></label> |
| 53 | + <?php echo erLhcoreClassRenderHelper::renderMultiDropdown( array ( |
| 54 | + 'input_name' => 'team_lead_user_id[]', |
| 55 | + 'optional_field' => erTranslationClassLhTranslation::getInstance()->getTranslation('chat/lists/search_panel','Choose team lead'), |
| 56 | + 'selected_id' => $input->team_lead_user_id, |
| 57 | + 'css_class' => 'form-control form-control-sm', |
| 58 | + 'display_name' => 'name_official', |
| 59 | + 'ajax' => 'users', |
| 60 | + 'list_function_params' => array('limit' => 50, 'sort' => '`name` ASC'), |
| 61 | + 'list_function' => 'erLhcoreClassModelUser::getUserList', |
| 62 | + )); ?> |
| 63 | + </div> |
| 64 | + </div> |
| 65 | + <div class="col-md-2"> |
51 | 66 | <div class="form-group"> |
52 | 67 | <label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('chat/lists/search_panel','Account status');?></label> |
53 | 68 | <select name="disabled" class="form-control form-control-sm"> |
|
57 | 72 | </select> |
58 | 73 | </div> |
59 | 74 | </div> |
60 | | - <div class="col-md-3"> |
| 75 | + <div class="col-md-2"> |
61 | 76 | <div class="form-group"> |
62 | 77 | <label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('chat/lists/search_panel','User language');?></label> |
63 | 78 | <?php echo erLhcoreClassRenderHelper::renderMultiDropdown( array ( |
|
143 | 158 | </div> |
144 | 159 | </div> |
145 | 160 | </div> |
146 | | - |
147 | | - <div class="col-md-3"> |
| 161 | + <div class="col-md-2"> |
148 | 162 | <div class="form-group"> |
149 | 163 | <label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('chat/lists/search_panel','Department');?></label> |
150 | 164 | <?php echo erLhcoreClassRenderHelper::renderMultiDropdown( array ( |
|
159 | 173 | )); ?> |
160 | 174 | </div> |
161 | 175 | </div> |
162 | | - <div class="col-md-3"> |
| 176 | + <div class="col-md-2"> |
163 | 177 | <div class="form-group"> |
164 | 178 | <label><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('chat/lists/search_panel','Department group');?></label> |
165 | 179 | <?php echo erLhcoreClassRenderHelper::renderMultiDropdown( array ( |
|
173 | 187 | )); ?> |
174 | 188 | </div> |
175 | 189 | </div> |
176 | | - |
177 | | - |
178 | 190 | </div> |
179 | 191 |
|
180 | 192 | <div class="btn-group" role="group" aria-label="..."> |
|
0 commit comments