[PR #359] [MERGED] Added checkbox to hide/show VMs based on current state #635

Closed
opened 2026-02-27 16:39:58 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/retspen/webvirtmgr/pull/359
Author: @casell
Created: 7/4/2014
Status: Merged
Merged: 7/4/2014
Merged by: @retspen

Base: masterHead: hidevmbystatusinfr


📝 Commits (1)

  • 68dfe1d Added checkbox to hide/show VMs based on current state

📊 Changes

2 files changed (+11 additions, -1 deletions)

View changed files

📝 templates/infrastructure.html (+7 -1)
📝 webvirtmgr/static/js/infrastructure.js (+4 -0)

📄 Description

Looking at comments on pull request https://github.com/retspen/webvirtmgr/pull/326, I decided to try to implement the checkbox way.

I added a set of checkboxes over the filter input that let you hide all the VMs in that state.
It just hides/shows rows on the client side via Javascript, it uses data- attributes to match states by number to be localization friendly.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/retspen/webvirtmgr/pull/359 **Author:** [@casell](https://github.com/casell) **Created:** 7/4/2014 **Status:** ✅ Merged **Merged:** 7/4/2014 **Merged by:** [@retspen](https://github.com/retspen) **Base:** `master` ← **Head:** `hidevmbystatusinfr` --- ### 📝 Commits (1) - [`68dfe1d`](https://github.com/retspen/webvirtmgr/commit/68dfe1dfc104deeeb5246b4155298709646d96f5) Added checkbox to hide/show VMs based on current state ### 📊 Changes **2 files changed** (+11 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `templates/infrastructure.html` (+7 -1) 📝 `webvirtmgr/static/js/infrastructure.js` (+4 -0) </details> ### 📄 Description Looking at comments on pull request https://github.com/retspen/webvirtmgr/pull/326, I decided to try to implement the checkbox way. I added a set of checkboxes over the filter input that let you hide all the VMs in that state. It just hides/shows rows on the client side via Javascript, it uses data- attributes to match states by number to be localization friendly. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 16:39:58 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtmgr#635
No description provided.