improve frontend of emacs, ckeditor, tinymce, nicedit, meta and env functions

Improves in emacs:
- use htmx to send content to the controller
- show txt and formatted_txt content in the second panel
- show two tabs if "tabs" winix parameter is used
- add an option to show either one or two panels
- correctly resize the editor window (F11) when two panels are shown

Improves in ckeditor:
- use htmx to send content to the controller
- do not check automatically for ckeditor update

Improves in tinymce/nicedit/meta/env:
- use htmx to send content to the controller

while here:
- change PascalCase to snake_case in meta/env controllers
- update CodeMirror editor to 5.65.16
- udpate Showdown (markdown to html converter) to 2.1.0
This commit is contained in:
2024-07-20 15:13:27 +02:00
parent 89b37db48e
commit e63838faeb
27 changed files with 1075 additions and 496 deletions

View File

@@ -108,8 +108,10 @@ short_url = Short url
title = Title
nick = Nick
change = Change
change_and_close = Change and close
edit = Edit
add = Add
add_and_close = Add and close
move = Move
copy = Copy
user = User
@@ -127,15 +129,6 @@ rebus_need_to_solve = Solve the rebus please!
edit_ticket_header = Edit ticket
create_ticket_header = Create a new ticket
ckeditor_update_button = Update
ckeditor_update_progressbar_img_alt = Progressbar
form_ticket_type = Ticket type
form_ticket_status = Status
form_ticket_priority = Priority
@@ -173,6 +166,9 @@ form_emacs_content_cms = Content
form_emacs_content_thread = Post
form_emacs_content_ticket = Info
form_emacs_content_edit = Content
form_emacs_content_preview = Preview
form_emacs_content_type = Message type
form_emacs_content_type_text = text
@@ -182,6 +178,10 @@ form_emacs_content_type_bbcode = bbcode
form_emacs_content_type_other = other \(no formatting\)
form_emacs_content_type_markdown = markdown
form_emacs_view_type = View
form_emacs_view_type_one_panel = One panel
form_emacs_view_type_two_panels = Two panels
last_header = Last logged users
last_tab_login = Login
@@ -355,8 +355,6 @@ upload_button_download = Download
upload_button_edit = Edit
upload_error = Error:
upload_processing = Processing...
upload_content_edit = Content
upload_content_preview = Preview
who_header = Sessions
@@ -508,10 +506,6 @@ stat_template_from_mount_point = from the mount point
subject_header = Edit subject
tinymce_update_button = Update
tinymce_update_progressbar_img_alt = Progressbar
uname_header = System
uname_components = Components
uname_available_plugins = Plugins

View File

@@ -112,8 +112,10 @@ short_url = Krótki url
title = Tytuł
nick = Nick
change = Zmień
change_and_close = Zmień i zamknij
edit = Edytuj
add = Dodaj
add_and_close = Dodaj i zamknij
move = Przenieś
copy = Kopiuj
user = Użytkownik
@@ -133,15 +135,6 @@ rebus_need_to_solve = Proszę rozwiązać rebus!
edit_ticket_header = Edytuj zgłoszenie
create_ticket_header = Nowe zgłoszenie
ckeditor_update_button = Aktualizuj
ckeditor_update_progressbar_img_alt = Progressbar
form_ticket_type = Rodzaj zgłoszenia
form_ticket_status = Status
form_ticket_priority = Priorytet
@@ -178,6 +171,9 @@ form_emacs_content_cms = Zawartość
form_emacs_content_thread = Post
form_emacs_content_ticket = Opis
form_emacs_content_edit = Zawartość
form_emacs_content_preview = Podgląd
form_emacs_content_type = Rodzaj wiadomości
form_emacs_content_type_text = text
@@ -187,6 +183,9 @@ form_emacs_content_type_bbcode = bbcode
form_emacs_content_type_other = inny \(brak formatowania\)
form_emacs_content_type_markdown = markdown
form_emacs_view_type = Widok
form_emacs_view_type_one_panel = Jeden panel
form_emacs_view_type_two_panels = Dwa panele
last_header = Ostatnio logowani użytkownicy
last_tab_login = Login
@@ -375,8 +374,6 @@ upload_button_download = Ściągnij
upload_button_edit = Edytuj
upload_error = Błąd:
upload_processing = Przygotowywanie...
upload_content_edit = Zawartość
upload_content_preview = Podgląd
who_header = Lista sesji
@@ -526,10 +523,6 @@ stat_template_from_mount_point = z punktu montowania
subject_header = Zmień tytuł
tinymce_update_button = Aktualizuj
tinymce_update_progressbar_img_alt = Progressbar
uname_header = System
uname_components = Komponenty
uname_available_plugins = Pluginy