feat: Аккаунт › Вид - tab icons left, right or hidden, terminal font, compact file lists, the time column, animations; kept per user on the server. Uploads show a ring filling as they go

This commit is contained in:
redtea committed 2026-10-16 10:17:07 +03:00
1 parent c003b51b4c
commit 5216aed237
10 files changed
+167 -3

No files matched your search

+3
View File
@@ -52,6 +52,9 @@ func (s *Server) renderPage(w http.ResponseWriter, r *http.Request, name string,
func (s *Server) shell(w http.ResponseWriter, r *http.Request, data map[string]any) {
data["IsAdmin"] = s.currentAdmin(r).IsAdmin()
data["EditLimit"] = proto.FSReadCap
if a := s.currentAdmin(r); a != nil {
data["Prefs"] = s.prefs(a.ID)
}
if data["View"] == "dashboard" && data["Body"] == nil {
// The machines list under a dialog: draw it too.
var body bytes.Buffer