diff --git a/app/templates/_header.html b/app/templates/_header.html
index c98fdd6..8c13d7f 100644
--- a/app/templates/_header.html
+++ b/app/templates/_header.html
@@ -12,7 +12,7 @@
#}
{% set ns = namespace(items=[]) %}
{% if not hide_home %}
- {% set ns.items = ns.items + [{"label": "Home", "url": "/workspaces", "id": none, "icon": "π ", "menu": false, "home": true}] %}
+ {% set ns.items = ns.items + [{"label": "Home", "url": "/workspaces", "id": none, "icon": "home", "menu": false, "home": true}] %}
{% endif %}
{% if breadcrumb_items %}
{% for item in breadcrumb_items %}
diff --git a/app/templates/_icons.html b/app/templates/_icons.html
index d90e3e1..178f56e 100644
--- a/app/templates/_icons.html
+++ b/app/templates/_icons.html
@@ -78,6 +78,8 @@
{%- elif name == 'copy' -%}
+{%- elif name == 'eye-off' -%}
+
{%- elif name == 'eye' -%}
{%- elif name == 'share' -%}
@@ -86,5 +88,29 @@
{%- elif name == 'x' -%}
+{%- elif name == 'paperclip' -%}
+
+{%- elif name == 'external-link' -%}
+
+{%- elif name == 'sparkles' -%}
+
+{%- elif name == 'lightbulb' -%}
+
+{%- elif name == 'tag' -%}
+
+{%- elif name == 'file-text' -%}
+
+{%- elif name == 'save' -%}
+
+{%- elif name == 'upload' -%}
+
+{%- elif name == 'trending-up' -%}
+
+{%- elif name == 'zap' -%}
+
+{%- elif name == 'alert-triangle' -%}
+
+{%- elif name == 'user' -%}
+
{%- endif -%}
{%- endmacro -%}
diff --git a/app/templates/accounts.html b/app/templates/accounts.html
index f8650c6..4f70a28 100644
--- a/app/templates/accounts.html
+++ b/app/templates/accounts.html
@@ -1,12 +1,12 @@
{% extends "base.html" %}
-{% block page_icon %}π€{% endblock %}
+{% block page_icon %}{{ fd_icon("user",18) }}{% endblock %}
{% block page_title %}Accounts{% endblock %}
{% block title_prefix %}Accounts{% endblock %}
{% block content %}
- π€
+ {{ fd_icon("user",24) }}
Account Management
@@ -50,7 +50,7 @@
Connected Accounts
-
π
+
{{ fd_icon("link",20) }}
Gitea
diff --git a/app/templates/base.html b/app/templates/base.html
index 1e85864..50b3223 100644
--- a/app/templates/base.html
+++ b/app/templates/base.html
@@ -156,7 +156,7 @@
{{ user.full_name or user.login or workspaceName }}
{% if auth_method != 'local' %}
- {% if auth_method == 'gitea' %}π¦ Gitea{% elif auth_method == 'github' %}π GitHub{% else %}π {{ auth_method|title }}{% endif %}
+ {% if auth_method == 'gitea' %}Gitea{% elif auth_method == 'github' %}GitHub{% else %}{{ auth_method|title }}{% endif %}
{% endif %}
@@ -257,7 +257,7 @@
@@ -482,15 +482,15 @@
@@ -610,7 +610,13 @@
download: '',
search: '',
home: '',
- key: ''
+ key: '',
+ paperclip: '',
+ 'external-link': '',
+ save: '',
+ upload: '',
+ zap: '',
+ user: ''
};
return svgs[name] || '';
}
@@ -1203,7 +1209,7 @@
.catch(function(err) {
console.error('loadGiteaTree failed:', err.message || err);
if (container) {
- container.innerHTML = '';
+ container.innerHTML = '';
}
});
},
diff --git a/app/templates/board.html b/app/templates/board.html
index 803ed44..616173f 100644
--- a/app/templates/board.html
+++ b/app/templates/board.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% block page_icon %}π{% endblock %}
+{% block page_icon %}{{ fd_icon("folder",18) }}{% endblock %}
{% block page_title %}Kanban board new{% endblock %}
{% block title_prefix %}Kanban board new{% endblock %}
@@ -16,7 +16,7 @@
- π
+ {{ fd_icon("folder",24) }}
{{ repo }}
@@ -41,31 +41,31 @@
hx-get="/board/{{ owner }}/{{ repo }}/view/kanban"
hx-target="#view-content" hx-swap="innerHTML"
@click="setActiveTab($el)">
- π Kanban board
+ {{ fd_icon("bar-chart",14) }} Kanban board
@@ -111,7 +111,7 @@
-
+
@@ -119,8 +119,8 @@
-
-
+
+
diff --git a/app/templates/board_fragment.html b/app/templates/board_fragment.html
index 6fe3cdd..435c72b 100644
--- a/app/templates/board_fragment.html
+++ b/app/templates/board_fragment.html
@@ -36,7 +36,7 @@
{{ card.tag }}
{% endif %}
{% if card.due_date %}
- π
{{ card.due_date }}
+ {{ fd_icon("calendar",14) }} {{ card.due_date }}
{% endif %}
diff --git a/app/templates/card.html b/app/templates/card.html
index 099f7f2..cdb14bc 100644
--- a/app/templates/card.html
+++ b/app/templates/card.html
@@ -21,7 +21,7 @@
{% endif %}
{% if card.due_date %}
- π
{{ card.due_date }}
+ {{ fd_icon("calendar",14) }} {{ card.due_date }}
{% endif %}
diff --git a/app/templates/card_detail.html b/app/templates/card_detail.html
index 7b237a9..e8ba311 100644
--- a/app/templates/card_detail.html
+++ b/app/templates/card_detail.html
@@ -23,13 +23,13 @@
- π€
+ {{ fd_icon("user",14) }}
{% if issue.assignee %}{{ issue.assignee }}{% else %}Unassigned{% endif %}
βΎ
- π
+ {{ fd_icon("calendar",14) }}
{% if issue.due_date %}{{ issue.due_date }}{% else %}No deadline{% endif %}
diff --git a/app/templates/dashboard.html b/app/templates/dashboard.html
index 28b0884..405ca07 100644
--- a/app/templates/dashboard.html
+++ b/app/templates/dashboard.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% block page_icon %}π {% endblock %}
+{% block page_icon %}{{ fd_icon("home",18) }}{% endblock %}
{% block page_title %}Home{% endblock %}
{% block title_prefix %}Home{% endblock %}
@@ -42,7 +42,7 @@
border-radius: 6px; transition: background 0.15s; cursor: pointer; color: var(--text-primary); text-decoration: none;"
onmouseover="this.style.background='var(--bg-hover)'"
onmouseout="this.style.background='transparent'">
- π
+ {{ fd_icon("folder",20) }}
{{ repo.name }}
@@ -57,7 +57,7 @@
π‘ {{ repo.language }}
{% endif %}
{% if repo.private %}
- π
+ {{ fd_icon("lock",14) }}
{% endif %}
β
@@ -66,7 +66,7 @@
{% if not repos %}
-
π
+
{{ fd_icon("inbox",48) }}
Aucun projet trouvΓ©
{% if search %}
diff --git a/app/templates/detailed_board.html b/app/templates/detailed_board.html
index 641cbb5..0c98b09 100644
--- a/app/templates/detailed_board.html
+++ b/app/templates/detailed_board.html
@@ -39,7 +39,7 @@
{% endif %}
{% if card.due_date %}
- π
+ {{ fd_icon("calendar",14) }}
{{ card.due_date }}
{% endif %}
diff --git a/app/templates/gitea_workspace.html b/app/templates/gitea_workspace.html
index 2d3bd97..740e92d 100644
--- a/app/templates/gitea_workspace.html
+++ b/app/templates/gitea_workspace.html
@@ -1,12 +1,12 @@
{% extends "base.html" %}
{% block page_title %}{{ workspace_name }}{% endblock %}
{% block title_prefix %}{{ workspace_name }}{% endblock %}
-{% block page_icon %}π{% endblock %}
+{% block page_icon %}{{ fd_icon("link",18) }}{% endblock %}
{% block topbar %}
{% set breadcrumb_items = [{"label": owner ~ "/" ~ repo, "url": None}] %}
-{% set page_icon = "π" %}
-{% set right_actions = '
β' %}
+{% set page_icon = "link" %}
+{% set right_actions = '
' ~ fd_icon("settings",16) ~ '' %}
{% include '_header.html' %}
{% endblock %}
@@ -164,7 +164,7 @@ document.addEventListener('alpine:init', () => {
if (!r.ok) {
// If API fails (e.g. no Gitea token), set a message
var container = document.getElementById('sidebar-gitea-items');
- if (container) container.innerHTML = '';
+ if (container) container.innerHTML = '';
return;
}
var d = await r.json();
@@ -180,7 +180,7 @@ document.addEventListener('alpine:init', () => {
var html = '';
for (var i = 0; i < items.length; i++) {
var item = items[i];
- var icon = item.type === 'folder' ? 'π' : 'π';
+ var icon = item.type === 'folder' ? getSvgIcon('folder',14) : getSvgIcon('file',14);
html += '
';
html += '';
+ html += '
'+getSvgIcon('lock',14)+'Private Pages';
container.innerHTML = html;
// Re-attach event listeners
this.setupSidebarClicks();
@@ -270,7 +270,7 @@ document.addEventListener('alpine:init', () => {
ul.className = 'sidebar-items';
ul.style.paddingLeft = '20px';
children.forEach(function(child) {
- var icon = child.type === 'folder' ? 'π' : 'π';
+ var icon = child.type === 'folder' ? getSvgIcon('folder',14) : getSvgIcon('file',14);
var li = document.createElement('li');
li.className = 'sidebar-item';
li.setAttribute('data-gitea-path', child.path);
@@ -669,8 +669,8 @@ document.addEventListener('alpine:init', () => {
-
-
+
+
@@ -710,7 +710,7 @@ document.addEventListener('alpine:init', () => {
@@ -734,9 +734,9 @@ document.addEventListener('alpine:init', () => {
-
π Empty
+
{{ fd_icon("folder",16) }} Empty
No files in this folder
-
+
@@ -746,7 +746,7 @@ document.addEventListener('alpine:init', () => {
@click="item.type==='folder' ? drillDown(item.path) : openFile(item.path, item.sha)"
@contextmenu.prevent="openGwContext($event, item)"
style="display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:6px;cursor:pointer;">
-
+
@@ -759,8 +759,8 @@ document.addEventListener('alpine:init', () => {
:style="'left:' + gwCtx.x + 'px; top:' + gwCtx.y + 'px'"
@click.outside="gwCtx.visible = false"
style="display:none;position:fixed;background:var(--bg-modal);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-popover);z-index:1100;min-width:160px;padding:4px;">
- βοΈ Rename
- π Delete
+ {{ fd_icon("edit",14) }} Rename
+ {{ fd_icon("trash",14) }} Delete
@@ -769,7 +769,7 @@ document.addEventListener('alpine:init', () => {
-
+
@@ -778,7 +778,7 @@ document.addEventListener('alpine:init', () => {
-
π Private Pages
+ {{ fd_icon("lock",14) }} Private Pages
@@ -793,7 +793,7 @@ document.addEventListener('alpine:init', () => {
-
+
@@ -805,7 +805,7 @@ document.addEventListener('alpine:init', () => {
Editing:
-
+
diff --git a/app/templates/landing.html b/app/templates/landing.html
index 8e6ff15..5cb2ca4 100644
--- a/app/templates/landing.html
+++ b/app/templates/landing.html
@@ -3,6 +3,7 @@
+ {% from '_icons.html' import fd_icon %}
FlowDeck β All-in-one workspace