]> git.proxmox.com Git - pmg-gui.git/commit
improving oclass formatter
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 4 Apr 2017 11:48:43 +0000 (13:48 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 5 Apr 2017 04:36:55 +0000 (06:36 +0200)
commit076d6a72adb6461b6b6457f4a1937a2d8fd8ed1d
tree8ae86fc5eaf44b339ce383bf2df8c48a8cd02cdc
parentf1ab2a147690e4ba376b0cf850e82ff92418ba22
improving oclass formatter

this adds from/to to the oclass text object
adds a new oclass_icon object
and a new format_oclass function, which
combines the icon with the text

this will be used in the new ruleinfo sidebar

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
js/Utils.js