From 66a2c839dc024f8a9af3ff38952558b417bc51bd Mon Sep 17 00:00:00 2001 From: Akashdeep Dhar Date: Apr 06 2021 12:35:59 +0000 Subject: [PATCH 1/15] Added a new Bootstrap-based template Signed-off-by: Akashdeep Dhar --- diff --git a/gather_easyfix.py b/gather_easyfix.py index 8f87157..82abe39 100755 --- a/gather_easyfix.py +++ b/gather_easyfix.py @@ -175,9 +175,14 @@ def main(): extra_kwargs = parse_arguments() + ''' template = "/etc/fedora-gather-easyfix/template.html" if not os.path.exists(template): template = "./template.html" + ''' + template = "/etc/fedora-gather-easyfix/tempmdrn.html" + if not os.path.exists(template): + template = "./tempmdrn.html" if not os.path.exists(template): print("No template found") return 1 diff --git a/tempmdrn.html b/tempmdrn.html new file mode 100644 index 0000000..ce8b7e4 --- /dev/null +++ b/tempmdrn.html @@ -0,0 +1,149 @@ + + + + + + + + + + Fedora Project Easyfix + + + + +
+
+
+ +
+
+

Welcome to Easyfix!

+

+ There are a number of projects within Fedora which are looking for help. Below are listed tasks + which have been evaluated as easy entrance point for people who are looking to start contributing + and do not know where to start. +

+

+ If you are a project owner, see the wiki + for more information. +

+
+
+ {% for project in projects %} + {% if project.tickets %} +
+

+ {{ project.name }} +

+

+ To get started contact {{ project.owner }} +

+ + {% endfor %} +
+
+ {% endif %} + {% endfor %} +

Total: {{ticket_num}} tickets found

+
+
+ +

Total: {{bzbugs_num}} bugs found

+
+
+ + + + \ No newline at end of file From 03151e9514824d35134154acd3fc94d8674004e4 Mon Sep 17 00:00:00 2001 From: Akashdeep Dhar Date: Apr 06 2021 12:35:59 +0000 Subject: [PATCH 2/15] Modified template for tabular interface Signed-off-by: Akashdeep Dhar --- diff --git a/tempmdrn.html b/tempmdrn.html index ce8b7e4..cd6923e 100644 --- a/tempmdrn.html +++ b/tempmdrn.html @@ -7,6 +7,19 @@ + + {% if fedmenu_url is defined %} + + + {% endif %} Fedora Project Easyfix @@ -64,86 +82,191 @@

-