Update public source

This commit is contained in:
2026-10-11 14:46:11 +03:00
parent ce3063e7d3
commit 1e92597b34
7 changed files with 10 additions and 54 deletions
+5 -7
View File
@@ -5,13 +5,11 @@
{% block content %} {% block content %}
<div class="jobs-page"> <div class="jobs-page">
<div class="jobs-page-header"> <div>
<div> <h1 class="page-title">Jobs</h1>
<h1 class="page-title">Jobs</h1> <p class="page-description">
<p class="page-description"> Формирование заданий для CrackLab-клиентов.
Формирование заданий для CrackLab-клиентов. </p>
</p>
</div>
</div> </div>
{% if error %} {% if error %}
+5 -7
View File
@@ -5,13 +5,11 @@
{% block content %} {% block content %}
<div class="results-page"> <div class="results-page">
<div class="jobs-page-header"> <div>
<div> <h1 class="page-title">Results</h1>
<h1 class="page-title">Results</h1> <p class="page-description">
<p class="page-description"> Import completed results from CrackLab clients and review import history.
Import completed results from CrackLab clients and review import history. </p>
</p>
</div>
</div> </div>
{% if error %} {% if error %}
-1
View File
@@ -7,7 +7,6 @@ from reports.template import (
card, card,
page_begin, page_begin,
page_end, page_end,
page_header,
) )
from reports.utils import ( from reports.utils import (
format_datetime as format_report_datetime, format_datetime as format_report_datetime,
-1
View File
@@ -13,7 +13,6 @@ from reports.template import (
card, card,
page_begin, page_begin,
page_end, page_end,
page_header,
) )
-2
View File
@@ -32,8 +32,6 @@ from .template import (
page_end, page_end,
page_header,
card, card,
stat, stat,
-1
View File
@@ -34,7 +34,6 @@ from reports.utils import (
from reports.template import ( from reports.template import (
page_begin, page_begin,
page_end, page_end,
page_header,
card, card,
ReportContext, ReportContext,
) )
-35
View File
@@ -413,41 +413,6 @@ def page_begin(
return html return html
# ============================================================
# Page header
# ============================================================
def page_header(
title,
description="",
):
html = f"""
<h1 class="page-title">
{title}
</h1>
"""
if description:
html += f"""
<div class="page-description">
{description}
</div>
"""
return html
# ============================================================ # ============================================================
# Page end # Page end