diff --git a/i18n/default_de.json b/i18n/default_de.json index b358daf..76f5073 100644 --- a/i18n/default_de.json +++ b/i18n/default_de.json @@ -376,6 +376,11 @@ "Search...": "Suchen...", "To start searching, type in the search field.": "Um die Suche zu starten, gib etwas in das Suchfeld ein.", "Tip: Use {shortcut} to focus search quickly.": "Tipp: Mit {shortcut} fokussierst du die Suche schnell.", + "Searching...": "Suche läuft...", + "Search failed. Please try again.": "Suche fehlgeschlagen. Bitte erneut versuchen.", + "No results found": "Keine Ergebnisse gefunden", + "View all results": "Alle Ergebnisse anzeigen", + "to close": "zum Schließen", "Created from": "Erstellt von", "Created to": "Erstellt bis", "Files": "Dateien", diff --git a/i18n/default_en.json b/i18n/default_en.json index 2881ffd..d2487b1 100644 --- a/i18n/default_en.json +++ b/i18n/default_en.json @@ -376,6 +376,11 @@ "Search...": "Search...", "To start searching, type in the search field.": "To start searching, type in the search field.", "Tip: Use {shortcut} to focus search quickly.": "Tip: Use {shortcut} to focus search quickly.", + "Searching...": "Searching...", + "Search failed. Please try again.": "Search failed. Please try again.", + "No results found": "No results found", + "View all results": "View all results", + "to close": "to close", "Created from": "Created from", "Created to": "Created to", "Files": "Files", diff --git a/templates/default.phtml b/templates/default.phtml index b934dce..b38d631 100644 --- a/templates/default.phtml +++ b/templates/default.phtml @@ -211,8 +211,6 @@ $componentPageConfig = [ 'tenantSsoToggle' => [], 'standardDetailPage' => [], 'globalSearch' => [ - 'inputSelector' => '#side-search', - 'resultsSelector' => '[data-global-search-results]', 'appBase' => localeBase(), ], 'tabs' => [ @@ -339,6 +337,7 @@ $componentPageConfig['moduleRuntimeComponents'] = $moduleRuntimeComponents; + diff --git a/templates/partials/app-main-aside-icon-bar.phtml b/templates/partials/app-main-aside-icon-bar.phtml index 5309605..c0abd43 100644 --- a/templates/partials/app-main-aside-icon-bar.phtml +++ b/templates/partials/app-main-aside-icon-bar.phtml @@ -15,13 +15,6 @@ $hasAdminPanel = layoutHasAdminPanel($layoutAuth); -
  • - -
  • diff --git a/templates/partials/app-search-dialog.phtml b/templates/partials/app-search-dialog.phtml new file mode 100644 index 0000000..dab6d7e --- /dev/null +++ b/templates/partials/app-search-dialog.phtml @@ -0,0 +1,66 @@ + + +
    +
    +

    +
    + + + +
    + +
    +
    +
    +

    + +
    + + + +
    + +
    +
    diff --git a/templates/partials/app-topbar.phtml b/templates/partials/app-topbar.phtml index df497f4..6f1df46 100644 --- a/templates/partials/app-topbar.phtml +++ b/templates/partials/app-topbar.phtml @@ -38,7 +38,13 @@ $moduleTopbarSlots = is_array($moduleSlots['topbar.right_item'] ?? null) ? $modu - +
    + +