From 3dc965e8ffaec4358279b42da2306dfd3fc0b6a6 Mon Sep 17 00:00:00 2001 From: Carsten Grohmann Date: Mon, 6 Jan 2020 22:11:51 +0100 Subject: [PATCH] Set a single value to several places Prior this change items are set to html elements with id of the same name. Now OOMDisplay._set_item() searches for elements with same-named id or with item name listed in class attribute. This allows to set one value to several places to once. Additional suffixes for pages and kbytes are added in the singular or plural automatically. --- OOMAnalyser.html | 132 ++++++++++++++++++++++++++--------------------- OOMAnalyser.py | 103 +++++++++++++++++++++--------------- 2 files changed, 132 insertions(+), 103 deletions(-) diff --git a/OOMAnalyser.html b/OOMAnalyser.html index 48f991f..8946efd 100644 --- a/OOMAnalyser.html +++ b/OOMAnalyser.html @@ -8,20 +8,33 @@