docs: consolidate documentation into organized structure

- Move 12 markdown files from root to docs/ subdirectories
- Organize documentation by category:
  • docs/troubleshooting/ (1 file)  - Technical troubleshooting guides
  • docs/deployment/      (4 files) - Deployment and security documentation
  • docs/guides/          (3 files) - Feature-specific guides
  • docs/planning/        (4 files) - Planning and improvement proposals

Root directory cleanup:
- Reduced from 16 to 4 markdown files in root
- Only essential project files remain:
  • CLAUDE.md (AI instructions)
  • README.md (Main project readme)
  • CLEANUP_PLAN.md (Current cleanup plan)
  • SRC_STRUCTURE_IMPROVEMENTS.md (Structure improvements)

This improves:
 Documentation discoverability
 Logical organization by purpose
 Clean root directory
 Better maintainability
This commit is contained in:
2025-10-05 11:05:04 +02:00
parent 887847dde6
commit 5050c7d73a
36686 changed files with 196456 additions and 12398919 deletions

View File

@@ -1,21 +1,62 @@
<layout src="admin-main"/>
<layout name="layouts/admin" />
<for var="slot" in="slots">
<div class="section">
<h2>{{ title }}</h2>
<form action='/admin/imageslots/{{ slot.slotName }}' method='post'>
<div class="admin-card">
<div class="admin-card__header">
<h3 class="admin-card__title">Existing Image Slots</h3>
</div>
<div class="admin-card__content">
<if condition="slots">
<div class="admin-table-wrapper">
<table class="admin-table">
<thead>
<tr>
<th>Slot Name</th>
<th>Current Image</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
<for var="slot" in="slots">
<tr>
<td>{{ slot.slotName }}</td>
<td>
<if condition="slot.image">
{{ slot.image.filename }}
<else/>
<span style="color: var(--muted);">No image assigned</span>
</if>
</td>
<td class="admin-table__actions">
<form action="/admin/content/image-slots/{{ slot.slotName }}" method="post" style="display: inline;">
<button type="submit" class="admin-table__action">Edit</button>
</form>
</td>
</tr>
</for>
</tbody>
</table>
</div>
<else/>
<p style="color: var(--muted); text-align: center; padding: var(--space-lg);">No image slots created yet.</p>
</if>
</div>
</div>
<h3>{{ slot.slotName }}</h3>
<input type='submit' value='Update'/>
</form>
</for>
<form action='/admin/imageslots/create' method='post'>
<label>Slot Name:
<input type='text' name='slotName' value=''/>
</label>
<input type='submit' value='Create'/>
</form>
<div class="admin-card" style="margin-top: var(--space-lg);">
<div class="admin-card__header">
<h3 class="admin-card__title">Create New Image Slot</h3>
</div>
<div class="admin-card__content">
<form action="/admin/imageslots/create" method="post">
<div style="margin-bottom: var(--space-md);">
<label for="slotName" style="display: block; margin-bottom: var(--space-sm); font-weight: 500;">Slot Name:</label>
<input type="text" id="slotName" name="slotName" class="admin-input" placeholder="Enter slot name..." required />
</div>
<button type="submit" class="admin-button">Create Image Slot</button>
</form>
</div>
</div>
</div>