diff --git a/templates/zephyr/index.html b/templates/zephyr/index.html index 3307164901..ced7d83a27 100644 --- a/templates/zephyr/index.html +++ b/templates/zephyr/index.html @@ -15,9 +15,9 @@ {% if user_profile.pointer == zephyr.id %}

>{% else %}

{% endif %}

-

{{ zephyr.display_recipient }} / -{{ zephyr.instance }} / -{{ zephyr.sender.user.username }}
+

{{ zephyr.display_recipient }} +{{ zephyr.instance }} +{{ zephyr.sender.user.username }}
{{ zephyr.content }}

diff --git a/zephyr/static/js/zephyr.js b/zephyr/static/js/zephyr.js index 1e1738ab8d..16ee20b858 100644 --- a/zephyr/static/js/zephyr.js +++ b/zephyr/static/js/zephyr.js @@ -128,19 +128,19 @@ $(function() { }); function add_message(index, zephyr) { - var recipient_color; + var recipient_class; if (zephyr.type == "class") { - recipient_color = "yellow"; + recipient_class = "zephyr_class"; } else { - recipient_color = "magenta"; + recipient_class = "zephyr_personal_recipient"; } var new_str = "" + "

" + "" + - "

" + zephyr.display_recipient + - " / " + - zephyr.instance + " / " + zephyr.sender + "
" + "

" + zephyr.display_recipient + + " " + + zephyr.instance + " " + zephyr.sender + "
" + zephyr.content + "

" + "" diff --git a/zephyr/static/styles/zephyr.css b/zephyr/static/styles/zephyr.css index 6e45e1ba72..d46f3a06c6 100644 --- a/zephyr/static/styles/zephyr.css +++ b/zephyr/static/styles/zephyr.css @@ -24,3 +24,19 @@ form.zephyr textarea { #unhide { margin-top: 5px; } + +.zephyr_class { + background-color: #b94a48; +} + +.zephyr_instance { + background-color: #468847; +} + +.zephyr_personal_recipient { + background-color: #3a87ad; +} + +.zephyr_sender { + background-color: #3a87ad; +}