Admin: add edit page (GET/POST), live preview; list shows Edit button; inject page title + watermark on public pages; clean header (only one logout); alignment via flex; add Dockerfile and docker-compose.yml; add gunicorn
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
box-shadow: 0 10px 30px rgba(0,0,0,.35);
|
||||
}
|
||||
|
||||
header nav { position: absolute; top: 14px; right: 18px; }
|
||||
header nav { }
|
||||
|
||||
.card {
|
||||
background: var(--card);
|
||||
@@ -92,9 +92,11 @@
|
||||
header nav form button.btn { position: relative; }
|
||||
header nav form button.btn::after { content: 'Выйти'; }
|
||||
|
||||
.watermark { position: fixed; bottom: 14px; right: 16px; z-index: 1000;
|
||||
font-family: 'Pacifico', cursive; font-size: 20px; color: rgba(255,255,255,.85);
|
||||
text-shadow: 0 2px 8px rgba(0,0,0,.35); user-select: none; pointer-events: none; }
|
||||
/* Hide Admin link in header (we use page overlay on published pages) */
|
||||
header nav a[href*="/admin"] { display: none !important; }
|
||||
/* Force readable label for logout button regardless of encoding */
|
||||
header nav form button.btn { font-size: 0; }
|
||||
header nav form button.btn::after { content: 'Выйти'; font-size: 14px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
@@ -123,6 +125,5 @@
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="watermark">Made by Ruslan</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user