mirror of https://github.com/zulip/zulip.git
Add UI for restoring a message draft.
(imported from commit 3e374048a59d2caf858eb1ce9eae3e22eb0835e4)
This commit is contained in:
parent
de902be108
commit
f407d6b935
|
@ -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">
|
||||
<span id="sending-indicator">Sending...</span>
|
||||
<label class="pull-right">Press Enter to send
|
||||
<input type="checkbox" id="enter_sends" name="enter_sends" value="ender_sends" />
|
||||
</label>
|
||||
<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 inline">Press Enter to send
|
||||
<input type="checkbox" id="enter_sends" name="enter_sends" value="ender_sends" />
|
||||
</label>
|
||||
</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue