From: Michael Tremer Date: Tue, 31 May 2022 16:20:59 +0000 (+0000) Subject: Drop unused JobsBoxes UI module X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a432d0e72cdcc501b5479c64d58a77413e9589bd;p=pbs.git Drop unused JobsBoxes UI module Signed-off-by: Michael Tremer --- diff --git a/Makefile.am b/Makefile.am index 95e2eb96..b69c1384 100644 --- a/Makefile.am +++ b/Makefile.am @@ -295,7 +295,6 @@ dist_templates_modules_changelog_DATA = \ templates_modules_changelogdir = $(templates_modulesdir)/changelog dist_templates_modules_jobs_DATA = \ - src/templates/modules/jobs/boxes.html \ src/templates/modules/jobs/list.html \ src/templates/modules/jobs/status.html diff --git a/src/templates/modules/jobs/boxes.html b/src/templates/modules/jobs/boxes.html deleted file mode 100644 index 34cb485a..00000000 --- a/src/templates/modules/jobs/boxes.html +++ /dev/null @@ -1,13 +0,0 @@ - - diff --git a/src/web/__init__.py b/src/web/__init__.py index 6872e154..c9a50038 100644 --- a/src/web/__init__.py +++ b/src/web/__init__.py @@ -62,7 +62,6 @@ class Application(tornado.web.Application): "CommitMessage" : ui_modules.CommitMessageModule, "CommitsTable" : ui_modules.CommitsTableModule, - "JobsBoxes" : ui_modules.JobsBoxesModule, "JobState" : ui_modules.JobStateModule, "JobsTable" : ui_modules.JobsTableModule, "CommentsTable" : ui_modules.CommentsTableModule, diff --git a/src/web/ui_modules.py b/src/web/ui_modules.py index 6b225b66..9d4d1bb0 100644 --- a/src/web/ui_modules.py +++ b/src/web/ui_modules.py @@ -237,15 +237,6 @@ class BuildState(UIModule): return """text-muted font-italic""" -class JobsBoxesModule(UIModule): - def render(self, build, jobs=None): - if jobs is None: - jobs = build.jobs - - return self.render_string("modules/jobs/boxes.html", - build=build, jobs=jobs) - - class JobStateModule(UIModule): def render(self, job, cls=None, show_arch=False, show_icon=False, plain=False): state = job.state