forked from b3log/pipe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheditor.html
24 lines (24 loc) · 969 Bytes
/
editor.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{{define "comment/editor"}}
{{if ne .User.UID 0}}
<div class="pipe-editor" id="pipeEditor">
<div class="pipe-editor__wrap">
<div id="pipeEditorComment"
data-blogurl="{{.BlogURL}}" data-placeholder="{{.I18n.CommentPlaceholder}}"></div>
<div class="fn__flex">
<div class="fn__flex-1 ft__fade fn__ellipsis" id="pipeEditorReplyTarget"></div>
<span class="pipe-btn"
id="pipeEditorCancel">
{{.I18n.Cancel}} <svg class="fn__right"><use xlink:href="#icon-chevron-up"></use></svg>
</span>
<span class="pipe-btn pipe-btn--space pipe-btn--success"
id="pipeEditorAdd"
data-editable="{{.Article.Editable}}"
data-label2="{{.I18n.Required}}"
data-label="{{.I18n.Comment}}">
{{.I18n.Confirm}}
</span>
</div>
</div>
</div>
{{end}}
{{end}}