Add UI for restoring a message draft.

(imported from commit 3e374048a59d2caf858eb1ce9eae3e22eb0835e4)
This commit is contained in:
Jessica McKellar 2013-04-05 10:44:29 -04:00 committed by Tim Abbott
parent de902be108
commit f407d6b935
2 changed files with 18 additions and 7 deletions

View File

@ -48,11 +48,14 @@
<input type="submit" value="Send" id="compose-send-button" class="btn btn-primary send_message" tabindex="150"/>
</div>
</div>
<div id="tab-enter-message">
<div id="below-compose-content">
<span id="restore-draft" onclick="compose.restore_message();">Restore last draft?</span>
<span id="tab-enter-message">
<span id="sending-indicator">Sending...</span>
<label class="pull-right">Press Enter to send&nbsp;
<label class="pull-right inline">Press Enter to send&nbsp;
<input type="checkbox" id="enter_sends" name="enter_sends" value="ender_sends" />
</label>
</span>
</div>
</td>
</tr>

View File

@ -473,7 +473,7 @@ blockquote p {
margin-right: 0px;
}
#tab-enter-message {
#below-compose-content {
display: table-row;
font-size: 80%;
white-space: nowrap;
@ -1116,3 +1116,11 @@ li.expanded_subject {
text-align: center;
padding-bottom: 10px; /* same as .bookend */
}
#restore-draft {
visibility: hidden;
}
#restore-draft:hover {
cursor: pointer;
}