Correctly Place Pager
This commit is contained in:
parent
3e07e2f06e
commit
bc79e0ac2c
@ -114,8 +114,6 @@ func searchView() {
|
|||||||
p.MinWidth = 10
|
p.MinWidth = 10
|
||||||
p.Justify = option.JustifyRight
|
p.Justify = option.JustifyRight
|
||||||
form.New(p, "pagerForm", func(p *form.Element) {
|
form.New(p, "pagerForm", func(p *form.Element) {
|
||||||
p.MaxWidth = -1
|
|
||||||
p.MinWidth = 8
|
|
||||||
p.Method = http.MethodGet
|
p.Method = http.MethodGet
|
||||||
p.Include = "[name='q'], [name='p']"
|
p.Include = "[name='q'], [name='p']"
|
||||||
p.Target = "#SearchResultsContainer>*"
|
p.Target = "#SearchResultsContainer>*"
|
||||||
@ -125,6 +123,7 @@ func searchView() {
|
|||||||
p.PushURL = true
|
p.PushURL = true
|
||||||
container.New(p, "LinkPager", func(p *container.Element) {
|
container.New(p, "LinkPager", func(p *container.Element) {
|
||||||
p.LinkedHorizontal = true
|
p.LinkedHorizontal = true
|
||||||
|
p.Justify = option.JustifyRight
|
||||||
input.New(p, "p", input.TypeNumber, func(p *input.Element) {
|
input.New(p, "p", input.TypeNumber, func(p *input.Element) {
|
||||||
p.Parameter = true
|
p.Parameter = true
|
||||||
p.Shape = option.ShapeRound
|
p.Shape = option.ShapeRound
|
||||||
|
Loading…
Reference in New Issue
Block a user