Remove help icon from portal header
This commit is contained in:
@@ -5,8 +5,6 @@ require_once __DIR__ . '/../service.php';
|
|||||||
|
|
||||||
function render_auth_home_page(array $user): void
|
function render_auth_home_page(array $user): void
|
||||||
{
|
{
|
||||||
$userName = auth_escape_html((string) ($user['username'] ?? ''));
|
|
||||||
|
|
||||||
echo '<!doctype html>';
|
echo '<!doctype html>';
|
||||||
echo '<html lang="de">';
|
echo '<html lang="de">';
|
||||||
echo '<head>';
|
echo '<head>';
|
||||||
@@ -76,12 +74,6 @@ function render_auth_home_page(array $user): void
|
|||||||
echo '<span class="sg-search-result-count sg-table-label" aria-live="polite" data-pattern-part="options-row-search-result-count">0 Treffer</span>';
|
echo '<span class="sg-search-result-count sg-table-label" aria-live="polite" data-pattern-part="options-row-search-result-count">0 Treffer</span>';
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
echo '<div class="sg-options-row__right" data-pattern-part="options-row-secondary-actions">';
|
|
||||||
echo '<span class="sg-help-icon-wrap" data-open="false" data-align="left" data-component="help-icon" data-component-context="options-row">';
|
|
||||||
echo '<button class="sg-help-icon" type="button" aria-expanded="false" aria-label="Hilfetext anzeigen" data-component-part="help-trigger">?</button>';
|
|
||||||
echo '<span class="sg-help-icon-panel sg-table-label" role="tooltip" data-component-part="help-panel">Angemeldet als ' . $userName . '</span>';
|
|
||||||
echo '</span>';
|
|
||||||
echo '</div>';
|
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
echo '</article>';
|
echo '</article>';
|
||||||
echo '<h1 class="sg-main-heading">Willkommen im Naurua ERP</h1>';
|
echo '<h1 class="sg-main-heading">Willkommen im Naurua ERP</h1>';
|
||||||
@@ -104,7 +96,6 @@ function render_auth_home_page(array $user): void
|
|||||||
echo '</div>';
|
echo '</div>';
|
||||||
echo '</section>';
|
echo '</section>';
|
||||||
echo '</section>';
|
echo '</section>';
|
||||||
echo '<script src="/assets/help-icon-overlays.js"></script>';
|
|
||||||
echo '<script>';
|
echo '<script>';
|
||||||
echo "document.querySelectorAll('.sg-portal-header__tabs').forEach((group) => {";
|
echo "document.querySelectorAll('.sg-portal-header__tabs').forEach((group) => {";
|
||||||
echo " group.querySelectorAll('.sg-tab-button').forEach((button) => {";
|
echo " group.querySelectorAll('.sg-tab-button').forEach((button) => {";
|
||||||
|
|||||||
Reference in New Issue
Block a user