From 9dd208800d85fffd2a0975ce7f9025fa910f5a48 Mon Sep 17 00:00:00 2001 From: Jens Luedicke Date: Tue, 8 Jul 2025 22:35:31 +0200 Subject: [PATCH] Switch Emojis to Tabler icons. --- static/css/auth.css | 3 +- static/css/style.css | 2 +- static/js/auth-animations.js | 6 +- static/js/password-strength.js | 4 +- templates/about.html | 16 ++--- templates/admin_company.html | 49 +++++++------ templates/admin_projects.html | 56 +++++++-------- templates/admin_teams.html | 22 +++--- templates/admin_users.html | 2 +- templates/analytics.html | 8 +-- templates/company_users.html | 4 +- templates/config.html | 36 +++++----- templates/confirm_company_deletion.html | 12 ++-- templates/dashboard.html | 2 +- templates/edit_project.html | 2 +- templates/imprint.html | 2 +- templates/index.html | 26 +++---- templates/index_old.html | 26 +++---- templates/invitations/send.html | 4 +- templates/layout.html | 51 +++++++------- templates/note_editor.html | 48 ++++++------- templates/note_mindmap.html | 2 +- templates/note_view.html | 60 ++++++++-------- templates/notes_folders.html | 10 +-- templates/notes_list.html | 68 ++++++++++++------- templates/profile.html | 8 +-- templates/register.html | 2 +- templates/register_invitation.html | 4 +- templates/setup_company.html | 10 +-- templates/system_admin_announcement_form.html | 2 +- templates/system_admin_branding.html | 4 +- templates/system_admin_companies.html | 10 +-- templates/system_admin_company_detail.html | 16 ++--- templates/system_admin_dashboard.html | 36 +++++----- templates/system_admin_edit_user.html | 2 +- templates/system_admin_health.html | 24 +++---- templates/system_admin_settings.html | 4 +- templates/system_admin_time_entries.html | 6 +- templates/system_admin_users.html | 8 +-- templates/task_modal.html | 22 +++--- templates/team_form.html | 6 +- templates/time_tracking.html | 38 +++++------ templates/unified_task_management.html | 30 ++++---- templates/verify_2fa.html | 2 +- 44 files changed, 389 insertions(+), 366 deletions(-) diff --git a/static/css/auth.css b/static/css/auth.css index d99f996..6bebcc4 100644 --- a/static/css/auth.css +++ b/static/css/auth.css @@ -367,7 +367,8 @@ body.auth-page::after { } .company-code-group::before { - content: '🏒'; + content: '\eebe'; /* Tabler icon building */ + font-family: 'tabler-icons'; position: absolute; left: 1rem; top: 2.5rem; /* Position below the label */ diff --git a/static/css/style.css b/static/css/style.css index 7c9b0aa..77e34a8 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -242,7 +242,7 @@ button { .nav-icon { margin-right: 0.75rem; - font-size: 1.1rem; + font-size: 1.5rem; min-width: 20px; text-align: center; } diff --git a/static/js/auth-animations.js b/static/js/auth-animations.js index f213f3a..567a823 100644 --- a/static/js/auth-animations.js +++ b/static/js/auth-animations.js @@ -103,7 +103,7 @@ document.addEventListener('DOMContentLoaded', function() { const toggleBtn = document.createElement('button'); toggleBtn.type = 'button'; toggleBtn.className = 'password-toggle'; - toggleBtn.innerHTML = 'πŸ‘οΈ'; + toggleBtn.innerHTML = ''; toggleBtn.style.cssText = ` position: absolute; right: 1rem; @@ -120,10 +120,10 @@ document.addEventListener('DOMContentLoaded', function() { toggleBtn.addEventListener('click', function() { if (input.type === 'password') { input.type = 'text'; - this.innerHTML = 'πŸ™ˆ'; + this.innerHTML = ''; } else { input.type = 'password'; - this.innerHTML = 'πŸ‘οΈ'; + this.innerHTML = ''; } }); diff --git a/static/js/password-strength.js b/static/js/password-strength.js index f5e0f8b..b3c2f68 100644 --- a/static/js/password-strength.js +++ b/static/js/password-strength.js @@ -148,10 +148,10 @@ document.addEventListener('DOMContentLoaded', function() { matchIndicator.textContent = ''; matchIndicator.className = 'password-match-indicator'; } else if (password === confirmInput.value) { - matchIndicator.textContent = 'βœ“ Passwords match'; + matchIndicator.innerHTML = ' Passwords match'; matchIndicator.className = 'password-match-indicator match'; } else { - matchIndicator.textContent = 'βœ— Passwords do not match'; + matchIndicator.innerHTML = ' Passwords do not match'; matchIndicator.className = 'password-match-indicator no-match'; } } diff --git a/templates/about.html b/templates/about.html index 2248ad9..886e371 100644 --- a/templates/about.html +++ b/templates/about.html @@ -23,17 +23,17 @@
-

πŸ‘₯ Team Management

+

Team Management

Managers can organize users into teams, monitor team performance, and track collective working hours. Role-based access ensures appropriate permissions for different user levels.

-

πŸ“Š Comprehensive Reporting

+

Comprehensive Reporting

View detailed time entry history, team performance metrics, and individual productivity reports. Export data for payroll and project management purposes.

-

πŸ”§ Flexible Configuration

+

Flexible Configuration

Customize work hour requirements, mandatory break durations, and threshold settings to match your organization's policies and labor regulations.

@@ -80,22 +80,22 @@
-

βœ… Compliance Ready

+

Compliance Ready

Automatically enforces break policies and work hour regulations to help your organization stay compliant with labor laws.

-

βœ… Easy to Use

+

Easy to Use

Intuitive interface requires minimal training. Start tracking time immediately without complicated setup procedures.

-

βœ… Scalable Solution

+

Scalable Solution

Grows with your organization from small teams to large enterprises. Multi-tenant architecture supports multiple companies, complex organizational structures, and unlimited growth potential.

-

βœ… Data-Driven Insights

+

Data-Driven Insights

Generate meaningful reports and analytics to optimize productivity, identify trends, and make informed business decisions.

@@ -115,7 +115,7 @@
-

πŸ‘₯ Join Existing Company

+

Join Existing Company

Already have a company using {{ g.branding.app_name }}? Get your company code from your administrator and register to join your organization.

diff --git a/templates/admin_company.html b/templates/admin_company.html index b3e8ca6..57f363c 100644 --- a/templates/admin_company.html +++ b/templates/admin_company.html @@ -7,7 +7,7 @@

- 🏒 + Company Management

Configure your company settings and policies

@@ -26,22 +26,22 @@
{{ stats.total_users }}
Total Users
- View all β†’ + View all
{{ stats.total_teams }}
Teams
- Manage β†’ + Manage
{{ stats.total_projects }}
Total Projects
- View all β†’ + View all
{{ stats.active_projects }}
Active Projects
- Manage β†’ + Manage
@@ -53,7 +53,7 @@

- ℹ️ + Company Information

@@ -97,13 +97,13 @@
- πŸ”‘ +
@@ -111,7 +111,7 @@
- πŸ“… +
{{ company.created_at.strftime('%B %d, %Y at %I:%M %p') }} @@ -121,7 +121,7 @@
@@ -133,14 +133,14 @@

- ⚑ + Quick Actions

-
πŸ‘₯
+

Manage Users

User accounts & permissions

@@ -148,7 +148,7 @@
-
πŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘¦
+

Manage Teams

Organize company structure

@@ -156,7 +156,7 @@
-
πŸ“
+

Manage Projects

Time tracking projects

@@ -164,7 +164,7 @@
-
πŸ“¨
+

Send Invitation

Invite team members

@@ -181,7 +181,7 @@

- πŸ“‹ + Work Policies

@@ -251,7 +251,7 @@
@@ -264,7 +264,7 @@

- πŸ‘€ + User Registration

@@ -304,7 +304,7 @@
@@ -728,6 +728,11 @@ input:checked + .toggle-slider:before { flex-shrink: 0; } +.action-icon i { + font-size: 2rem; + color: #667eea; +} + .action-content h3 { font-size: 1.05rem; font-weight: 600; @@ -874,17 +879,17 @@ function copyCompanyCode() { const copyText = document.getElementById('copyText'); // Store original values - const originalIcon = copyIcon.textContent; + const originalIcon = copyIcon.innerHTML; const originalText = copyText.textContent; // Update to success state - copyIcon.textContent = 'βœ“'; + copyIcon.innerHTML = ''; copyText.textContent = 'Copied!'; button.classList.add('success'); // Reset after 2 seconds setTimeout(() => { - copyIcon.textContent = originalIcon; + copyIcon.innerHTML = originalIcon; copyText.textContent = originalText; button.classList.remove('success'); }, 2000); diff --git a/templates/admin_projects.html b/templates/admin_projects.html index 2c400ba..e2e163b 100644 --- a/templates/admin_projects.html +++ b/templates/admin_projects.html @@ -7,18 +7,18 @@

- πŸ“ + Project Management

Manage projects, categories, and track time entries

- + + Create New Project
@@ -51,7 +51,7 @@ {% else %}
-
🏷️
+

No categories created yet

@@ -102,7 +102,7 @@
- πŸ” +
@@ -141,18 +141,18 @@ {% if project.category %}
- {{ project.category.icon or 'πŸ“' }} {{ project.category.name }} + {{ project.category.icon or '' }} {{ project.category.name }}
{% endif %}
- πŸ‘₯ + {{ project.team.name if project.team else 'All Teams' }}
- πŸ“… + {% if project.start_date %} {{ project.start_date.strftime('%b %d, %Y') }} @@ -163,11 +163,11 @@
- ⏱️ + {{ project.time_entries|length }} time entries
- πŸ‘€ + Created by {{ project.created_by.username }}
@@ -175,18 +175,18 @@
- ✏️ + Edit - πŸ“‹ + Tasks {% if g.user.role in [Role.ADMIN, Role.SYSTEM_ADMIN] %}
{% endif %} @@ -226,7 +226,7 @@ {% if project.category %} - {{ project.category.icon or 'πŸ“' }} {{ project.category.name }} + {{ project.category.icon or '' }} {{ project.category.name }} {% else %} - @@ -251,16 +251,16 @@
- ✏️ + - πŸ“‹ + {% if g.user.role in [Role.ADMIN, Role.SYSTEM_ADMIN] %}
{% endif %} @@ -275,18 +275,18 @@ {% else %}
-
πŸ“
+

No Projects Yet

Create your first project to start tracking time

- + + Create First Project
@@ -337,7 +337,7 @@ @@ -1203,7 +1203,7 @@ document.addEventListener('DOMContentLoaded', function() { manageCategoriesBtn.addEventListener('click', function() { const isVisible = categoriesSection.style.display !== 'none'; categoriesSection.style.display = isVisible ? 'none' : 'block'; - this.innerHTML = isVisible ? '🏷️ Manage Categories' : '🏷️ Hide Categories'; + this.innerHTML = isVisible ? ' Manage Categories' : ' Hide Categories'; }); // View Toggle diff --git a/templates/admin_teams.html b/templates/admin_teams.html index a9c5e56..0fa49bc 100644 --- a/templates/admin_teams.html +++ b/templates/admin_teams.html @@ -7,14 +7,14 @@

- πŸ‘₯ + Team Management

Manage teams and their members across your organization

@@ -45,7 +45,7 @@
- πŸ” +
- πŸ‘₯ +
{{ team.users|length }} members @@ -74,12 +74,12 @@
- πŸ“… + Created {{ team.created_at.strftime('%b %d, %Y') }}
{% if team.users %}
- πŸ‘€ + Led by {{ team.users[0].username }}
{% endif %} @@ -104,7 +104,7 @@ @@ -122,18 +122,18 @@ {% else %}
-
πŸ‘₯
+

No Teams Yet

Create your first team to start organizing your workforce

- + + Create First Team
diff --git a/templates/admin_users.html b/templates/admin_users.html index 829728d..25279a1 100644 --- a/templates/admin_users.html +++ b/templates/admin_users.html @@ -230,7 +230,7 @@