diff --git a/copyparty/httpcli.py b/copyparty/httpcli.py
index 0f5e4d46..2abea441 100644
--- a/copyparty/httpcli.py
+++ b/copyparty/httpcli.py
@@ -6014,6 +6014,15 @@ class HttpCli(object):
if self.uname != self.args.shr_adm:
rows = [x for x in rows if x[5] == self.uname]
+ q = "select vp from sf where k=? limit 99"
+ for r in rows:
+ if not r[4]:
+ r[4] = "---"
+ else:
+ zstl = cur.execute(q, (r[0],)).fetchall()
+ zsl = [html_escape(zst[0]) for zst in zstl]
+ r[4] = "
".join(zsl)
+
html = self.j2s(
"shares", this=self, shr=self.args.shr, rows=rows, now=int(time.time())
)
diff --git a/copyparty/web/shares.css b/copyparty/web/shares.css
index f8dce0b9..0a69260d 100644
--- a/copyparty/web/shares.css
+++ b/copyparty/web/shares.css
@@ -58,6 +58,7 @@ th {
#wrap th {
padding: .3em .6em;
text-align: left;
+ vertical-align: top;
white-space: nowrap;
}
#wrap td+td+td+td+td+td+td+td {
@@ -71,7 +72,10 @@ th {
#wrap td:last-child {
border-radius: 0 .5em .5em 0;
}
-
+#wrap.terse td div {
+ height: 2.3em;
+ overflow-y: hidden;
+}
html.z {
diff --git a/copyparty/web/shares.html b/copyparty/web/shares.html
index 8808ed66..c85a641d 100644
--- a/copyparty/web/shares.html
+++ b/copyparty/web/shares.html
@@ -14,8 +14,9 @@