From 7a9d7aff0fc5e812c86fe5aaabcc69e570eb4a89 Mon Sep 17 00:00:00 2001 From: Steve Howell Date: Fri, 5 Jul 2013 16:31:39 -0400 Subject: [PATCH] Restyle list of bots. (imported from commit 858f0c58b391d92f98b25cf9661543b7bac61865) --- zephyr/static/styles/zephyr.css | 32 +++++++++++++++++-- .../templates/bot_avatar_row.handlebars | 18 ++++++++--- 2 files changed, 44 insertions(+), 6 deletions(-) diff --git a/zephyr/static/styles/zephyr.css b/zephyr/static/styles/zephyr.css index 5819f5bd4a..715e421121 100644 --- a/zephyr/static/styles/zephyr.css +++ b/zephyr/static/styles/zephyr.css @@ -1820,6 +1820,33 @@ li.expanded_subject { #bots_list { display: none; font-size: 90%; + list-style-type: none; + width: 550px; + margin-left: 0px; +} + +#bots_list .image, +#bots_list .bot_info { + display: inline-block; + margin: 10px; +} + +#bots_list .image { + vertical-align: top; +} + +#bots_list .name { + font-weight: bold; + font-size: 130%; +} + +#bots_list .field:after { + content: ':'; +} + +.bot_info .field { + width: 7em; + display: inline-block; } #create_bot_form .control-label { @@ -1841,7 +1868,7 @@ li.expanded_subject { } #create_bot_short_name { - width: 10em; + width: 7em; } .bot_name_header { @@ -1853,7 +1880,8 @@ li.expanded_subject { width: 35px; } -.api_key { +#bots_list .email .value, +#bots_list .api_key .value { font-family: monospace; font-size: 85%; } diff --git a/zephyr/static/templates/bot_avatar_row.handlebars b/zephyr/static/templates/bot_avatar_row.handlebars index 5fbb24b6a0..240a63e717 100644 --- a/zephyr/static/templates/bot_avatar_row.handlebars +++ b/zephyr/static/templates/bot_avatar_row.handlebars @@ -1,6 +1,16 @@
  • - - {{name}} - {{email}} - {{api_key}} +
    + +
    +
    +
    {{name}}
    + +
    + API Key + {{api_key}} +
    +
  • \ No newline at end of file