mirror of
https://github.com/retspen/webvirtmgr.git
synced 2026-04-25 23:55:57 +03:00
[PR #359] [MERGED] Added checkbox to hide/show VMs based on current state #635
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
master← Head:hidevmbystatusinfr📝 Commits (1)
68dfe1dAdded 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.