Align SEARCH and other buttons to the right

This commit is contained in:
FusionPBX
2024-09-18 18:44:52 -06:00
committed by GitHub
parent 6701e4c36d
commit 99ceb6e158
2 changed files with 8 additions and 8 deletions
+4 -5
View File
@@ -307,14 +307,14 @@
echo modal::create(['id'=>'modal-delete','type'=>'delete','actions'=>button::create(['type'=>'button','label'=>$text['button-continue'],'icon'=>'check','id'=>'btn_delete','style'=>'float: right; margin-left: 15px;','collapse'=>'never','onclick'=>"modal_close(); list_action_set('delete'); list_form_submit('form_list');"])]);
}
echo $text['description']." \n";
echo $text['description']."   ".$text['description_search']."\n";
echo "<br /><br />\n";
//basic search of call detail records
if ($permission['xml_cdr_search']) {
echo "<form name='frm' id='frm' method='get'>\n";
echo "<div class='card'>\n";
echo "<div class='card' style=''>\n";
echo "<div class='form_grid'>\n";
if ($permission['xml_cdr_search_direction']) {
@@ -608,7 +608,7 @@
echo "</div>\n";
button::$collapse = false;
echo "<div style='float: right; padding-top: 15px; margin-left: 20px; white-space: nowrap;'>";
echo "<div style='display: flex; justify-content: flex-end; padding-top: 15px; margin-left: 20px; white-space: nowrap;'>";
if ($permission['xml_cdr_all'] && $_REQUEST['show'] == 'all') {
echo "<input type='hidden' name='show' value='all'>\n";
}
@@ -619,8 +619,7 @@
echo button::create(['label'=>$text['button-search'],'icon'=>$_SESSION['theme']['button_icon_search'],'type'=>'submit','id'=>'btn_save','name'=>'submit']);
echo "</div>\n";
echo "</div>\n";
echo "<div style='font-size: 85%; padding-top: 12px; margin-bottom: 40px;'>".$text['description_search']."</div>\n";
echo "<br />\n";
echo "</form>";
}