mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-12 19:49:59 +05:00
update icons
This commit is contained in:
parent
63933d9430
commit
5ae5979958
@ -107,6 +107,7 @@ define([
|
||||
"square": "square",
|
||||
"timer": "hourglass",
|
||||
"map-pin": "map-pin",
|
||||
"pin": "pin",
|
||||
"checked-box": "square-check",
|
||||
"unchecked-box": "square",
|
||||
"table": "table",
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
@ -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) {
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user