Skip to content

Add auto-refresh functionality to Attacks page#152

Merged
derpferd merged 1 commit intoUMDLARS:mainfrom
Keerthi421:main
May 9, 2025
Merged

Add auto-refresh functionality to Attacks page#152
derpferd merged 1 commit intoUMDLARS:mainfrom
Keerthi421:main

Conversation

@Keerthi421
Copy link
Copy Markdown
Contributor

Description :

This PR implements auto-refresh for the Attacks page, similar to the Teams page.
->The attacks table is now a partial template (attacks_table.html).
->The main Attacks page (index.html) includes a reload button and an "Automatically refresh results" checkbox.
->When enabled, the table reloads every 10 seconds via AJAX.
->A new Flask route /attacks/table returns the table partial for AJAX requests.

This improves usability by keeping the Attacks list up-to-date without requiring manual reloads.

@derpferd derpferd merged commit a308230 into UMDLARS:main May 9, 2025
1 check passed
@derpferd
Copy link
Copy Markdown
Contributor

derpferd commented May 9, 2025

Thanks for the PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants