1
0
mirror of https://github.com/golang/go synced 2024-11-18 16:34:51 -07:00

go.tools/dashboard: fix various small UI issues

- stop time column from wrapping,
- fix pagination on front page,
- left-align pagination buttons.

LGTM=dvyukov
R=dvyukov, golang-codereviews
CC=golang-codereviews
https://golang.org/cl/126410043
This commit is contained in:
Andrew Gerrand 2014-08-19 20:43:50 +10:00
parent 845abca4e3
commit 92eb99d907
2 changed files with 6 additions and 5 deletions

View File

@ -122,9 +122,11 @@
{{with $.Pagination}}
<div class="paginate">
<nav>
<a {{if .HasPrev}}href="?{{with $.Package.Path}}repo={{.}}&{{end}}page={{.Prev}}"{{else}}class="inactive"{{end}}>newer</a>
<a {{if .Next}}href="?{{with $.Package.Path}}repo={{.}}&{{end}}page={{.Next}}"{{else}}class="inactive"{{end}}>older</a>
<a {{if .HasPrev}}href="."{{else}}class="inactive"{{end}}>latest</a>
</nav>
</div>
{{end}}

View File

@ -186,7 +186,7 @@ table thead tr {
font-size: 83%;
}
.build .desc, .build .date, .build .user {
.build .desc, .build .time, .build .user {
white-space: nowrap;
}
@ -205,7 +205,6 @@ table thead tr {
/* pagination */
.paginate nav {
text-align: center;
padding: 0.5em;
margin: 10px 0;
}