- Create SQL migration for prompt templates used in article and image generation. - Add migration to change publish interval from days to hours in the sites table. - Implement InstallerController to handle installation requests and validation. - Develop FtpService for FTP connections and file uploads. - Create InstallerService to manage the WordPress installation process, including downloading, extracting, and configuring WordPress. - Add index view for the installer with form inputs for FTP, database, and WordPress admin settings. - Implement progress tracking for the installation process with AJAX polling.
44 lines
1.8 KiB
PHP
44 lines
1.8 KiB
PHP
<nav class="sidebar bg-dark text-white d-flex flex-column" 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>
|
|
</div>
|
|
<ul class="nav flex-column p-2 flex-grow-1">
|
|
<li class="nav-item">
|
|
<a class="nav-link text-white" href="/">
|
|
<i class="bi bi-speedometer2 me-2"></i>Dashboard
|
|
</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link text-white" href="/sites">
|
|
<i class="bi bi-wordpress me-2"></i>Strony
|
|
</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link text-white" href="/global-topics">
|
|
<i class="bi bi-bookmarks me-2"></i>Tematy
|
|
</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link text-white" href="/articles">
|
|
<i class="bi bi-file-earmark-text me-2"></i>Artykuły
|
|
</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link text-white" href="/installer">
|
|
<i class="bi bi-cloud-upload me-2"></i>Instalator WP
|
|
</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link text-white" href="/settings">
|
|
<i class="bi bi-gear me-2"></i>Ustawienia
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
<div class="p-3 border-top border-secondary">
|
|
<small class="text-secondary">Zalogowano jako:</small><br>
|
|
<span class="text-white"><?= htmlspecialchars(\App\Core\Auth::user()['username'] ?? '') ?></span>
|
|
<a href="/change-password" class="d-block text-secondary small mt-1"><i class="bi bi-key me-1"></i>Zmień hasło</a>
|
|
</div>
|
|
</nav>
|