feat: machine pages Порты, Статус, Изменить as dialogs over the current page; Действие column in the ports table

This commit is contained in:
redtea committed 2026-10-15 21:49:18 +03:00
1 parent 2009796421
commit d92696226e
11 files changed
+141 -5

No files matched your search

+2 -1
View File
@@ -402,7 +402,8 @@ func (s *Server) handleAgentRename(w http.ResponseWriter, r *http.Request) {
if name != "" {
_ = s.db.RenameAgent(id, name)
}
http.Redirect(w, r, "/", http.StatusSeeOther)
// Back to «Изменить», with the new name: the machine dialog stays open.
http.Redirect(w, r, "/agents/"+id+"/edit", http.StatusSeeOther)
}
// --- settings ---