diff options
Diffstat (limited to 'scripts/html_menu.py')
-rwxr-xr-x | scripts/html_menu.py | 12 |
1 files changed, 6 insertions, 6 deletions
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"): |