Processus: restart_hint et cmdline affiches en entier, plus de troncature

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Khalid MOUTAOUAKIL 2026-04-06 17:13:39 +02:00
parent cdd550c84b
commit c42708db75

View File

@ -55,10 +55,10 @@
{% for p in processes %}<tr class="{% if '/applis' in (p.cwd or '') %}bg-green-900/10{% endif %}"> {% for p in processes %}<tr class="{% if '/applis' in (p.cwd or '') %}bg-green-900/10{% endif %}">
<td class="p-2 font-mono text-center">{{ p.pid }}</td> <td class="p-2 font-mono text-center">{{ p.pid }}</td>
<td class="p-2 text-center">{{ p.user }}</td> <td class="p-2 text-center">{{ p.user }}</td>
<td class="p-2 font-mono text-gray-400">{{ (p.exe or '')[:40] }}</td> <td class="p-2 font-mono text-gray-400" style="max-width:200px;word-break:break-all;">{{ p.exe or '' }}</td>
<td class="p-2 font-mono text-gray-500">{{ (p.cwd or '')[:30] }}</td> <td class="p-2 font-mono text-gray-500" style="max-width:180px;word-break:break-all;">{{ p.cwd or '' }}</td>
<td class="p-2 font-mono text-cyber-accent">{{ (p.cmdline or '')[:60] }}</td> <td class="p-2 font-mono text-cyber-accent" style="max-width:300px;word-break:break-all;">{{ p.cmdline or '' }}</td>
<td class="p-2 text-gray-400">{{ (p.restart_hint or '')[:60] }}</td> <td class="p-2 font-mono text-cyber-yellow" style="word-break:break-all;">{{ p.restart_hint or '' }}</td>
</tr>{% endfor %} </tr>{% endfor %}
</tbody></table> </tbody></table>
</div> </div>