More minor fixes
This commit is contained in:
parent
9f12fad184
commit
a8e61d5adb
|
@ -46,8 +46,8 @@
|
||||||
<h1>Website Admin</h1>
|
<h1>Website Admin</h1>
|
||||||
<ul class="inline">
|
<ul class="inline">
|
||||||
<li><a href="/">View Site</a></li>
|
<li><a href="/">View Site</a></li>
|
||||||
<li><a href="/admin.php">Admin Home</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="logout.php" class="logout">Log Out</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</header>
|
</header>
|
||||||
<main>
|
<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>
|
<p>There was a server error preventing your update from succeeding. Please check with your server admin to resolve the issue.</p>
|
||||||
</div>
|
</div>
|
||||||
<?php elseif ( $post_success === "1" ): ?>
|
<?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" ): ?>
|
<?php elseif ( $post_success === "2" ): ?>
|
||||||
<p>Updated successfully!</p>
|
<p>Updated successfully!</p>
|
||||||
<?php elseif ( $post_success === "3" ): ?>
|
<?php elseif ( $post_success === "3" ): ?>
|
||||||
|
|
6
edit.php
6
edit.php
|
@ -60,7 +60,7 @@
|
||||||
header ul.inline li::after{content:'' !important}
|
header ul.inline li::after{content:'' !important}
|
||||||
.post-list tbody tr:nth-child(odd){background-color: #DDD}
|
.post-list tbody tr:nth-child(odd){background-color: #DDD}
|
||||||
td{padding-left:1em}
|
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}
|
summary {font-weight: bold;margin: -0.5em -0.5em 0;padding: 0.5em}
|
||||||
details[open]{padding-bottom:1em;background:#F7F7F7}
|
details[open]{padding-bottom:1em;background:#F7F7F7}
|
||||||
details[open] summary {border-bottom: 1px solid #aaa;margin-bottom: 0.5em;background:#333;color:#DDD}
|
details[open] summary {border-bottom: 1px solid #aaa;margin-bottom: 0.5em;background:#333;color:#DDD}
|
||||||
|
@ -73,8 +73,8 @@
|
||||||
<h1>Website Admin</h1>
|
<h1>Website Admin</h1>
|
||||||
<ul class="inline">
|
<ul class="inline">
|
||||||
<li><a href="/">View Site</a></li>
|
<li><a href="/">View Site</a></li>
|
||||||
<li><a href="/admin.php">Admin Home</a></li>
|
<li><a href="admin.php">Admin Home</a></li>
|
||||||
<li><a href="/logout.php">Log Out</a></li>
|
<li><a href="logout.php">Log Out</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</header>
|
</header>
|
||||||
<main>
|
<main>
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
<?php
|
<?php
|
||||||
echo TOP_BLURB;
|
echo TOP_BLURB;
|
||||||
if ( count( $files ) > 0 ) {
|
if ( count( $files ) > 0 ) {
|
||||||
echo "<ul>";
|
echo '<ul class="post-list">';
|
||||||
foreach( $files as $f ) {
|
foreach( $files as $f ) {
|
||||||
$date = SHOW_DATES ? '<span class="post-date">' . split_filename( $f )["time"] . '</span>' : "";
|
$date = SHOW_DATES ? '<span class="post-date">' . split_filename( $f )["time"] . '</span>' : "";
|
||||||
$link = make_post_link( $f );
|
$link = make_post_link( $f );
|
||||||
|
|
Loading…
Reference in New Issue