Add BackPRO News theme and update database schema for article tracking

- Introduced a new WordPress theme "BackPRO News" with a lightweight magazine-style design.
- Added columns for tracking retry attempts and timestamps for unpublished/generated articles in the articles table.
- Included remote service metadata fields in the sites table for better management.
- Created log files for image replacements, installer actions, OpenAI article generation, and publishing processes.
- Implemented a dashboard template for site management, including permalink settings and theme installation options.
This commit is contained in:
2026-02-17 20:08:02 +01:00
parent b653cea252
commit 4d5e220b3c
41 changed files with 4229 additions and 239 deletions

View File

@@ -1,8 +1,8 @@
<header class="bg-white border-bottom p-3 d-flex justify-content-between align-items-center">
<div></div>
<div class="d-flex align-items-center gap-3">
<form method="post" action="/publish/run" class="d-inline">
<button type="submit" class="btn btn-sm btn-success" onclick="return confirm('Uruchomić publikację teraz?')">
<form method="post" action="/publish/run" class="d-inline" data-confirm="Uruchomic publikacje teraz?">
<button type="submit" class="btn btn-sm btn-success">
<i class="bi bi-play-circle me-1"></i>Publikuj teraz
</button>
</form>
@@ -11,3 +11,4 @@
</a>
</div>
</header>

View File

@@ -12,7 +12,7 @@
<?php if (\App\Core\Auth::check()): ?>
<div class="d-flex">
<?php require __DIR__ . '/sidebar.php'; ?>
<div class="flex-grow-1">
<div class="flex-grow-1 content-area">
<?php require __DIR__ . '/header.php'; ?>
<main class="p-4">
<?php if (!empty($flashMessages)): ?>

View File

@@ -1,4 +1,4 @@
<nav class="sidebar bg-dark text-white d-flex flex-column" style="width: 250px; min-height: 100vh;">
<nav class="sidebar bg-dark text-white d-flex flex-column flex-shrink-0" style="width: 250px; min-height: 100vh;">
<div class="p-3 border-bottom border-secondary">
<h5 class="mb-0"><i class="bi bi-globe2"></i> BackPRO</h5>
<small class="text-secondary">Zarządzanie Zapleczem SEO</small>