diff --git a/dist/ratfe.css b/dist/ratfe.css index 9880d3a..8a7eab5 100644 --- a/dist/ratfe.css +++ b/dist/ratfe.css @@ -182,3 +182,32 @@ input[type=button], input[type=submit] { color: #808080; } + +.group +{ + padding: 0; + margin: 0 !important; + height: 28px; + +} + +/* These are a pain for some reason */ +.group-inputbox +{ + border: 1px solid #cacaca; + padding-left: 5px; + border-right: 0px; + height: 26px; +} + +.group-left +{ + border-top-left-radius: 5px; + border-bottom-left-radius: 5px; +} + +.group-right +{ + border-top-right-radius: 5px; + border-bottom-right-radius: 5px; +} diff --git a/src/status.c b/src/status.c index db179b3..8cd0a3b 100644 --- a/src/status.c +++ b/src/status.c @@ -30,8 +30,9 @@ char* construct_statuses(struct mstdnt_status* statuses, size_t size, size_t* re for (size_t i = 0; i < size; ++i) { parse_size = easprintf(&stat_html, data_status_html, - statuses[i].id, /* Username */ - "@who?", /* Account */ + statuses[i].account.avatar, + statuses[i].account.display_name, /* Username */ + statuses[i].account.acct, /* Account */ "Public?", /* visibility */ statuses[i].content); if (parse_size == -1) /* Malloc error */ diff --git a/static/index.html b/static/index.html index ff136d8..e1b21c7 100644 --- a/static/index.html +++ b/static/index.html @@ -5,7 +5,7 @@ %s - +
@@ -16,8 +16,8 @@ diff --git a/static/status.html b/static/status.html index 651e065..67ae4f0 100644 --- a/static/status.html +++ b/static/status.html @@ -1,6 +1,6 @@
- +