@@ -49,15 +49,16 @@ <h1 class="text-2xl font-bold">{{ _('machines.title') }}</h1>
4949 < th class ="px-4 py-3 text-left "> {{ _('machines.col_type') }}</ th >
5050 < th class ="px-4 py-3 text-center "> {{ _('common.status') }}</ th >
5151 < th class ="px-4 py-3 text-left "> {{ _('common.created') }}</ th >
52+ < th class ="px-4 py-3 text-left "> {{ _('machines.col_last_active') }}</ th >
5253 < th class ="px-4 py-3 text-right "> {{ _('machines.col_actions') }}</ th >
5354 </ tr >
5455 </ thead >
5556 < tbody >
5657 < template x-if ="loading ">
57- < tr > < td colspan ="6 " class ="px-4 py-8 text-center text-gray-400 "> Loading…</ td > </ tr >
58+ < tr > < td colspan ="7 " class ="px-4 py-8 text-center text-gray-400 "> Loading…</ td > </ tr >
5859 </ template >
5960 < template x-if ="!loading && machines.length === 0 ">
60- < tr > < td colspan ="6 " class ="px-4 py-8 text-center text-gray-400 ">
61+ < tr > < td colspan ="7 " class ="px-4 py-8 text-center text-gray-400 ">
6162 < span x-show ="isAdmin "> {{ _('machines.empty') }}</ span >
6263 < span x-show ="!isAdmin "> {{ _('machines.empty_managed') }}</ span >
6364 </ td > </ tr >
@@ -76,6 +77,8 @@ <h1 class="text-2xl font-bold">{{ _('machines.title') }}</h1>
7677 class ="text-xs bg-red-100 text-red-600 rounded px-2 py-0.5 "> {{ _('common.inactive') }}</ span >
7778 </ td >
7879 < td class ="px-4 py-2 text-gray-500 text-xs " x-text ="fmtDate(m.created_at) "> </ td >
80+ < td class ="px-4 py-2 text-gray-500 text-xs "
81+ x-text ="m.last_active_at ? fmtDateTime(m.last_active_at) : '—' "> </ td >
7982 < td class ="px-4 py-2 text-right whitespace-nowrap " x-show ="isAdmin ">
8083 < button @click ="regenToken(m) "
8184 class ="text-xs text-blue-600 hover:underline mr-3 "> {{ _('machines.btn_regen_token') }}</ button >
0 commit comments