update icons

This commit is contained in:
daria 2025-09-10 14:04:10 +03:00
parent 63933d9430
commit 5ae5979958
No known key found for this signature in database
GPG Key ID: 3B75240E6B2F2701
4 changed files with 11 additions and 8 deletions

View File

@ -107,6 +107,7 @@ define([
"square": "square",
"timer": "hourglass",
"map-pin": "map-pin",
"pin": "pin",
"checked-box": "square-check",
"unchecked-box": "square",
"table": "table",

View File

@ -460,7 +460,6 @@ MessengerUI, Messages, Pages, PadTypes, Lucide, Icons) {
e.preventDefault();
e.stopPropagation();
});
//var $closeIcon = $('<span>', {"class": "fa fa-times cp-toolbar-userlist-drawer-close"}).appendTo($content);
$('<h2>').text(Messages.users).appendTo($content);
$('<p>', {'class': USERLIST_CLS}).appendTo($content);
@ -552,7 +551,6 @@ MessengerUI, Messages, Pages, PadTypes, Lucide, Icons) {
e.preventDefault();
e.stopPropagation();
});
//var $closeIcon = $('<span>', {"class": "fa fa-times cp-toolbar-chat-drawer-close"}).appendTo($content);
//$('<h2>').text(Messages.users).appendTo($content);
//$('<p>', {'class': USERLIST_CLS}).appendTo($content);

View File

@ -9,9 +9,11 @@ define([
'/components/chainpad/chainpad.dist.js',
'/common/common-util.js',
'/customize/messages.js',
'/customize/fonts/lucide.js',
'/common/common-icons.js',
'/lib/diff-dom/diffDOM.js',
], function ($, Hyperjson, TextCursor, ChainPad, Util, Messages) {
], function ($, Hyperjson, TextCursor, ChainPad, Util, Messages, Lucide, Icons) {
var DiffDOM = window.diffDOM;
var Example = {
@ -293,8 +295,8 @@ var Renderer = function (APP) {
return ['SPAN', {
'data-rt-id': id,
'title': Messages.poll_locked,
class: 'cp-app-poll-table-lock fa fa-lock',
}, []];
class: 'cp-app-poll-table-lock',
}, [Icons.get('lock')]];
};
var makeBookmarkElement = Render.makeBookmarkElement = function (id) {
@ -302,8 +304,8 @@ var Renderer = function (APP) {
'data-rt-id': id,
'title': Messages.poll_bookmark_col,
'style': 'visibility: hidden;',
class: 'cp-app-poll-table-bookmark fa fa-thumb-tack',
}, []];
class: 'cp-app-poll-table-bookmark',
}, [Icons.get('pin')]];
};
var makeHeadingCell = Render.makeHeadingCell = function (cell, readOnly) {

View File

@ -20,7 +20,9 @@ SPDX-License-Identifier: AGPL-3.0-or-later
<div id="cp-app-todo-container">
<div class="cp-app-todo-create-form">
<input type="text" id="cp-app-todo-newtodo" data-localization-placeholder="todo_newTodoNamePlaceholder" />
<button class="btn btn-success fa fa-plus" data-localization-title="todo_newTodoNameTitle"></button>
<button class="btn btn-success" data-localization-title="todo_newTodoNameTitle">
<i data-lucide="plus" aria-hidden="true"></i>
</button>
</div>
<div id="cp-app-todo-taskslist"></div>
</div>