mirror of https://github.com/zlatinb/muwire
make the comment box 50% of available space in table view
parent
63e3b3710c
commit
1d20dc917b
|
@ -178,6 +178,13 @@ div.right {
|
|||
float: right;
|
||||
}
|
||||
|
||||
div.rightcomment {
|
||||
display: block;
|
||||
text-align: right;
|
||||
float: right;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
span.right {
|
||||
display: inline-block;
|
||||
float: right;
|
||||
|
|
|
@ -19,11 +19,11 @@ class SharedFile {
|
|||
var showCommentHtml = ""
|
||||
var showCommentLink = new Link(_t("Comment"), "showCommentForm", [this.path])
|
||||
showCommentHtml = "<span id='comment-link-" + this.path + "'>" + showCommentLink.render() + "</span>"
|
||||
var commentDiv = "<div class='right' id='comment-" + this.path + "'></div>"
|
||||
var commentDiv = "<div class='rightcomment' id='comment-" + this.path + "'></div>"
|
||||
var nameLink = "<a href='/MuWire/DownloadedContent/" + this.infoHash + "'>" + this.name + "</a>"
|
||||
|
||||
var html = nameLink + "<div class=\"right\">" + unshareLink.render() + " " + showCommentHtml + " " + certifyHtml + "</div>"
|
||||
html += commentDiv
|
||||
html += "<br/>" + commentDiv
|
||||
|
||||
mapping.set("File", html)
|
||||
mapping.set("Size", this.size)
|
||||
|
|
Loading…
Reference in New Issue