From b1481c1eff47820d04ba5c8c8fa27b8091215e96 Mon Sep 17 00:00:00 2001 From: russellballestrini Date: Tue, 11 Jul 2017 16:54:31 -0400 Subject: [PATCH] I think this theme is really close to being good enough modified: remarkbox_theme_meta/static/theme/meta/css/diff.css modified: remarkbox_theme_meta/templates/meta-base.j2 --- .../static/theme/meta/css/diff.css | 41 +++++++++++++++++++ remarkbox_theme_meta/templates/meta-base.j2 | 14 +++++-- 2 files changed, 51 insertions(+), 4 deletions(-) diff --git a/remarkbox_theme_meta/static/theme/meta/css/diff.css b/remarkbox_theme_meta/static/theme/meta/css/diff.css index 4da3524..30e83ca 100644 --- a/remarkbox_theme_meta/static/theme/meta/css/diff.css +++ b/remarkbox_theme_meta/static/theme/meta/css/diff.css @@ -68,3 +68,44 @@ input { padding-left: 60px; padding-top: 5px; } + + +ol, ul { + padding-left: 40px; +} + +ul { + list-style: outside; +} + +/* alerts */ +#alerts { + width: 36%; + margin: auto; + right: 50%; + margin-right: -18%; + position: fixed; + z-index: 100; +} + +.close { + margin-left: 10px; + float: left; +} + +.alert { + text-align: center; + color: #ffffff; + font-weight: bold; + border-radius: 6px; + margin-bottom: 6px; + padding: 6px; +} + +.alert-warning, .alert-error { + background-color: #CB0003; +} + +.alert-success, .alert-notice { + background-color: #517DA4; +} diff --git a/remarkbox_theme_meta/templates/meta-base.j2 b/remarkbox_theme_meta/templates/meta-base.j2 index bab0af2..1d7bc30 100644 --- a/remarkbox_theme_meta/templates/meta-base.j2 +++ b/remarkbox_theme_meta/templates/meta-base.j2 @@ -31,8 +31,13 @@ FAQ About Demo - Log in - Join + {%- if request.user %} + {{ request.user.name }} + Log out + {%- else %} + Log in + Join + {%- endif %} @@ -45,9 +50,9 @@ {%- block menu %} home | new thread | - + {%- if request.user %} - {{request.user.name}} [log out] + {{ request.user.name }} [log out] {% else %} join-or-log-in {%- endif %} @@ -62,6 +67,7 @@


+