diff --git a/screenless/bureau/ihr/ihr.py b/screenless/bureau/ihr/ihr.py index 9c28c5c..515c2ed 100644 --- a/screenless/bureau/ihr/ihr.py +++ b/screenless/bureau/ihr/ihr.py @@ -51,7 +51,7 @@ class InhumanResources(Bureau): cmd = data["cmd"] cmdname = data["cmdname"] desc = data["desc"] - barcode = code128.svg(prefix + cmd + ".") + barcode = code128.svg(prefix + cmd + ".", thickness=1.5) except KeyError as e: print("cannot add invalid command:", str(e)) return @@ -88,7 +88,6 @@ class InhumanResources(Bureau): Prints the menu of commands for all operational bureaus. """ self.print_full("menu.html", menu=self.menu) - print(self.menu) def main(): diff --git a/screenless/bureau/ihr/menu.html b/screenless/bureau/ihr/menu.html index 7990e84..1c13375 100644 --- a/screenless/bureau/ihr/menu.html +++ b/screenless/bureau/ihr/menu.html @@ -3,40 +3,63 @@ The Screenless Office - Main Menu
+

The Screenless Office

+ Directory of Services %for prefix, buro in menu.items():
-

${buro["name"]}

+

${buro["name"]}

Prefix: ${prefix}

${buro["desc"]}

%for cmdtxt, cmd in buro["commands"].items(): % if cmdtxt != "test":
-

${cmd["name"]}

-
${cmdtxt}
-
${cmd["barcode"]}
-

${cmd["desc"]}

+
+
${cmd["name"]}
+
command: ${cmdtxt}
+
+
+

${cmd["desc"]}

+
+
${cmd["barcode"]}
% endif %endfor diff --git a/screenless/bureau/ihr/screenless_logo.svg b/screenless/bureau/ihr/screenless_logo.svg new file mode 100644 index 0000000..d1fd28a --- /dev/null +++ b/screenless/bureau/ihr/screenless_logo.svg @@ -0,0 +1,67 @@ + + + + + + + + + image/svg+xml + + + + + + + + THESCREENLESSOFFICE +