fixed template dashboard
This commit is contained in:
parent
2deb1f101a
commit
7397d86bc2
@ -90,11 +90,11 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<th>ID</th>
|
<th>ID</th>
|
||||||
<th><?= htmlspecialchars($nametemplate, ENT_QUOTES, 'UTF-8'); ?></th>
|
<th><?= htmlspecialchars($nametemplate, ENT_QUOTES, 'UTF-8'); ?></th>
|
||||||
<th><?= htmlspecialchars($lastmodtemplate, ENT_QUOTES, 'UTF-8'); ?></th>
|
|
||||||
<th><?= htmlspecialchars($rowheader, ENT_QUOTES, 'UTF-8'); ?></th>
|
<th><?= htmlspecialchars($rowheader, ENT_QUOTES, 'UTF-8'); ?></th>
|
||||||
<th><?= htmlspecialchars($columnheader, ENT_QUOTES, 'UTF-8'); ?></th>
|
<th><?= htmlspecialchars($columnheader, ENT_QUOTES, 'UTF-8'); ?></th>
|
||||||
<th><?= htmlspecialchars($desctemplate, ENT_QUOTES, 'UTF-8'); ?></th>
|
<th><?= htmlspecialchars($desctemplate, ENT_QUOTES, 'UTF-8'); ?></th>
|
||||||
<th>Client Name</th>
|
<th>Client Name</th>
|
||||||
|
<th>Button Label</th>
|
||||||
<th>Status</th> <!-- Aggiunta colonna Status -->
|
<th>Status</th> <!-- Aggiunta colonna Status -->
|
||||||
<th><?= htmlspecialchars($action, ENT_QUOTES, 'UTF-8'); ?></th>
|
<th><?= htmlspecialchars($action, ENT_QUOTES, 'UTF-8'); ?></th>
|
||||||
</tr>
|
</tr>
|
||||||
@ -147,13 +147,7 @@
|
|||||||
data: 'name', // Nome del template
|
data: 'name', // Nome del template
|
||||||
title: "Template Name"
|
title: "Template Name"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
data: 'updated_at', // Ultima modifica, formattata come data leggibile
|
|
||||||
title: "Last Modified",
|
|
||||||
render: function(data) {
|
|
||||||
return new Date(data).toLocaleDateString();
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
data: 'header_row', // Riga degli header
|
data: 'header_row', // Riga degli header
|
||||||
title: "Header Row"
|
title: "Header Row"
|
||||||
@ -176,6 +170,11 @@
|
|||||||
return `${clientName} (ID: ${clientId})`;
|
return `${clientName} (ID: ${clientId})`;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
data: 'button_label', // Nuova colonna per Button Label
|
||||||
|
title: "Button Label",
|
||||||
|
defaultContent: 'Click Me'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
data: 'status', // Stato con Toggle Switch
|
data: 'status', // Stato con Toggle Switch
|
||||||
title: "Status",
|
title: "Status",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user