mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
update calendar dropdown icons
This commit is contained in:
parent
a048afd3f1
commit
99ba4a80fe
@ -669,8 +669,10 @@
|
||||
}
|
||||
.cp-dropdown-container {
|
||||
position: initial;
|
||||
|
||||
.cp-dropdown-content{
|
||||
svg {
|
||||
margin-right: 0.2rem;
|
||||
}
|
||||
@media screen and (max-width: 600px)
|
||||
{
|
||||
left: 50%;
|
||||
|
||||
@ -541,10 +541,7 @@ define([
|
||||
if (!data.readOnly) {
|
||||
options.push({
|
||||
tag: 'a',
|
||||
attributes: {
|
||||
'class': 'fa fa-pencil',
|
||||
},
|
||||
content: h('span', Messages.tag_edit),
|
||||
content: h('span',[Icons.get('rename'), Messages.tag_edit]),
|
||||
action: function (e) {
|
||||
e.stopPropagation();
|
||||
editCalendar(id);
|
||||
@ -577,10 +574,7 @@ define([
|
||||
if (!data.restricted) {
|
||||
options.push({
|
||||
tag: 'a',
|
||||
attributes: {
|
||||
'class': 'fa fa-shhare-alt',
|
||||
},
|
||||
content: h('span', Messages.shareButton),
|
||||
content: h('span', [ Icons.get('share'), Messages.shareButton]),
|
||||
action: function (e) {
|
||||
e.stopPropagation();
|
||||
var friends = common.getFriends();
|
||||
@ -607,10 +601,7 @@ define([
|
||||
});
|
||||
options.push({
|
||||
tag: 'a',
|
||||
attributes: {
|
||||
'class': 'fa fa-lock',
|
||||
},
|
||||
content: h('span', Messages.accessButton),
|
||||
content: h('span',[ Icons.get('lock'), Messages.accessButton]),
|
||||
action: function (e) {
|
||||
e.stopPropagation();
|
||||
var cal = APP.calendars[id];
|
||||
@ -639,10 +630,7 @@ define([
|
||||
if (!data.readOnly) {
|
||||
options.push({
|
||||
tag: 'a',
|
||||
attributes: {
|
||||
'class': 'fa fa-upload',
|
||||
},
|
||||
content: h('span', Messages.importButton),
|
||||
content: h('span', Icons.get('upload'), Messages.importButton),
|
||||
action: function () {
|
||||
UIElements.importContent('text/calendar', function (res) {
|
||||
Export.import(res, id, function (err, json) {
|
||||
@ -665,10 +653,7 @@ define([
|
||||
}
|
||||
options.push({
|
||||
tag: 'a',
|
||||
attributes: {
|
||||
'class': 'fa fa-download',
|
||||
},
|
||||
content: h('span', Messages.exportButton),
|
||||
content: h('span', Icons.get('download'), Messages.exportButton),
|
||||
action: function (e) {
|
||||
e.stopPropagation();
|
||||
var cal = APP.calendars[id];
|
||||
@ -710,10 +695,7 @@ define([
|
||||
|
||||
options.push({
|
||||
tag: 'a',
|
||||
attributes: {
|
||||
'class': 'fa fa-info-circle',
|
||||
},
|
||||
content: h('span', Messages.propertiesButton),
|
||||
content: h('span', Icons.get('features'), Messages.propertiesButton),
|
||||
action: function (e) {
|
||||
e.stopPropagation();
|
||||
var cal = APP.calendars[id];
|
||||
@ -738,10 +720,7 @@ define([
|
||||
if (!cantRemove) {
|
||||
options.push({
|
||||
tag: 'a',
|
||||
attributes: {
|
||||
'class': 'fa fa-trash-o',
|
||||
},
|
||||
content: h('span', Messages.poll_remove),
|
||||
content: h('span', Icons.get('trash-full'), Messages.poll_remove),
|
||||
action: function (e) {
|
||||
e.stopPropagation();
|
||||
var cal = APP.calendars[id];
|
||||
|
||||
@ -66,6 +66,7 @@ define([
|
||||
"access": "lock-open",
|
||||
"rename": "pen-line",
|
||||
"color-palette": "palette",
|
||||
"upload": "hard-drive-upload",
|
||||
"download": "hard-drive-download",
|
||||
"destroy": "shredder",
|
||||
"read-only": "pen-off",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user