From c835e9ab32fa837405446d927e3193512a040199 Mon Sep 17 00:00:00 2001 From: Noah Petherbridge Date: Wed, 9 Apr 2014 22:09:48 -0700 Subject: [PATCH] Add logged-in links --- rophako/www/layout.html | 9 ++++++++- rophako/www/smoke/style.css | 6 +++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/rophako/www/layout.html b/rophako/www/layout.html index b433848..981baf6 100644 --- a/rophako/www/layout.html +++ b/rophako/www/layout.html @@ -24,7 +24,14 @@
  • :: Site Admin
  • {% if session["login"] %} -
  • Log out
  • + {% if session["role"] == "admin" %} +
  • Admin Center
  • + {% endif %} +
  • Update Blog
  • + {% if "impersonator" in session %} +
  • Unimpersonate + {% endif %} +
  • Log out {{ session["username"] }}
  • {% else %}
  • Log in
  • {% endif %} diff --git a/rophako/www/smoke/style.css b/rophako/www/smoke/style.css index bc347ba..216c92f 100644 --- a/rophako/www/smoke/style.css +++ b/rophako/www/smoke/style.css @@ -97,18 +97,18 @@ table.table-wide { } table.table th { - background-color: #003366; + background-color: #333333; color: #FFFFFF; text-align: left; padding: 4px; } table.table tr:nth-child(even) { - background-color: #000000; + background-color: #FFFFFF; } table.table tr:nth-child(odd) { - background-color: #202020; + background-color: #CFCFCF; } table.table td {