ajout et réorganisation de qqs boutons
This commit is contained in:
parent
1fa578e312
commit
eb080f3ce5
@ -49,6 +49,7 @@ $stories = Stories::getAll();
|
||||
<span>Administration</span>
|
||||
</div>
|
||||
<div class="nav-menu">
|
||||
<a href="../index.php" target="_blank" class="button">Visiter le site</a>
|
||||
<a href="profile.php" class="button">Profil</a>
|
||||
<a href="story-edit.php" class="button">Nouveau roman</a>
|
||||
<a href="options.php" class="button">Options</a>
|
||||
|
@ -11,6 +11,7 @@
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
overflow-wrap: break-word;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
/* Titres */
|
||||
|
@ -108,6 +108,7 @@ body {
|
||||
position: absolute;
|
||||
top: var(--spacing-md);
|
||||
right: var(--spacing-md);
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.about-button {
|
||||
|
@ -72,6 +72,10 @@ $config = Config::load();
|
||||
<?php if (!empty($currentChapter['cover'])): ?>
|
||||
<div class="novel-header-background" style="background-image: url('<?= htmlspecialchars($currentChapter['cover']) ?>');"></div>
|
||||
<?php endif; ?>
|
||||
<div class="header-actions">
|
||||
<a href="index.php" class="about-button">Accueil</a>
|
||||
<a href="roman.php?id=<?= urlencode($storyId) ?>" class="about-button">Roman</a>
|
||||
</div>
|
||||
<h1><?= htmlspecialchars($currentChapter['title']) ?></h1>
|
||||
</header>
|
||||
|
||||
@ -119,11 +123,6 @@ $config = Config::load();
|
||||
</aside>
|
||||
</div>
|
||||
|
||||
<div class="back-to-home">
|
||||
<a href="index.php">← Retour à l'accueil</a> |
|
||||
<a href="roman.php?id=<?= urlencode($storyId) ?>">← Retour au roman</a>
|
||||
</div>
|
||||
|
||||
<button class="scroll-top" aria-label="Retour en haut de page">↑</button>
|
||||
|
||||
<script>
|
||||
|
@ -41,6 +41,9 @@ $config = Config::load();
|
||||
<?php if (!empty($story['cover'])): ?>
|
||||
<div class="novel-header-background" style="background-image: url('<?= htmlspecialchars($story['cover']) ?>');"></div>
|
||||
<?php endif; ?>
|
||||
<div class="header-actions">
|
||||
<a href="index.php" class="about-button">Accueil</a>
|
||||
</div>
|
||||
<h1><?= htmlspecialchars($story['title']) ?></h1>
|
||||
</header>
|
||||
|
||||
@ -74,12 +77,6 @@ $config = Config::load();
|
||||
</aside>
|
||||
</div>
|
||||
|
||||
<?php if (!empty($config['site']['name'])): ?>
|
||||
<div class="back-to-home">
|
||||
<a href="index.php">← Retour à l'accueil</a>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<button class="scroll-top" aria-label="Retour en haut de page">↑</button>
|
||||
|
||||
<script>
|
||||
|
Loading…
x
Reference in New Issue
Block a user