mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-22 11:01:54 +03:00
fix: create event popup improvements (#4850)
Signed-off-by: Eduard Aksamitov <e@euaaaio.ru>
This commit is contained in:
parent
1df662e2a0
commit
c56dd34c7f
@ -71,6 +71,9 @@
|
||||
}
|
||||
.default, .ghost { padding: 0.3125rem 0.5rem; }
|
||||
.default-large, .ghost-large { padding: 0.4375rem 0.5rem; }
|
||||
.ghost-large {
|
||||
color: var(--theme-caption-color);
|
||||
}
|
||||
.default, .ghost, .default-large, .ghost-large {
|
||||
box-sizing: border-box;
|
||||
line-height: 1.25rem;
|
||||
|
@ -35,7 +35,7 @@
|
||||
let edits: IEdits[] = editsType.map((edit) => {
|
||||
return { id: edit, value: -1 }
|
||||
})
|
||||
let selected: TEdits | null = 'hour'
|
||||
let selected: TEdits | null = null
|
||||
let startTyping: boolean = false
|
||||
|
||||
const dispatch = createEventDispatcher()
|
||||
|
@ -52,7 +52,7 @@
|
||||
"ThisEvent": "This event",
|
||||
"ThisAndNext": "This and following events",
|
||||
"AllEvents": "All events",
|
||||
"NewEvent": "New event",
|
||||
"EventTitlePlaceholder": "Event title",
|
||||
"TimeZone": "Time zone",
|
||||
"Repeat": "Repeat",
|
||||
"On": "On",
|
||||
|
@ -52,7 +52,7 @@
|
||||
"ThisEvent": "Este evento",
|
||||
"ThisAndNext": "Este y los siguientes eventos",
|
||||
"AllEvents": "Todos los eventos",
|
||||
"NewEvent": "Nuevo evento",
|
||||
"EventTitlePlaceholder": "Título del evento",
|
||||
"TimeZone": "Zona horaria",
|
||||
"Repeat": "Repetir",
|
||||
"On": "En",
|
||||
|
@ -52,7 +52,7 @@
|
||||
"ThisEvent": "Este evento",
|
||||
"ThisAndNext": "Este e os seguintes eventos",
|
||||
"AllEvents": "Todos os eventos",
|
||||
"NewEvent": "Novo evento",
|
||||
"EventTitlePlaceholder": "Título do evento",
|
||||
"TimeZone": "Fuso horário",
|
||||
"Repeat": "Repetir",
|
||||
"On": "Em",
|
||||
|
@ -52,7 +52,7 @@
|
||||
"ThisEvent": "Только это событие",
|
||||
"ThisAndNext": "Это и последующие события",
|
||||
"AllEvents": "Все события",
|
||||
"NewEvent": "Новое событие",
|
||||
"EventTitlePlaceholder": "Название события",
|
||||
"TimeZone": "Часовой пояс",
|
||||
"Repeat": "Повтор",
|
||||
"On": "В",
|
||||
|
@ -159,10 +159,11 @@
|
||||
<div class="header flex-between">
|
||||
<EditBox
|
||||
bind:value={title}
|
||||
placeholder={calendar.string.NewEvent}
|
||||
placeholder={calendar.string.EventTitlePlaceholder}
|
||||
kind={'ghost-large'}
|
||||
fullSize
|
||||
focusable
|
||||
autoFocus
|
||||
focusIndex={10001}
|
||||
/>
|
||||
<div class="flex-row-center gap-1 flex-no-shrink ml-3">
|
||||
|
@ -162,11 +162,12 @@
|
||||
<div class="header flex-between">
|
||||
<EditBox
|
||||
bind:value={title}
|
||||
placeholder={calendar.string.NewEvent}
|
||||
placeholder={calendar.string.EventTitlePlaceholder}
|
||||
disabled={readOnly}
|
||||
kind={'ghost-large'}
|
||||
fullSize
|
||||
focusable
|
||||
autoFocus
|
||||
focusIndex={10001}
|
||||
/>
|
||||
<div class="flex-row-center gap-1 flex-no-shrink ml-3">
|
||||
|
@ -50,7 +50,7 @@ export default mergeIds(calendarId, calendar, {
|
||||
ThisEvent: '' as IntlString,
|
||||
ThisAndNext: '' as IntlString,
|
||||
AllEvents: '' as IntlString,
|
||||
NewEvent: '' as IntlString,
|
||||
EventTitlePlaceholder: '' as IntlString,
|
||||
TimeZone: '' as IntlString,
|
||||
Repeat: '' as IntlString,
|
||||
Every: '' as IntlString,
|
||||
|
Loading…
Reference in New Issue
Block a user