iatoolkit 0.10.0__py3-none-any.whl → 0.10.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of iatoolkit might be problematic. Click here for more details.
- iatoolkit/services/branding_service.py +17 -7
- iatoolkit/templates/chat.html +4 -4
- {iatoolkit-0.10.0.dist-info → iatoolkit-0.10.1.dist-info}/METADATA +1 -1
- {iatoolkit-0.10.0.dist-info → iatoolkit-0.10.1.dist-info}/RECORD +6 -6
- {iatoolkit-0.10.0.dist-info → iatoolkit-0.10.1.dist-info}/WHEEL +0 -0
- {iatoolkit-0.10.0.dist-info → iatoolkit-0.10.1.dist-info}/top_level.txt +0 -0
|
@@ -20,9 +20,14 @@ class BrandingService:
|
|
|
20
20
|
"header_background_color": "#FFFFFF", # Fondo blanco por defecto
|
|
21
21
|
"header_text_color": "#6C757D", # Color de texto 'muted' de Bootstrap
|
|
22
22
|
|
|
23
|
-
# Estilos para el nombre de la compañía
|
|
24
|
-
"
|
|
25
|
-
"
|
|
23
|
+
# Estilos para el texto primario (ej. nombre de la compañía)
|
|
24
|
+
"primary_font_weight": "bold",
|
|
25
|
+
"primary_font_size": "1rem",
|
|
26
|
+
|
|
27
|
+
# Estilos para el texto secundario (ej. ID de usuario)
|
|
28
|
+
"secondary_font_weight": "600", # Semibold
|
|
29
|
+
"secondary_font_size": "0.875rem" # Equivale a la clase 'small' de Bootstrap
|
|
30
|
+
|
|
26
31
|
}
|
|
27
32
|
|
|
28
33
|
def get_company_branding(self, company: Company | None) -> dict:
|
|
@@ -48,13 +53,18 @@ class BrandingService:
|
|
|
48
53
|
f"background-color: {final_branding_values['header_background_color']}; "
|
|
49
54
|
f"color: {final_branding_values['header_text_color']};"
|
|
50
55
|
)
|
|
51
|
-
|
|
52
|
-
f"font-weight: {final_branding_values['
|
|
53
|
-
f"font-size: {final_branding_values['
|
|
56
|
+
primary_text_style = (
|
|
57
|
+
f"font-weight: {final_branding_values['primary_font_weight']}; "
|
|
58
|
+
f"font-size: {final_branding_values['primary_font_size']};"
|
|
59
|
+
)
|
|
60
|
+
secondary_text_style = (
|
|
61
|
+
f"font-weight: {final_branding_values['secondary_font_weight']}; "
|
|
62
|
+
f"font-size: {final_branding_values['secondary_font_size']};"
|
|
54
63
|
)
|
|
55
64
|
|
|
56
65
|
return {
|
|
57
66
|
"name": company.name if company else "IAToolkit",
|
|
58
67
|
"header_style": header_style,
|
|
59
|
-
"
|
|
68
|
+
"primary_text_style": primary_text_style,
|
|
69
|
+
"secondary_text_style": secondary_text_style
|
|
60
70
|
}
|
iatoolkit/templates/chat.html
CHANGED
|
@@ -8,15 +8,14 @@
|
|
|
8
8
|
style="{{ branding.header_style }}">
|
|
9
9
|
|
|
10
10
|
<!-- Izquierda: Nombre de la Empresa -->
|
|
11
|
-
<span style="{{ branding.
|
|
11
|
+
<span style="{{ branding.primary_text_style }}">
|
|
12
12
|
{{ branding.name }}
|
|
13
13
|
</span>
|
|
14
14
|
|
|
15
|
-
<!-- Derecha: Grupo de iconos de acción -->
|
|
16
15
|
<!-- Derecha: Grupo de información y acciones del usuario -->
|
|
17
16
|
<div class="d-flex align-items-center">
|
|
18
17
|
<!-- 1. ID de Usuario -->
|
|
19
|
-
<span
|
|
18
|
+
<span style="{{ branding.secondary_text_style }}">
|
|
20
19
|
{{ external_user_id or user.email }}
|
|
21
20
|
</span>
|
|
22
21
|
|
|
@@ -34,10 +33,11 @@
|
|
|
34
33
|
</a>
|
|
35
34
|
|
|
36
35
|
<!-- 4. Powered by (con mayor separación) -->
|
|
37
|
-
<span
|
|
36
|
+
<span class="text-muted ms-4" style="{{ branding.secondary_text_style }}">
|
|
38
37
|
Powered by <strong>IAToolkit</strong>
|
|
39
38
|
</span>
|
|
40
39
|
|
|
40
|
+
|
|
41
41
|
<!-- 5. Icono de cerrar sesión (al final) -->
|
|
42
42
|
{% if user.email %}
|
|
43
43
|
<a href="{{ url_for('logout', company_short_name=company_short_name) }}"
|
|
@@ -36,7 +36,7 @@ iatoolkit/repositories/tasks_repo.py,sha256=icVO_r2oPagGnnBhwVFzznnvEEU2EAx-2dlW
|
|
|
36
36
|
iatoolkit/repositories/vs_repo.py,sha256=UkpmQQiocgM5IwRBmmWhw3HHzHP6zK1nN3J3TcQgjhc,5300
|
|
37
37
|
iatoolkit/services/__init__.py,sha256=5JqK9sZ6jBuK83zDQokUhxQ0wuJJJ9DXB8pYCLkX7X4,102
|
|
38
38
|
iatoolkit/services/benchmark_service.py,sha256=CdbFYyS3FHFhNzWQEa9ZNjUlmON10DT1nKNbZQ1EUi8,5880
|
|
39
|
-
iatoolkit/services/branding_service.py,sha256=
|
|
39
|
+
iatoolkit/services/branding_service.py,sha256=UG-cuVrMmxXRqSxOniDXew52D4WZYH8PZ84DW8EdLuo,2632
|
|
40
40
|
iatoolkit/services/dispatcher_service.py,sha256=ykR1ye6McyCCuaBgwH6r3-PqcLAr4v4ApkPazMSBzbs,14040
|
|
41
41
|
iatoolkit/services/document_service.py,sha256=nMXrNtbHQuc9pSaten0LvKY0kT8_WngBDmZJUP3jNPw,5936
|
|
42
42
|
iatoolkit/services/excel_service.py,sha256=CJGhu7cQl9J6y_ZWSJ-M63Xm-RXR9Zs66oOR2NJErZQ,3868
|
|
@@ -76,7 +76,7 @@ iatoolkit/system_prompts/sql_rules.prompt,sha256=y4nURVnb9AyFwt-lrbMNBHHtZlhk6kC
|
|
|
76
76
|
iatoolkit/templates/about.html,sha256=ciC08grUVz5qLzdzDDqDX31xirg5PrJIRYabWpV9oA8,294
|
|
77
77
|
iatoolkit/templates/base.html,sha256=LXXB8oPrcBFkf2pLfOSyAaSh66kHbs4SEujpFL3h9Nw,2163
|
|
78
78
|
iatoolkit/templates/change_password.html,sha256=DFfQSFcZ2YJZNFis2IXfzEKStxTf4i9f4eQ_6GiyNs8,2342
|
|
79
|
-
iatoolkit/templates/chat.html,sha256=
|
|
79
|
+
iatoolkit/templates/chat.html,sha256=d0TCeDKEI2fZCepThqRx3xqUDfgnCSFKwdE8Cqq3t5s,8587
|
|
80
80
|
iatoolkit/templates/chat_modals.html,sha256=9OtJHRMeBup8zojPnUqSl7Fd5StPdvOZMs2MiJPqVFY,5704
|
|
81
81
|
iatoolkit/templates/error.html,sha256=BNF-7z8AYL5vF4ZMUFMrOBt8c85kCFrm9qSHn9EiHWg,540
|
|
82
82
|
iatoolkit/templates/forgot_password.html,sha256=1lUbKg9CKnQdnySplceY_pibwYne1-mOlM38fqI1kW8,1563
|
|
@@ -104,7 +104,7 @@ iatoolkit/views/tasks_review_view.py,sha256=keLsLCyOTTlcoIapnB_lbuSvLwrPVZVpBiFC
|
|
|
104
104
|
iatoolkit/views/tasks_view.py,sha256=a3anTXrJTTvbQuc6PSpOzidLKQFL4hWa7PI2Cppcz8w,4110
|
|
105
105
|
iatoolkit/views/user_feedback_view.py,sha256=G37zmP8P4LvZrSymNJ5iFXhLZg1A3BEwRfTpH1Iam5w,2652
|
|
106
106
|
iatoolkit/views/verify_user_view.py,sha256=a3q4wHJ8mKAEmgbNTOcnX4rMikROjOR3mHvCr30qGGA,2351
|
|
107
|
-
iatoolkit-0.10.
|
|
108
|
-
iatoolkit-0.10.
|
|
109
|
-
iatoolkit-0.10.
|
|
110
|
-
iatoolkit-0.10.
|
|
107
|
+
iatoolkit-0.10.1.dist-info/METADATA,sha256=HQjVa4XstjTkOTiSsiQan7QknkV0o1T_NPKsLC2iv2g,9301
|
|
108
|
+
iatoolkit-0.10.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
109
|
+
iatoolkit-0.10.1.dist-info/top_level.txt,sha256=V_w4QvDx0b1RXiy8zTCrD1Bp7AZkFe3_O0-9fMiwogg,10
|
|
110
|
+
iatoolkit-0.10.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|