1
0
Fork 0

More minor fixes

This commit is contained in:
sloum 2023-12-21 15:47:29 -08:00
parent 9f12fad184
commit a8e61d5adb
3 changed files with 7 additions and 7 deletions

View File

@ -46,8 +46,8 @@
<h1>Website Admin</h1>
<ul class="inline">
<li><a href="/">View Site</a></li>
<li><a href="/admin.php">Admin Home</a></li>
<li><a href="/logout.php" class="logout">Log Out</a></li>
<li><a href="admin.php">Admin Home</a></li>
<li><a href="logout.php" class="logout">Log Out</a></li>
</ul>
</header>
<main>
@ -57,7 +57,7 @@
<p>There was a server error preventing your update from succeeding. Please check with your server admin to resolve the issue.</p>
</div>
<?php elseif ( $post_success === "1" ): ?>
<p><a href="/post.php?f=<?php echo $files[0]; ?>">New post</a> successfully added!</p>
<p><a href="post.php?f=<?php echo $files[0]; ?>">New post</a> successfully added!</p>
<?php elseif ( $post_success === "2" ): ?>
<p>Updated successfully!</p>
<?php elseif ( $post_success === "3" ): ?>

View File

@ -60,7 +60,7 @@
header ul.inline li::after{content:'' !important}
.post-list tbody tr:nth-child(odd){background-color: #DDD}
td{padding-left:1em}
details {border: 1px solid #aaa;padding: 0.5em 0.5em 0}
details {border: 1px solid #aaa;padding: 0.5em 0.5em 0;margin-top:3em}
summary {font-weight: bold;margin: -0.5em -0.5em 0;padding: 0.5em}
details[open]{padding-bottom:1em;background:#F7F7F7}
details[open] summary {border-bottom: 1px solid #aaa;margin-bottom: 0.5em;background:#333;color:#DDD}
@ -73,8 +73,8 @@
<h1>Website Admin</h1>
<ul class="inline">
<li><a href="/">View Site</a></li>
<li><a href="/admin.php">Admin Home</a></li>
<li><a href="/logout.php">Log Out</a></li>
<li><a href="admin.php">Admin Home</a></li>
<li><a href="logout.php">Log Out</a></li>
</ul>
</header>
<main>

View File

@ -30,7 +30,7 @@
<?php
echo TOP_BLURB;
if ( count( $files ) > 0 ) {
echo "<ul>";
echo '<ul class="post-list">';
foreach( $files as $f ) {
$date = SHOW_DATES ? '<span class="post-date">' . split_filename( $f )["time"] . '</span>' : "";
$link = make_post_link( $f );