Added the content card div

This commit is contained in:
FusionPBX
2024-09-05 23:37:34 -06:00
committed by GitHub
parent cb6edd88ef
commit 2182ebd0b4
19 changed files with 102 additions and 55 deletions

View File

@@ -372,6 +372,8 @@ if (!empty($_POST) && empty($_POST["persistformvar"])) {
}
echo "<br /><br />\n";
echo "<div class='card'>\n";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
echo "<tr>\n";
@@ -785,18 +787,21 @@ if (!empty($_POST) && empty($_POST["persistformvar"])) {
echo " </td>\n";
echo " </tr>";
echo "</table>";
echo "</div>\n";
echo "<br />";
echo "</form>";
echo "<script>\n";
//hide/convert password fields then submit form
echo " //hide/convert password fields then submit form\n";
echo " function submit_form() {\n";
echo " hide_password_fields();\n";
echo " $('form#frm').submit();\n";
echo " }\n";
//define lowercase class
echo "\n";
echo " //define lowercase class\n";
echo " $('.lowercase').on('blur',function(){ this.value = this.value.toLowerCase(); });";
//show order if array
echo "\n";
echo " //show order if array\n";
echo " $('#user_setting_name').on('keyup',function(){ \n";
echo " (this.value.toLowerCase() == 'array') ? $('#tr_order').slideDown('fast') : $('#tr_order').slideUp('fast');\n";
echo " });\n";

View File

@@ -196,6 +196,7 @@
echo "<input type='hidden' name='action' id='action' value=''>\n";
echo "<input type='hidden' name='user_uuid' value='".$user_uuid."'>\n";
echo "<div class='card'>\n";
echo "<table class='list'>\n";
if (!empty($user_settings)) {
$previous_user_setting_category = '';
@@ -374,6 +375,7 @@
unset($user_settings);
echo "</table>\n";
echo "</div>\n";
echo "<br />\n";
echo "<div align='center'>".$paging_controls."</div>\n";
echo "<input type='hidden' name='".$token['name']."' value='".$token['hash']."'>\n";