Fix state field and Initial support for snapshot tab
1. snapshot tab paging doesn't works well you should have to click refresh before using (it seems like omv bug, I reported)
As a note, the paging lists "1 of 1" on the bottom of the page, but the "Next" and "Last" arrows are lit up. When I clicked on the Next arrow, it took me ahead a page and displayed "2 of 98". So it's display bug at worst, rather than functionality.
Which leads me to my next point. I have 98 pages of snapshots, finding the right ones will be non-trivial. Not worried about that because I know htis is initial support, but if we can implement filtering, or for that matter displaying the exact same screen that the main plugin used in 3.0.8 and earlier, it would be easier to identify the snapshots.
Keep in mind part of this too is my own damned fault, because I'm too lazy to setup the script for individual snapshots per dataset. So I do it on the main ZPool's dataset and do it recursively so I don't have to set it up working backwards. That means I've got 165 or so snapshots because of my intervals, which are functionally empty, on two different pools. Even so, removing those only brings me down to 84 pages, so yeah.
On the subject of snapshots, you were asking about auto snapshot functionality. There's apparently a script that does auto-snapshots based on a user-defined property indicating whether to snapshot or not. I haven't tried it personally, but it might be worth looking into: https://github.com/bdrewery/zfstools