mirror of
https://github.com/wekan/wekan.git
synced 2026-11-08 03:22:32 -05:00
- 2nd header bar: add a Problems button (warning icon) to the RIGHT of the Info (version) button; it turns red when there are new problems (settingHeader.js polls eventLogProblemAreas). Remove the old Reports button; the Admin Panel still opens on Settings. - The former Reports page is now the Problems page: left menu Summary / Security / Speed / Tests, then a separator, then the moved Broken Cards/Files/Rules/Boards/ Cards/Impersonation items. - Summary (problemsSummary, renamed from the removed top banner): the checkbox list + one Acknowledge button — the ONLY place to acknowledge. - Security/Speed/Tests: read-only, paginated, searchable event tables via new admin-only eventLogPage/eventLogCount methods; acknowledgeEventLog now takes a stream or array. - i18n keys + CSS + source-guard tests + design doc updated.
48 lines
1.5 KiB
Plaintext
48 lines
1.5 KiB
Plaintext
template(name="settingHeaderBar")
|
|
h1.header-setting-menu
|
|
span {{_ 'admin-panel'}}
|
|
|
|
.setting-header-btns.left
|
|
if currentUser
|
|
a.setting-header-btn.settings(class=isSettingsActive href="{{pathFor 'setting'}}")
|
|
span.emoji-icon
|
|
i.fa.fa-cog
|
|
span {{_ 'settings'}}
|
|
|
|
a.setting-header-btn.people(class=isPeopleActive href="{{pathFor 'people'}}")
|
|
span.emoji-icon
|
|
i.fa.fa-users
|
|
span {{_ 'people'}}
|
|
|
|
a.setting-header-btn.informations(class=isFeaturesActive href="{{pathFor 'admin-features'}}")
|
|
span.emoji-icon
|
|
i.fa.fa-flask
|
|
span {{_ 'features'}}
|
|
|
|
a.setting-header-btn.informations(class=isAttachmentsActive href="{{pathFor 'attachments'}}")
|
|
span.emoji-icon
|
|
i.fa.fa-paperclip
|
|
span {{_ 'attachments'}}
|
|
|
|
a.setting-header-btn.informations(class=isTranslationActive href="{{pathFor 'translation'}}")
|
|
span.emoji-icon
|
|
i.fa.fa-globe
|
|
span {{_ 'translation'}}
|
|
|
|
a.setting-header-btn.informations(class=isInformationActive href="{{pathFor 'information'}}")
|
|
span.emoji-icon
|
|
i.fa.fa-info-circle
|
|
span {{_ 'info'}}
|
|
|
|
a.setting-header-btn.problems(class="{{isProblemsActive}} {{problemsClass}}" href="{{pathFor 'admin-reports'}}")
|
|
span.emoji-icon
|
|
i.fa.fa-exclamation-triangle
|
|
span {{_ 'problems'}}
|
|
|
|
else
|
|
a.setting-header-btn.js-log-in(
|
|
title="{{_ 'log-in'}}")
|
|
span.emoji-icon
|
|
i.fa.fa-sign-in
|
|
span {{_ 'log-in'}}
|