//- vim:ts=4:sw=4:
doctype html
html
head
include head
title Contacts
style.
table { min-width: 400px }
td a.red { text-decoration: none; color: brown; font-size: 14px; margin-left: 8px; }
td a.blue { text-decoration: none; color: black; font-size: 16px; margin-left: 8px; }
td a.blue:hover { color: blue; }
body
include header
article
h1 Friends & Enemies
table
thead
tr
th Friends
th Last seen
th
tbody
each who in friends
tr
td
a.black(href="/user/"+who.name)= who.name
td= who.atime
td.r
a.blue(href="/message/send/"+who.name) 📝
a.red(href="/contact/remove/"+who.name) ❌
else
tr
td Nobody
if enemies.length > 0
p
table
thead
tr
th Blacklist
th
tbody
each who in enemies
tr
td
a.black(href="/user/"+who.name)= who.name
td.r
a.red(href="/contact/remove/"+who.name) ❌
else
tr
td Nobody