Commit graph

188 commits

Author SHA1 Message Date
Maaxxs
43aa0e9c66 Redesign Premades roster as a fixed 5-slot grid of angled cards
Replaces the pill chips with bigger rectangular cards (two per row,
corners diagonally cut for a parallelogram-ish look via clip-path)
matching the request for something closer to a raid-group roster. A
premade always shows exactly 5 slots - lead, accepted members,
pending invites, then grayed-out empty placeholders (a muted "+"
card) for whatever's left, so a half-full group still reads as a
group with open spots rather than a short list.

The lead's card gets a solid gold outer frame with a dark gold-tinted
fill and a crown icon; getting the tint right took a second pass -
using rgba() on the inner fill blended against the gold "border"
layer underneath instead of the page background, which just looked
like solid gold, so it's a flat dark-gold hex instead. The border
itself is simulated with a two-layer trick (colored outer + inset
inner, both clip-path'd) since clip-path crops away any border drawn
on a single element's diagonal edges.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-19 15:43:33 +02:00
Maaxxs
fc0ba31ea2 Redesign Premades member list as avatar chips with a crown for the lead
Replaces the plain bordered-row list with pill-shaped chips (avatar +
name), matching the site's avatar system - shows a member's real
uploaded picture when they're a linked website account, otherwise the
usual letter placeholder. The lead now appears as a chip too (previously
only shown via a header badge) with a gold-tinted border and a crown
icon; pending invites get a dashed border. Dropped the now-redundant
"👑 owner" header badge since the lead's chip covers that.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-19 15:37:40 +02:00
Maaxxs
357ff7eb1e Redesign the site logo as a circular winged badge + two-line wordmark
Replaces the flat horizontal wing/star mark with something closer to
the original artwork's composition: a circular medallion (double
ring, radial dark fill) with layered swept-feather wings on both
sides, a central blade with a small gem, and a star breaking the top
of the ring - next to a two-line wordmark, "LUMINA" large over a
smaller letter-spaced "ASCENDENS", both in a serif face matching the
original's typography more closely than the previous sans-serif
version. Verified at 40/56px (actual sidebar/navbar size) and at
large size to check the wing/feather detail.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-19 15:32:20 +02:00
Maaxxs
976c0e23b2 Use the current logo as favicon, add a new compact site logo
The original logo.png (the full illustrated artwork) is now generated
into a proper favicon set (favicon.ico, 16/32/48px PNGs, apple-touch-
icon) and wired up via <link rel="icon"> tags - it was never used as
the browser tab icon before.

logo.png itself doesn't work as the actual site logo in the sidebar/
navbar: at 56px/40px tall it's illegible (dense illustration + small
wordmark). There's no image-generation tool available in this session,
so instead of a new illustrated piece, added assets/images/logo-mark.svg:
a hand-built vector wordmark ("LUMINA" + a gold sunburst/wing emblem
with a small center gem) in the site's existing gold/dark palette,
echoing the wings/sigil/gem motifs of the original artwork but
designed to stay crisp at small sizes. Replaces logo.png in both
sidebar-brand and navbar-brand; the original PNG is left in place
unreferenced, still the source the favicons were generated from.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-19 15:28:13 +02:00
Maaxxs
f8d4d21fed Add a mobile-friendly move dropdown alongside raid editor drag&drop
Native HTML5 drag&drop doesn't work on touch devices at all, so
moving players between groups in editor mode was effectively unusable
on mobile. Each signup item now also gets a compact <select> (built
from the same data-groups/data-locked-groups already used for the
signup modal) that moves the player on change - works via tap on
mobile and click on desktop, and excludes locked groups as targets
except the player's own current one.

Extracted the shared move logic (API call + DOM patch for counts/
empty-state/header badge) from the drag&drop drop handler into
moveSignupTo(), reused by both the drop handler and the new dropdown
instead of duplicating it.

The select is hidden outside editor mode and switches to a full-width
row below the name under 480px so it's easier to tap; verified via a
local preview at both desktop and mobile (375px) viewport sizes,
including that locked groups are correctly excluded from the options.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-19 13:58:22 +02:00
Maaxxs
40d8bec259 Add raid creation from the website and handle auto-repost on save
The bot API now lets the website create raids without knowing a
Discord channel: POST /api/raids accepts guild_id and resolves the
target channel via the server's /set_raidchannel default. Adds a
"+ Neuer Raid" panel on raids.php (raids.manage only) with the same
title/date/max slots/gearscore grid and requirements textarea as the
edit form, plus the group-name row editor reused without its lock
toggle (data-locks="0" on .group-editor, since creation doesn't
support locked_groups) - one shared component instead of a second
implementation. Needs raids_api.guild_id in config.php, documented in
README.md.

Also updates the editor's "Speichern" flow for the API's other
change: PATCH /api/raids/{id} now auto-reposts the Discord message
(via sync_raid_message) if it was deleted manually, returning the new
raid_id. update_raid() now returns the API response instead of
discarding it, and raid_edit_action.php surfaces a distinct message
when the id changed - the page reload right after already picks up
the new id either way, since it re-fetches the raid list fresh.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-19 08:09:20 +02:00
Maaxxs
4d4a030b95 Add a Premades management page mirroring the Discord bot's /premade
Ports the bot's premade feature set (cogs/premades.py) to the
website using the raid API's existing, already-deployed premade
endpoints - no bot/API changes needed:

- Overview of all premades: lead, accepted members, open invites
- Found/rename/dissolve your own premade
- Invite a linked website member (sends the same Discord DM with
  Accept/Decline buttons the bot itself sends), remove a member,
  transfer leadership
- "Meine Einladungen": accept/decline invites addressed to you
- premades.manage lets admins manage any premade, not just their own,
  mirroring the bot's admin-only "Admin-Verwaltung" flow

New permissions premades.view/premades.manage (view granted to the
default Mitglied role on fresh installs; existing installs need to
add them manually, documented in README.md). Every mutation is
re-validated server-side against the current premade list (ownership,
one-premade-per-person, can't remove the lead, accept/decline only
for an invite that's actually pending for that user) since the UI's
button visibility alone isn't an authorization check.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-19 08:00:45 +02:00
Maaxxs
70f050dc19 Turn Archivieren/Wiederherstellen/Endgültig löschen into icon buttons
Replaces the three raid action text-buttons with icon-only buttons
(archive box, restore arrow, trash can) using the existing
icon-button style; the label now only shows as a native tooltip on
hover via the title attribute. The delete button gets a new
icon-button-danger modifier so it still reads as destructive (red on
hover) instead of the default gold.

Also fixes a pre-existing bug this surfaced: .icon-button:hover only
set color/border-color, so the global button:hover rule's gold
background bled through on hover for every icon-button on the site
(edit toggle, modal close, etc.), not just the new ones.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-19 07:51:56 +02:00
Maaxxs
26c94647e0 Give the raid edit form's Anforderungen field its own row
Moves it out of the 4-column grid into a full-width block below and
swaps the single-line input for a resizable 3-row textarea, so
there's actually room to write instead of scrolling a one-line field.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-19 07:49:15 +02:00
Maaxxs
b5fec1d3c7 Redesign raid group editor and keep editor mode open while dragging
Two changes to the raid editor (raids.php/raids.js):

- Moving a member via drag&drop no longer reloads the page. It now
  patches the DOM in place (moves the list item, updates each
  group's member count/empty-state, and adjusts the header's
  "X / Y angemeldet" badge when bench vs. a real group is involved),
  so the editor panel stays open and multiple members can be
  reshuffled without re-entering edit mode each time. The form's own
  "Speichern" still reloads on success, since that's the point where
  the edit is actually committed.
- Replaces the single comma-separated "Gruppennamen" text field and
  the separate "Gruppen sperren" checkbox grid with one row per
  group (name input + inline lock toggle + remove button), plus a
  "+ Gruppe hinzufügen" button to append a new row. Group names and
  locked_groups are now read from these rows on submit instead of
  parsing a comma-separated string.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-19 07:47:02 +02:00
Maaxxs
08db95f3a3 Replace Discord avatar sync with self-service profile picture upload
Drops the Discord-derived avatar entirely (discord_avatar,
discord_refresh_token, discord_avatar_synced_at and the background
refresh via OAuth refresh token) in favor of members uploading their
own picture. "Mein Profil" now shows a larger (120px) avatar with a
pencil button pinned to its top-right corner; picking a file uploads
it immediately. Uploads are validated by actual image content
(getimagesize, not the original filename/extension) and stored under
a randomly generated name in assets/uploads/avatars/, which ships
with its own .htaccess disabling script execution so a disguised
upload can never run as PHP. Falls back to the existing letter
placeholder when no picture is set.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-19 07:34:47 +02:00
Maaxxs
4eba8d1fef Add onerror fallback for avatars and show a large one on Mein Profil
The Discord CDN image is now paired with a hidden letter-placeholder
sibling; if the <img> fails to load (stale avatar hash, a tracking
blocker on cdn.discordapp.com, etc.) it swaps to the placeholder
instead of leaving a broken image icon. Also adds the same avatar,
at a larger size, next to the heading on the Mein Profil page.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-19 07:20:33 +02:00
Maaxxs
fa05cf3ef0 Add profile pictures: Discord avatar or a letter placeholder
Adds a discord_avatar column (captured from Discord's OAuth /users/@me
response and stored alongside discord_id/discord_username) and a new
avatar_html() helper: it renders the linked Discord avatar when one is
set, otherwise a circular placeholder with the display name's first
letter on a color picked deterministically per user from a palette
tuned for the dark/gold Lumina theme. Shown on the Startseite hero for
logged-in members and next to "Angemeldet als" in the sidebar footer.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-19 07:12:45 +02:00
Maaxxs
5f64c6fe75 Block moving members into locked groups in the raid editor
Drag&drop moves and the underlying raid_move_action.php had no idea
about locked_groups, so an admin could still drag a member into a
group that was explicitly locked. Locked drop zones are now flagged
in the markup, the frontend refuses the drag/drop, and the endpoint
rejects the move server-side as well.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-19 07:12:34 +02:00
Maaxxs
73b670a305 Block joining locked groups and fall back to the bench when none are open
The Wunschgruppe picker let members select a locked group, and the
signup endpoint didn't check locked_groups at all, so the wish could
still go through. Locked groups are now passed to the frontend and
rendered disabled with a lock icon, and the server rejects a locked
group the same way it already rejects a role-capped one. When every
group is locked (or the raid has none), the signup is now assigned
straight to the Ersatzbank instead of relying on the bot's own
auto-assign to skip locked groups.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-19 06:57:45 +02:00
Maaxxs
b839146219 Make Wunschgruppe chips equal width via grid instead of flex-wrap
group-picker used flex-wrap, so each chip sized to its own text and
rows looked uneven. Switching to a grid with auto-fit columns (same
approach as the class-picker) makes every chip the same width
regardless of label length, including custom group names.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-19 06:52:31 +02:00
Maaxxs
3f98fe342d Fix inconsistent class-picker box sizes and modernize signup modal
The class-picker-option buttons were shrinking to their text width
(width: fit-content from the global button rule) instead of filling
their equal-width grid cell, so each class box ended up a different
size. Pins them to 100% width and adds hover/selected transitions,
subtle elevation and a focus-visible outline to both the class and
group pickers for a more polished, consistent look.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-19 06:50:17 +02:00
Maaxxs
ae24579372 Trim dashboard stats and fix stat-card text overflow
Renames "Aktive Raids" to "Anstehende Raids", drops the redundant
"Meine Anmeldungen" tile, and lets stat-card labels wrap instead of
overflowing when a compound word like "Berechtigungsgruppen" is
wider than the card.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-19 06:44:30 +02:00
Maaxxs
6e879a67ed Normalize class icon artwork so all 8 look visually the same size
Fixing the container frame (previous commit) wasn't enough - the
source PNGs have different content-to-canvas ratios and aspect
ratios, so object-fit: contain still rendered each icon at a
different effective size within an identically-sized box.

Cropped each icon to its actual non-transparent bounding box, then
centered it on a uniform 64x64 canvas at a consistent max content
size (46px). class_icon_url() now points at these normalized copies;
originals are untouched. Applies everywhere the function is used
(signup picker and raid member lists), verified via screenshot.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-18 19:03:04 +02:00
Maaxxs
a9d1e8deef Give every class icon a uniform frame in the signup picker
The source class icons vary slightly in shape/contrast, which made
the picker boxes look inconsistent even at identical CSS dimensions.
Each icon now sits inside a fixed 44x44 frame (object-fit: contain)
with its own background, and the button gets a min-height so all 8
options are pixel-identical regardless of label length or icon art.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-18 18:56:42 +02:00
Maaxxs
5c28cb5735 Fix signup modal showing on load and switch group picker to buttons
.modal-overlay set display:flex unconditionally, which beats the
browser's default [hidden] { display: none } since author styles
always win over the UA stylesheet - so the popup was visible on every
page load regardless of the hidden attribute. Now display is none by
default and only :not([hidden]) switches to flex.

Also: class picker was auto-fill grid producing an uneven 3/3/2 layout
for 8 classes - now a fixed 4x2 grid (2x4 on narrow screens). Group
selection is no longer a <select>, but the same pill-button pattern as
the class picker (Automatisch/group names/Ersatzbank), built by JS to
match the class picker's look.

Verified via screenshots: modal closed by default, opens only via
button click, uniform icon grid, group pills render and highlight
correctly.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-18 18:46:17 +02:00
Maaxxs
fea0cc3a91 Overhaul raid signup/management to match the Discord bot's full feature set
Signup is now a single "Anmelden" button that opens a class-icon
picker + optional group choice. A new raid_wish_is_sensible() mirrors
the bot's exact role-cap algorithm (Tank/Heal 1, DPS 3 per 5-player
group, ROLE_MAPPING copied from teamplaner.py) to decide server-side
whether the requested group is honored or the request falls back to
the bot's own auto-assignment - with a message telling the member to
ping the raid lead if they wanted something specific. Verified the
cap logic with 7 synthetic cases (own-signup exclusion, full group,
role caps, bench always allowed) before wiring it up.

Admins get a per-raid edit-mode toggle (pencil icon) that reveals:
inline raid editing (title/date/requirements/gearscore/groups/slots/
group locks) via PATCH, a premade-invite mini-form via the new
premades endpoint, and native HTML5 drag-and-drop to move a signup
between groups/bench via PATCH .../signup/{user_id}.

New pieces: includes/raids_api.php gained move_signup(), update_raid(),
invite_premade(), fetch_premades(), fetch_raid_by_id() and the wish-
sensibility check; four new JSON action endpoints (raid_signup_action,
raid_move_action, raid_edit_action, raid_premade_invite_action) reusing
the session CSRF token via a new verify_csrf_token()/read_json_body()/
json_response() trio in functions.php; assets/js/raids.js drives the
modal, edit-mode, and drag-and-drop with plain fetch() (no framework).

Read-heavy parts (page render, class icons, signup-wish logic) verified
against real data/live API. Edit, move and premade-invite are NOT
tested against the live API yet since they'd mutate the real raid or
send real Discord DMs to guild members - flagging this for a
supervised live check before considering it fully verified.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-18 18:36:04 +02:00
Maaxxs
ba8c1bccac Make panels translucent so the page backgrounds show through
.panel now uses a semi-transparent dark background with a backdrop
blur (frosted-glass look) instead of a solid color, and the dark
overlay gradient behind each page's background image is lighter.
First pass was barely noticeable (heavy overlay on top of a
still-fairly-opaque panel); verified visually and iterated until the
landscape art is clearly visible while text stays fully readable.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-18 18:21:07 +02:00
Maaxxs
e6f170deff Add per-page background images from the Landscapes artwork
Dashboard, Mein Profil, Raids and the admin pages (Benutzerverwaltung/
Berechtigungsgruppen) each get a distinct backdrop behind the panels,
via a page->background map in header.php and a dark gradient overlay
so text stays readable. Raids uses the darkest/most dramatic image as
requested.

Generated compressed 1920px-wide JPEG copies under Landscapes/web/
for actual use on the page - the original PNGs were up to 11.7MB
(landscape4), which would have made every page load painfully slow.
Originals are kept untouched alongside them.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-18 18:16:37 +02:00
Maaxxs
f2478f37b7 Give the Discord card a stronger brand-color treatment
Full blurple border plus a subtle gradient tint instead of just a
thin left accent, and the "Discord" heading now uses the brand color
too.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-18 18:09:56 +02:00
Maaxxs
be8373529a Redesign the profile page: side-by-side fields and a proper Discord card
Anzeigename and Passwort ändern now sit in a two-column grid (stacks
on narrow screens). The Discord section gets its own bordered card
with the official Discord mark (inline SVG, brand blurple accent) and
a clear Verbunden/Nicht verbunden status badge, replacing the plain
generic panel. Verified both connection states with a rendered
screenshot.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-18 18:07:12 +02:00
Maaxxs
706cf97d64 Add a "Mein Profil" page and align raids with the real bot logic
- New profile.php (display name, password, Discord link/unlink),
  reachable from the sidebar; removed the duplicate Discord section
  from the dashboard.
- Corrected class names/icon mapping to match the actual bot config
  (Beschwörer, Kantor) instead of the guessed German terms used
  earlier.
- raids.php now understands the bot's full group model: group 0 is
  the bench ("Ersatzbank"), -1 is a decline ("Abgemeldet"), and class
  "Ausstehend" marks a pending premade invite (now shown with an
  hourglass instead of being silently dropped or mis-rendered). The
  "X / max" counter matches the bot's own active-count logic (pending
  invites don't count). Signup form also lets a member choose the
  bench explicitly.
- A few more inline icons (profile, list) for general visual polish.

Verified grouping/active-count/icon logic with synthetic bench/
declined/pending signups, and the real raids.php flow (profile
update, sidebar nav) against a local DB plus the live raids API.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-18 13:49:41 +02:00
Maaxxs
8c703f0e1f Add Discord account linking and raid signup/management from the website
- Class name on raid signups now shows only as an icon tooltip instead
  of trailing text (falls back to text when no icon matches).
- Discord OAuth2 linking (discord_login.php/discord_callback.php,
  includes/discord.php): members connect their Discord account from
  the dashboard, storing discord_id/discord_username so raid signups
  can be attributed to their real Discord identity. Needs a Discord
  application's client_id/client_secret in config.php.
- raids.php gets self-service signup/withdraw controls (class + group
  picker, upsert semantics) for members with a linked Discord account,
  plus archive/restore controls gated behind a new raids.manage
  permission. New action scripts raid_signup.php, raid_unsignup.php,
  raid_archive.php, raid_restore.php call the corresponding
  includes/raids_api.php functions.
- Archive/restore already work today (verified live against the bot's
  API - archived and restored the one active raid, signups intact).
  Signup/withdraw are fully wired on the website side but need two new
  bot-side endpoints (POST .../signup, DELETE .../signup/{user_id})
  that don't exist yet - contract documented in the README.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-18 13:25:41 +02:00
Maaxxs
9a278678cb Remove bullet points from raid signup lists and enlarge class icons
Signup <li> items now use flex layout with list-style: none instead
of a bulleted list, and class icons grow from 18px to 28px so they're
easier to recognize at a glance.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-18 13:08:27 +02:00
Maaxxs
9ac5a7c97e Map Templar/Templer to the new class icon
Completes the class icon set now that Templar_ICO.png was added.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-18 13:05:48 +02:00
Maaxxs
2a73e0e473 Show class icons next to raid signups
Maps the class names the raid bot returns (a mix of English icon
filenames and German in-game terms like "Magier"/"Jäger") to the icon
files under assets/images/Classes via class_icon_url(), case- and
whitespace-insensitive. Classes without a matching file (e.g.
"Templer", or the "Ausstehend" placeholder) just keep the plain text
label instead of showing a broken image. Verified against live signup
data from the API.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-18 13:02:35 +02:00
Maaxxs
4df0149f8b Add active/archived/all filter tabs to the Raids page
Uses the bot's new ?status= query param on /api/raids. fetch_raids()
takes a status argument (whitelisted against active/archived/all,
falls back to active on anything else) and appends it to the request
URL. Archived raids get a dimmed card style and an "Archiviert" badge
using the new archived/archived_at fields. Verified all three filters
end-to-end against the live API.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-18 12:59:01 +02:00
Maaxxs
620ef68015 Add a Raids page fed by the guild's external raids API
New raids.php shows upcoming raids (date, requirements, gearscore,
groups and their signups) pulled from https://api.maaxxs-coding.de/api/raids
via includes/raids_api.php (cURL + X-API-Key header), gated behind a
new raids.view permission so it fits the existing permission-group
model. Fresh installs seed raids.view onto Mitglied automatically;
existing installs need to add it once via the Berechtigungsgruppen UI
(documented in the README). API/network failures show a friendly
error instead of crashing the page.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-18 12:44:17 +02:00
Maaxxs
00e52f2308 Replace the "Aion2 Gilde" text brand with the guild logo image
Swaps the text link in the sidebar and the logged-out top bar for
the logo at assets/images/logo.png, sized via CSS (56px in the
sidebar, 40px in the top bar, 32px on the collapsed mobile bar).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-18 07:19:47 +02:00
Maaxxs
77bb1b3ff5 Use real German umlauts instead of ASCII transliterations
Every "oe/ae/ue" spelling throughout the UI text and comments (fuer,
loeschen, koennen, ...) was my own typo, not an encoding bug - the
charset fix in the last commit was unrelated. Replaced all of them
with proper ö/ä/ü across every PHP file and the README.

Also fix table rows rendering inconsistently: `.actions` and the
status badges were applying `display:flex` directly to a <td>, which
fights the table layout model and renders unreliably across browsers.
Moved the flex layout into a wrapper <div> inside each cell instead,
and restyled row-level delete buttons as plain text links so they
match the height of the "Bearbeiten" link exactly. Tables also get a
horizontal-scroll wrapper so narrow viewports scroll instead of
squeezing cell content.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-18 07:16:15 +02:00
Maaxxs
3c72d0ed7e Force UTF-8 output and switch the palette to neutral gray
Explicitly set the Content-Type charset (PHP's default_charset can be
overridden by the host, which breaks oe/ae/ue even though the meta
tag says UTF-8) and add matching .htaccess/schema collation. Verified
end-to-end that umlauts round-trip correctly through the DB and render
correctly in the browser. Also replaced the dark blue-tinted palette
with true neutral grays; the gold accent stays.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-18 06:58:53 +02:00
Maaxxs
5811019908 Redesign the logged-in area with a left icon sidebar layout
Replaces the top navbar with a fixed vertical sidebar (brand, nav
links with inline SVG icons, active-link highlighting, user info and
logout pinned to the bottom) for a more modern dashboard feel. Public
pages (login, install, logged-out landing) keep the simple top bar.
Collapses to an icon-only horizontal bar under 860px since there's no
JS toggle. Dashboard quick-links get matching icon badges.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-18 06:52:19 +02:00
Maaxxs
e57fa0b73c Flatten structure so webroot is the project root instead of public/
Simplifies Plesk/shared-hosting deployment (no need to set a separate
document root subfolder). config.php, includes/ and sql/ are now
protected via .htaccess rules instead of living outside the webroot.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-18 06:06:56 +02:00