Skip to content

Commit

Permalink
Extension Summary: Fix form layout.
Browse files Browse the repository at this point in the history
  • Loading branch information
fusionate committed Sep 20, 2024
1 parent 65cb4fe commit 99b1c17
Showing 1 changed file with 19 additions and 25 deletions.
44 changes: 19 additions & 25 deletions app/xml_cdr/xml_cdr_extension_summary.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@

echo "<div class='card' style='margin-bottom: 30px;'>\n";
echo "<div class='form_grid'>\n";

echo " <div class='form_set'>\n";

echo " <div class='label'>\n";
echo " ".$text['label-preset']."\n";
echo " </div>\n";
Expand All @@ -149,34 +149,28 @@
echo " </select>\n";
echo " </div>\n";

echo " <div class='form_set'>\n";
echo " <div class='label'>\n";
echo " ".$text['label-include_internal']."\n";
echo " </div>\n";
echo " <div class='field'>\n";
echo " <select class='formfld' name='include_internal' id='include_internal'>\n";
echo " <option value='0'>".$text['option-false']."</option>\n";
echo " <option value='1' ".((!empty($include_internal) && $include_internal == 1) ? "selected" : null).">".$text['option-true']."</option>\n";
echo " </select>\n";
echo " </div>\n";
echo " <div class='label'>\n";
echo " ".$text['label-include_internal']."\n";
echo " </div>\n";
echo " <div class='field'>\n";
echo " <select class='formfld' name='include_internal' id='include_internal'>\n";
echo " <option value='0'>".$text['option-false']."</option>\n";
echo " <option value='1' ".((!empty($include_internal) && $include_internal == 1) ? "selected" : null).">".$text['option-true']."</option>\n";
echo " </select>\n";
echo " </div>\n";

echo " <div class='form_set'>\n";
echo " <div class='label'>\n";
echo " ".$text['label-start_date_time']."\n";
echo " </div>\n";
echo " <div class='field'>\n";
echo " <input type='text' class='formfld datetimepicker' data-toggle='datetimepicker' data-target='#start_stamp_begin' onblur=\"$(this).datetimepicker('hide');\" style='min-width: 115px; width: 115px; max-width: 115px;' name='start_stamp_begin' id='start_stamp_begin' placeholder='".$text['label-from']."' value='".escape($start_stamp_begin ?? '')."'>\n";
echo " </div>\n";
echo " <div class='label'>\n";
echo " ".$text['label-start_date_time']."\n";
echo " </div>\n";
echo " <div class='field'>\n";
echo " <input type='text' class='formfld datetimepicker' data-toggle='datetimepicker' data-target='#start_stamp_begin' onblur=\"$(this).datetimepicker('hide');\" style='min-width: 115px; width: 115px; max-width: 115px;' name='start_stamp_begin' id='start_stamp_begin' placeholder='".$text['label-from']."' value='".escape($start_stamp_begin ?? '')."'>\n";
echo " </div>\n";

echo " <div class='form_set'>\n";
echo " <div class='label'>\n";
echo " ".$text['label-end_date_time']."\n";
echo " </div>\n";
echo " <div class='field'>\n";
echo " <input type='text' class='formfld datetimepicker' data-toggle='datetimepicker' data-target='#start_stamp_end' onblur=\"$(this).datetimepicker('hide');\" style='min-width: 115px; width: 115px; max-width: 115px;' name='start_stamp_end' id='start_stamp_end' placeholder='".$text['label-to']."' value='".escape($start_stamp_end ?? '')."'>\n";
echo " </div>\n";
echo " <div class='label'>\n";
echo " ".$text['label-end_date_time']."\n";
echo " </div>\n";
echo " <div class='field'>\n";
echo " <input type='text' class='formfld datetimepicker' data-toggle='datetimepicker' data-target='#start_stamp_end' onblur=\"$(this).datetimepicker('hide');\" style='min-width: 115px; width: 115px; max-width: 115px;' name='start_stamp_end' id='start_stamp_end' placeholder='".$text['label-to']."' value='".escape($start_stamp_end ?? '')."'>\n";
echo " </div>\n";

echo " </div>\n";
Expand Down

0 comments on commit 99b1c17

Please sign in to comment.