mirror of
https://github.com/golang/go
synced 2024-11-18 14:14:46 -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:
parent
845abca4e3
commit
92eb99d907
@ -122,9 +122,11 @@
|
||||
|
||||
{{with $.Pagination}}
|
||||
<div class="paginate">
|
||||
<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>
|
||||
<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}}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user