add:partial functionality

This commit is contained in:
2026-04-06 02:38:37 +09:00
parent da82f233bc
commit 9c7f1149ba
10 changed files with 444 additions and 47 deletions

View File

@@ -0,0 +1,13 @@
package pages
type FileActionPageMsg struct {
ServerName string
Filename string
}
func FileActionItems() []MenuItem {
return []MenuItem{
{Label: "Get", Key: "get"},
{Label: "Delete", Key: "delete"},
}
}

View File

@@ -0,0 +1,13 @@
package pages
type ServerActionsPageMsg struct {
ServerName string
}
func ServerActionItems() []MenuItem {
return []MenuItem{
{Label: "Send", Key: "send"},
{Label: "Get", Key: "get"},
{Label: "Clean", Key: "clean"},
}
}