Re-arranged styles and templates some more.

This commit is contained in:
Michael Woods
2025-12-24 20:21:16 -05:00
parent e85e676057
commit 2eb43ebcd1
3 changed files with 4 additions and 23 deletions

View File

@@ -3,11 +3,7 @@
<head>
<meta charset="UTF-8">
<title>{{ bulletin.subject }} - PacketServer</title>
<style>
body { font-family: Arial, sans-serif; max-width: 800px; margin: 2em auto; padding: 1em; background: #f9f9f9; }
pre { background: white; padding: 1em; border-radius: 8px; white-space: pre-wrap; }
.meta { color: #666; }
</style>
<link rel="stylesheet" href="{{ url_for('static', path='/css/style.css') }}">
</head>
<body>
<h1>{{ bulletin.subject }}</h1>

View File

@@ -3,14 +3,7 @@
<head>
<meta charset="UTF-8">
<title>Bulletins - PacketServer</title>
<style>
body { font-family: Arial, sans-serif; max-width: 900px; margin: 2em auto; padding: 1em; background: #f9f9f9; }
h1 { text-align: center; }
ul { list-style: none; padding: 0; }
li { background: white; margin: 1em 0; padding: 1em; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.meta { color: #666; font-size: 0.9em; }
.preview { margin-top: 0.5em; }
</style>
<link rel="stylesheet" href="{{ url_for('static', path='/css/style.css') }}">
</head>
<body>
<h1>Bulletins</h1>
@@ -28,6 +21,7 @@
<strong><a href="/bulletins/{{ bull.id }}">{{ bull.subject }}</a></strong>
<div class="meta">by {{ bull.author }} on {{ bull.created_at[:10] }}</div>
<div class="preview">{{ bull.body[:200] }}{% if bull.body|length > 200 %}...{% endif %}</div>
<hr>
</li>
{% endfor %}
</ul>

View File

@@ -3,16 +3,7 @@
<head>
<meta charset="UTF-8">
<title>New Bulletin - PacketServer</title>
<style>
body { font-family: Arial, sans-serif; max-width: 800px; margin: 2em auto; padding: 1em; background: #f9f9f9; }
h1 { text-align: center; }
.error { color: #721c24; background: #f8d7da; padding: 1em; border-radius: 5px; margin-bottom: 1em; }
label { display: block; margin: 1em 0 0.5em; font-weight: bold; }
input[type="text"], textarea { width: 100%; padding: 0.8em; box-sizing: border-box; font-family: monospace; }
textarea { height: 300px; }
button { margin-top: 1em; padding: 0.8em 1.5em; background: #007bff; color: white; border: none; cursor: pointer; }
button:hover { background: #0056b3; }
</style>
<link rel="stylesheet" href="{{ url_for('static', path='/css/style.css') }}">
</head>
<body>
<h1>Create New Bulletin</h1>