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

@@ -733,6 +733,7 @@
echo $text['description-user_edit']."\n";
echo "<br /><br />\n";
echo "<div class='card'>\n";
echo "<table cellpadding='0' cellspacing='0' border='0' width='100%'>";
echo " <tr>";
@@ -1207,6 +1208,7 @@
echo "</tr>\n";
echo "</table>";
echo "</div>\n";
echo "<br /><br />";
if ($action == 'edit') {

View File

@@ -125,7 +125,7 @@
$schema[$i]['fields'][] = $field_name;
}
}
$i++;
$i++;
}
}
$schema[$i]['table'] = 'user_groups';
@@ -162,6 +162,7 @@
echo $text['description-import']."\n";
echo "<br /><br />\n";
echo "<div class='card'>\n";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
//loop through user columns
@@ -198,6 +199,7 @@
}
echo "</table>\n";
echo "</div>\n";
echo "<br /><br />\n";
echo "<input name='action' type='hidden' value='import'>\n";
@@ -278,7 +280,7 @@
//get the line
$result = str_getcsv($line, $delimiter, $enclosure);
//get the table and field name
$field_array = explode(".",$value);
$table_name = $field_array[0];
@@ -320,7 +322,7 @@
$array['user_groups'][$row_id]['user_uuid'] = $user_uuid;
}
}
//remove superadmin if not the correct permission
if ($group_name == 'superadmin') {
if (!permission_exists('group_domain')) {
@@ -413,6 +415,8 @@
echo $text['description-import']."\n";
echo "<br /><br />\n";
echo "<div class='card'>\n";
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>\n";
echo "<tr>\n";
@@ -492,8 +496,9 @@
echo " </td>\n";
echo " </tr>\n";
echo " </table>\n";
echo "<br><br>";
echo "</div>\n";
echo "</form>";
echo "<br><br>";
//include the footer
require_once "resources/footer.php";

View File

@@ -247,6 +247,7 @@
echo "<input type='hidden' id='action' name='action' value=''>\n";
echo "<input type='hidden' name='search' value=\"".escape($search)."\">\n";
echo "<div class='card'>\n";
echo "<table class='list'>\n";
echo "<tr class='list-header'>\n";
if (permission_exists('user_add') || permission_exists('user_edit') || permission_exists('user_delete')) {
@@ -326,6 +327,7 @@
}
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";