mirror of
https://git.sr.ht/~iwakuralain/text0Nly
synced 2025-07-27 15:36:11 +00:00
updated index btw
This commit is contained in:
parent
545df04525
commit
f1713ad9a8
@ -81,6 +81,7 @@ try {
|
|||||||
<div class="header">
|
<div class="header">
|
||||||
<h1>Text0Nly</h1>
|
<h1>Text0Nly</h1>
|
||||||
<div class="header-buttons">
|
<div class="header-buttons">
|
||||||
|
<a href="https://git.sr.ht/~iwakuralain/text0Nly" target="_blank" class="source-btn">Source code</a>
|
||||||
<?php if (isset($_SESSION['username'])): ?>
|
<?php if (isset($_SESSION['username'])): ?>
|
||||||
<span>👤 <?= htmlspecialchars($_SESSION['username']) ?><?php if (!empty($_SESSION['is_moderator'])) echo ' (mod)'; ?></span>
|
<span>👤 <?= htmlspecialchars($_SESSION['username']) ?><?php if (!empty($_SESSION['is_moderator'])) echo ' (mod)'; ?></span>
|
||||||
<a href="?logout=1">Logout</a>
|
<a href="?logout=1">Logout</a>
|
||||||
|
@ -36,6 +36,18 @@ body {
|
|||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.source-btn {
|
||||||
|
background: #222;
|
||||||
|
color: #fff !important;
|
||||||
|
padding: 4px 12px;
|
||||||
|
border-radius: 4px;
|
||||||
|
text-decoration: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.source-btn:hover {
|
||||||
|
background: #444;
|
||||||
|
}
|
||||||
|
|
||||||
.messages-container {
|
.messages-container {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
margin-bottom: 18px;
|
margin-bottom: 18px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user