Dodan id narocila v admin tabelo narocil
This commit is contained in:
parent
41e0905854
commit
029758631b
@ -54,7 +54,7 @@ function popupUserAccess_close() {
|
|||||||
function prepareNarocilaTableAdmin(){
|
function prepareNarocilaTableAdmin(){
|
||||||
|
|
||||||
$("#user_narocila").DataTable({
|
$("#user_narocila").DataTable({
|
||||||
order: [[ 4, "desc" ]],
|
order: [[ 5, "desc" ]],
|
||||||
lengthMenu: [[50, 500, 1000], [50, 500, 1000]],
|
lengthMenu: [[50, 500, 1000], [50, 500, 1000]],
|
||||||
select: false,
|
select: false,
|
||||||
lengthChange: true,
|
lengthChange: true,
|
||||||
@ -63,8 +63,9 @@ function prepareNarocilaTableAdmin(){
|
|||||||
responsive: true,
|
responsive: true,
|
||||||
columnDefs: [
|
columnDefs: [
|
||||||
{responsivePriority: 1, targets: 0},
|
{responsivePriority: 1, targets: 0},
|
||||||
{responsivePriority: 2, targets: 7},
|
{responsivePriority: 2, targets: 1},
|
||||||
{responsivePriority: 3, targets: 4}
|
{responsivePriority: 3, targets: 8},
|
||||||
|
{responsivePriority: 4, targets: 5}
|
||||||
],
|
],
|
||||||
language: {
|
language: {
|
||||||
"url": siteUrl+"admin/survey/script/datatables/Slovenian.json"
|
"url": siteUrl+"admin/survey/script/datatables/Slovenian.json"
|
||||||
|
@ -375,7 +375,7 @@ class UserNarocila{
|
|||||||
// Glava tabele
|
// Glava tabele
|
||||||
echo ' <thead>';
|
echo ' <thead>';
|
||||||
echo ' <tr>';
|
echo ' <tr>';
|
||||||
|
echo ' <th>ID</th>';
|
||||||
echo ' <th>'.$lang['srv_narocilo_ime'].'</th>';
|
echo ' <th>'.$lang['srv_narocilo_ime'].'</th>';
|
||||||
echo ' <th>'.$lang['email'].'</th>';
|
echo ' <th>'.$lang['email'].'</th>';
|
||||||
echo ' <th>'.$lang['srv_narocilo_paket'].'</th>';
|
echo ' <th>'.$lang['srv_narocilo_paket'].'</th>';
|
||||||
@ -406,6 +406,7 @@ class UserNarocila{
|
|||||||
|
|
||||||
echo '<tr class="'.$status_color.'_bg">';
|
echo '<tr class="'.$status_color.'_bg">';
|
||||||
|
|
||||||
|
echo '<td>'.$data_row['id'].'</td>';
|
||||||
echo '<td>'.$data_row['ime'].' '.($data_row['podjetje_ime'] != '' ? '('.$data_row['podjetje_ime'].')' : '').'</td>';
|
echo '<td>'.$data_row['ime'].' '.($data_row['podjetje_ime'] != '' ? '('.$data_row['podjetje_ime'].')' : '').'</td>';
|
||||||
echo '<td><span class="as_link" onClick="edit_user(\''.$data_row['usr_id'].'\'); return false;">'.$data_row['email'].'</span></td>';
|
echo '<td><span class="as_link" onClick="edit_user(\''.$data_row['usr_id'].'\'); return false;">'.$data_row['email'].'</span></td>';
|
||||||
echo '<td>'.$data_row['package_name'].'</td>';
|
echo '<td>'.$data_row['package_name'].'</td>';
|
||||||
|
@ -27083,7 +27083,8 @@ label.user_access_locked:hover,
|
|||||||
background-color: #eeeeee;
|
background-color: #eeeeee;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#narocila table.dataTable.user_narocila_admin td:nth-child(n+3) {
|
#narocila table.dataTable.user_narocila_admin td:nth-child(1),
|
||||||
|
#narocila table.dataTable.user_narocila_admin td:nth-child(n+4) {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
#narocila table.user_narocila {
|
#narocila table.user_narocila {
|
||||||
|
@ -228,7 +228,8 @@ label.user_access_locked,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
td:nth-child(n+3){
|
td:nth-child(1),
|
||||||
|
td:nth-child(n+4){
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user