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