convert tables to div.right

pull/34/head
Zlatin Balevsky 2019-12-16 18:39:53 +00:00
parent 75b2852f6e
commit 0a98083c64
1 changed files with 5 additions and 5 deletions

View File

@ -42,7 +42,9 @@ class Persona {
getMapping() { getMapping() {
var mapping = new Map() var mapping = new Map()
var userHtml = this.user + "<div>" + this.getTrustActions().join(" ") + "</div>" var userHtml = this.user + "<div class='right'>" + this.getTrustActions().join(" ") + "</div>"
userHtml += "<div class='centercomment' id='trusted-" + this.userB64 + "'></div>"
userHtml += "<div class='centercomment' id='distrusted-" + this.userB64 + "'></div>"
mapping.set("Trusted User", userHtml) mapping.set("Trusted User", userHtml)
mapping.set("Distrusted User", userHtml) mapping.set("Distrusted User", userHtml)
mapping.set("Reason", this.reason) mapping.set("Reason", this.reason)
@ -52,13 +54,11 @@ class Persona {
} }
getTrustBlock() { getTrustBlock() {
return "<span id='trusted-link-" + this.userB64 + "'>" + this.getTrustLink() + "</span>" + return "<span id='trusted-link-" + this.userB64 + "'>" + this.getTrustLink() + "</span>"
"<span id='trusted-" + this.userB64 + "'></span>"
} }
getDistrustBlock() { getDistrustBlock() {
return "<span id='distrusted-link-" + this.userB64 + "'>" + this.getDistrustLink() + "</span>" + return "<span id='distrusted-link-" + this.userB64 + "'>" + this.getDistrustLink() + "</span>"
"<span id='distrusted-" + this.userB64 + "'></span>"
} }
getTrustLink() { getTrustLink() {