Skip to content

Commit

Permalink
Merge pull request #81 from tstromberg/missing-author
Browse files Browse the repository at this point in the history
Add custom.css override file, minor UI tweaks
  • Loading branch information
tstromberg authored May 11, 2020
2 parents f38d3a2 + 26369ff commit 3b6f5b8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
1 change: 1 addition & 0 deletions site/base.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<link rel="stylesheet" href="/third_party/bulma/bulma.min.css">
<link rel="stylesheet" href="/third_party/fontawesome/css/all.min.css">
<link rel="stylesheet" href="/static/css/tparty.css?{{.Version}}">
<link rel="stylesheet" href="/static/css/custom.css?{{.Version}}">
<script type="text/javascript" src="/third_party/moment/moment-with-locales.min.js"></script>
{{ block "style" .}} {{end}}
</head>
Expand Down
10 changes: 6 additions & 4 deletions site/collection.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,13 @@
<thead>
<tr>
<td class="col-id">ID</td>
<td class="col-author" title="Author">Aut</td>
<td class="col-author" title="Author">Au</td>
<td class="col-desc" title="Description">Desc</td>
<td class="col-reactions" title="Reactions">Reac</td>
<td class="col-assignee" title="Assignee">As</td>
<td class="col-reactions" title="Reactions">Rea</td>
<td class="col-create" title="When issue was created">Cr</td>
<td class="col-update" title="When issue was last updated">Up</td>
<td class="col-response" title="When issue was last responded to">Re</td>
<td class="col-assignee" title="Assignee">Asi</td>
<td class="col-comments" title="Commenters">Cmntrs</td>
<td class="col-labels">Labels</td>
<td class="col-tags">Tags</td>
Expand All @@ -114,6 +114,9 @@
</div>
{{ end }}
</td>

<td class="cell-assignee" data-order="{{ range .Assignees }}{{ .GetLogin }}{{ end }}">{{ range .Assignees }}{{ . | Avatar}}{{ end }}

<td class="cell-reactions" data-order="{{ .ReactionsTotal }}">
{{ range $value, $count := .Reactions }}
{{ if gt $count 1 }}
Expand All @@ -124,7 +127,6 @@
<td class="cell-create" data-order="{{ .Created | UnixNano }}">{{ .Created | HumanTime }}</td>
<td class="cell-update" data-order="{{ .Updated | UnixNano }}">{{ .Updated | HumanTime }}</td>
<td class="cell-response" data-order="{{ .LatestMemberResponse | UnixNano }}">{{ .LatestMemberResponse | HumanTime }}</td>
<td class="cell-assignee" data-order="{{ range .Assignees }}{{ .GetLogin }}{{ end }}">{{ range .Assignees }}{{ . | Avatar}}{{ end }}
<td class="cell-comments" data-order="{{ .CommentersTotal }}">{{ range .Commenters }}{{ . | Avatar}}{{ end }}</td>
<td class="cell-labels">
{{ range .Labels }}
Expand Down
7 changes: 5 additions & 2 deletions site/static/css/tparty.css
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ td:last-child { padding-right: 0.2em !important; }
/* Tables */

.cell-desc {
width: 45%;
width: 43%;
}

/* labels are flexible */
Expand All @@ -252,14 +252,17 @@ td:last-child { padding-right: 0.2em !important; }
.cell-response {
width: 2.1em;
}
.cell-reactions {
width: 3em;
}
.cell-assignee {
width: 3em;
}
.cell-comments {
width: 10%;
}
.cell-author {
width: 2.2em;
width: 2.3em;
}
.cell-id {
width: 3em;
Expand Down

0 comments on commit 3b6f5b8

Please sign in to comment.