Use portrait alignment for adding-bots form.

The add-bots form used to have a landscape alignment, as it was
integrated into the same HTML table that showed your existing bots.
This became unwieldy once we allowed users to upload avatars.

(imported from commit 246a35be77ce1679d595271e6911dc339a6813ab)
This commit is contained in:
Steve Howell
2013-06-27 16:36:41 -04:00
parent 0da7ead83d
commit b06f34b55b
3 changed files with 31 additions and 37 deletions

View File

@@ -15,7 +15,8 @@ function add_bot_row(name, email, avatar_url, api_key) {
$('<td>').text(email),
$('<td>').html(avatar_cell),
$('<td class="api_key">').text(api_key));
$('#create_bot_row').before(row);
$('#bots_table tr:last').after(row);
$('#bots_table').show();
}
function is_local_part(value, element) {