diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | scripts/html_base.py | 2 | ||||
-rwxr-xr-x | scripts/html_menu.py | 12 | ||||
-rwxr-xr-x | scripts/html_task.py | 6 |
4 files changed, 11 insertions, 11 deletions
@@ -11,7 +11,7 @@ NOPARAM = subindex body index BSP = bsp51x bsp41x bsp39x all: wiki/Chat_log.wiki .git/hooks/pre-commit - @rm -fr index.html html/index.html html/menu.html + @rm -fr index.html html/index.html html/menu.html html/summary.html html/subindex.html @make -s ${HTMLDIR} ${WIKIDIR} @make -s LISTS="${MEMBER}" TARGET=finds EXP1=member EXP2=-a loop @make -s LISTS="${STATUS}" TARGET=finds EXP1=status EXP2=-s loop diff --git a/scripts/html_base.py b/scripts/html_base.py index 4941721..b02b376 100644 --- a/scripts/html_base.py +++ b/scripts/html_base.py @@ -224,7 +224,7 @@ class myhtml(base.base): return html("h3").print(html("a", {"target":"summary", - "href":self.relpath("html/{}.html".format(status), dir)}).text(status)) + "href":self.relpath("html/{}.html?summary".format(status), dir)}).text(status)) with html("table", {"border":"1"}): with html("tr"): diff --git a/scripts/html_menu.py b/scripts/html_menu.py index ced699c..052c18d 100755 --- a/scripts/html_menu.py +++ b/scripts/html_menu.py @@ -33,7 +33,7 @@ class periject_html(html_base.myhtml): folders = self.runl("cd {}; ls -F | grep /".format(current)) path = current.replace("./projects", ".") link = html("a", {"target":"summary", - "href":"{}/summary.html".format(path)}) + "href":"{}/summary.html?folder".format(path)}) html("li").print(link.text(os.path.basename(current))) @@ -54,7 +54,7 @@ class periject_html(html_base.myhtml): for assignee in ['BSP', 'Geert', 'Jacopo', 'Kieran', 'Laurent', 'Magnus', 'Marek', 'Morimoto', 'Niklas', 'Shimoda', 'Wolfram', "NoAssignee"]: html("li").print(html("a", {"target":"summary", - "href":"./{}.html".format(assignee)}).text(assignee)) + "href":"./{}.html?assignee".format(assignee)}).text(assignee)) #-------------------- # menu_status @@ -64,7 +64,7 @@ class periject_html(html_base.myhtml): with html("ul"): for status in ['New', 'Active', 'Blocked', 'Paused', 'Done', 'Abandoned']: html("li").print(html("a", {"target":"summary", - "href":"./{}.html".format(status)}).text(status)) + "href":"./{}.html?status".format(status)}).text(status)) #-------------------- # menu_team @@ -74,14 +74,14 @@ class periject_html(html_base.myhtml): with html("ul"): for status in ['Core', 'IO', 'MM']: html("li").print(html("a", {"target":"summary", - "href":"./{}.html".format(status)}).text(status)) + "href":"./{}.html?team".format(status)}).text(status)) #-------------------- # menu_bsp #-------------------- def menu_bsp(self, bsp): html("a", {"target":"summary", - "href":"./{}.html".format(bsp)}).print(bsp) + "href":"./{}.html?bsp".format(bsp)}).print(bsp) #-------------------- # print @@ -98,7 +98,7 @@ class periject_html(html_base.myhtml): html("h1").print("Schedule") html("a", {"target":"summary", - "href":"./schedule.html"}).print("schedule") + "href":"./schedule.html?schedule"}).print("schedule") html("h1").print("Folder") with html("ul"): diff --git a/scripts/html_task.py b/scripts/html_task.py index e47bb99..4aa2d29 100755 --- a/scripts/html_task.py +++ b/scripts/html_task.py @@ -74,11 +74,11 @@ class periject_html(html_base.myhtml): with html("tr"): html("td").print(os.path.relpath(v.file, self.top())) html("td").print(html("a", {"target":"summary", - "href":self.relpath("html/{}.html".format(status), dir)}).text(status)) + "href":self.relpath("html/{}.html?summary".format(status), dir)}).text(status)) html("td").print(html("a", {"target":"summary", - "href":self.relpath("html/{}.html".format(team), dir)}).text(team)) + "href":self.relpath("html/{}.html?summary".format(team), dir)}).text(team)) html("td").print(html("a", {"target":"summary", - "href":self.relpath("html/{}.html".format(assignee), dir)}).text(assignee)) + "href":self.relpath("html/{}.html?summary".format(assignee), dir)}).text(assignee)) html("td").print(v.get_data("key")) #-------------------- |