Re-arranged styles and templates some more.
This commit is contained in:
@@ -3,11 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>{{ bulletin.subject }} - PacketServer</title>
|
<title>{{ bulletin.subject }} - PacketServer</title>
|
||||||
<style>
|
<link rel="stylesheet" href="{{ url_for('static', path='/css/style.css') }}">
|
||||||
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>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>{{ bulletin.subject }}</h1>
|
<h1>{{ bulletin.subject }}</h1>
|
||||||
|
|||||||
@@ -3,14 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>Bulletins - PacketServer</title>
|
<title>Bulletins - PacketServer</title>
|
||||||
<style>
|
<link rel="stylesheet" href="{{ url_for('static', path='/css/style.css') }}">
|
||||||
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>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>Bulletins</h1>
|
<h1>Bulletins</h1>
|
||||||
@@ -28,6 +21,7 @@
|
|||||||
<strong><a href="/bulletins/{{ bull.id }}">{{ bull.subject }}</a></strong>
|
<strong><a href="/bulletins/{{ bull.id }}">{{ bull.subject }}</a></strong>
|
||||||
<div class="meta">by {{ bull.author }} on {{ bull.created_at[:10] }}</div>
|
<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>
|
<div class="preview">{{ bull.body[:200] }}{% if bull.body|length > 200 %}...{% endif %}</div>
|
||||||
|
<hr>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
@@ -3,16 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>New Bulletin - PacketServer</title>
|
<title>New Bulletin - PacketServer</title>
|
||||||
<style>
|
<link rel="stylesheet" href="{{ url_for('static', path='/css/style.css') }}">
|
||||||
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>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>Create New Bulletin</h1>
|
<h1>Create New Bulletin</h1>
|
||||||
|
|||||||
Reference in New Issue
Block a user