adding icons, updating style

This commit is contained in:
Kris 2018-05-17 17:03:56 -04:00
parent af548c23c4
commit c1f13ce6a6
2 changed files with 14 additions and 0 deletions

View File

@ -113,6 +113,9 @@ const Report = Discourse.Model.extend({
return "envelope";
}
switch (type) {
case "page_view_total_reqs": return "file";
case "visits": return "user";
case "time_to_first_response": return "reply";
case "flags": return "flag";
case "likes": return "heart";
case "bookmarks": return "bookmark";

View File

@ -378,5 +378,16 @@
tr th {
text-align: right;
}
.d-icon {
color: $primary-low-mid;
min-width: 14px;
text-align: center;
}
@media screen and (max-width: 400px) {
.d-icon { display: none; }
td.title {
padding: 8px 0 8px 4px;
}
}
}
}