From 4a230b9a4843ade82ff12fda31b771a5a9e58977 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 6 Apr 2017 17:30:12 +0200 Subject: [statistics] Handle client screens, manage projectors --- .../statistics/templates/machine-main.html | 30 ++++++++++++++++++++++ .../statistics/templates/projector-list.html | 21 +++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 modules-available/statistics/templates/projector-list.html (limited to 'modules-available/statistics/templates') diff --git a/modules-available/statistics/templates/machine-main.html b/modules-available/statistics/templates/machine-main.html index 0b333a27..56454e78 100644 --- a/modules-available/statistics/templates/machine-main.html +++ b/modules-available/statistics/templates/machine-main.html @@ -130,6 +130,36 @@ {{lang_64bitSupport}} {{kvmstate}} + + {{lang_screens}} + +
+ + +
+
+ + +
+ {{#screens}} +
+
+ {{#projector}} + {{lang_projector}} + + {{/projector}} + {{^projector}} + + {{/projector}} +
+ {{connector}}: {{hwname}} {{resolution}} +
+
+ {{/screens}} + +

{{lang_devices}}

{{#lspci1}} diff --git a/modules-available/statistics/templates/projector-list.html b/modules-available/statistics/templates/projector-list.html new file mode 100644 index 00000000..bc9ecdbd --- /dev/null +++ b/modules-available/statistics/templates/projector-list.html @@ -0,0 +1,21 @@ +
+
{{lang_projectors}}
+
+
+ + +

{{lang_thoseAreProjectors}}

+ {{#projectors}} +
+ + {{hwname}} +
+ {{/projectors}} + {{^projectors}} +
{{lang_noProjectorsDefined}}
+ {{/projectors}} +
+
+
\ No newline at end of file -- cgit v1.2.3-55-g7522