Add loading spinners for async operations
This commit is contained in:
@@ -181,8 +181,14 @@ func (s *RestoreScreen) View() string {
|
||||
|
||||
// renderContent renders the main restore screen content
|
||||
func (s *RestoreScreen) renderContent() string {
|
||||
// Breadcrumb: Clients > Restore
|
||||
breadcrumb := components.RenderBreadcrumb([]components.BreadcrumbItem{{Label: "Clients", ID: "list"}, {Label: "Restore", ID: "restore"}})
|
||||
|
||||
|
||||
var content strings.Builder
|
||||
|
||||
content.WriteString(breadcrumb)
|
||||
content.WriteString("\n")
|
||||
content.WriteString(restoreTitleStyle.Render("Restore WireGuard Configuration"))
|
||||
content.WriteString("\n\n")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user