From f407d6b935d0f7b9dd81ae350a8a1356f8c48faf Mon Sep 17 00:00:00 2001 From: Jessica McKellar Date: Fri, 5 Apr 2013 10:44:29 -0400 Subject: [PATCH] Add UI for restoring a message draft. (imported from commit 3e374048a59d2caf858eb1ce9eae3e22eb0835e4) --- templates/zephyr/compose.html | 13 ++++++++----- zephyr/static/styles/zephyr.css | 12 ++++++++++-- 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/templates/zephyr/compose.html b/templates/zephyr/compose.html index 358a25c7b7..69d29d27d4 100644 --- a/templates/zephyr/compose.html +++ b/templates/zephyr/compose.html @@ -48,11 +48,14 @@ -
- Sending... - +
+ Restore last draft? + + Sending... + +
diff --git a/zephyr/static/styles/zephyr.css b/zephyr/static/styles/zephyr.css index 68e2facb0c..c4073b4966 100644 --- a/zephyr/static/styles/zephyr.css +++ b/zephyr/static/styles/zephyr.css @@ -473,7 +473,7 @@ blockquote p { margin-right: 0px; } -#tab-enter-message { +#below-compose-content { display: table-row; font-size: 80%; white-space: nowrap; @@ -1115,4 +1115,12 @@ li.expanded_subject { .sub-unsub-message { text-align: center; padding-bottom: 10px; /* same as .bookend */ -} \ No newline at end of file +} + +#restore-draft { + visibility: hidden; +} + +#restore-draft:hover { + cursor: pointer; +}