From fc079b6489240673348db06cee87b7babebf3b52 Mon Sep 17 00:00:00 2001 From: Kuninori Morimoto Date: Fri, 1 Mar 2019 10:34:29 +0900 Subject: html.py: enable to setup html default cols/rows For selfish boys & girls Signed-off-by: Kuninori Morimoto --- scripts/html.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/html.py b/scripts/html.py index 9360974..446c200 100755 --- a/scripts/html.py +++ b/scripts/html.py @@ -140,7 +140,7 @@ class periject_html(base.base): # | | | # |menu|body| # | | | - with html("frameset", {"cols":"200,*"}): + with html("frameset", {"cols":"{},*".format(self.config("html-default-cols"))}): html("frame", {"src":"./html/menu.html", "name":"menu"}).print() html("frame", {"src":"./html/subindex.html", "name":"body"}).print() @@ -153,7 +153,7 @@ class periject_html(base.base): # ------- # body # ------- - with html("frameset", {"rows":"300,*"}): + with html("frameset", {"rows":"{},*".format(self.config("html-default-rows"))}): html("frame", {"src":"./summary.html", "name":"summary"}).print() html("frame", {"src":"./body.html", "name":"subbody"}).print() -- cgit v1.2.3