Now we can combine three different types of quotation marks
This commit is contained in:
parent
77e98c1f52
commit
be2c118284
|
@ -12,7 +12,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
ReleaseVersion string = "3.2.6"
|
ReleaseVersion string = "3.2.7"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
@ -144,28 +144,28 @@ func paginateSorted(path, first, last, queryParams string, regexes *regexes, for
|
||||||
|
|
||||||
html.WriteString(`<table style="margin-left:auto;margin-right:auto;"><tr><td>`)
|
html.WriteString(`<table style="margin-left:auto;margin-right:auto;"><tr><td>`)
|
||||||
|
|
||||||
html.WriteString(fmt.Sprintf(`<button onclick="window.location.href = "%s%s%s%s";"%s>First</button>`,
|
html.WriteString(fmt.Sprintf(`<button onclick='window.location.href = "%s%s%s%s";'%s>First</button>`,
|
||||||
Prefix,
|
Prefix,
|
||||||
mediaPrefix,
|
mediaPrefix,
|
||||||
first,
|
first,
|
||||||
queryParams,
|
queryParams,
|
||||||
firstStatus))
|
firstStatus))
|
||||||
|
|
||||||
html.WriteString(fmt.Sprintf(`<button onclick="window.location.href = "%s%s%s%s";"%s>Prev</button>`,
|
html.WriteString(fmt.Sprintf(`<button onclick='window.location.href = "%s%s%s%s";'%s>Prev</button>`,
|
||||||
Prefix,
|
Prefix,
|
||||||
mediaPrefix,
|
mediaPrefix,
|
||||||
prevPage,
|
prevPage,
|
||||||
queryParams,
|
queryParams,
|
||||||
prevStatus))
|
prevStatus))
|
||||||
|
|
||||||
html.WriteString(fmt.Sprintf(`<button onclick="window.location.href = "%s%s%s%s";"%s>Next</button>`,
|
html.WriteString(fmt.Sprintf(`<button onclick='window.location.href = "%s%s%s%s";'%s>Next</button>`,
|
||||||
Prefix,
|
Prefix,
|
||||||
mediaPrefix,
|
mediaPrefix,
|
||||||
nextPage,
|
nextPage,
|
||||||
queryParams,
|
queryParams,
|
||||||
nextStatus))
|
nextStatus))
|
||||||
|
|
||||||
html.WriteString(fmt.Sprintf(`<button onclick="window.location.href = "%s%s%s%s";"%s>Last</button>`,
|
html.WriteString(fmt.Sprintf(`<button onclick='window.location.href = "%s%s%s%s";'%s>Last</button>`,
|
||||||
Prefix,
|
Prefix,
|
||||||
mediaPrefix,
|
mediaPrefix,
|
||||||
last,
|
last,
|
||||||
|
|
Loading…
Reference in New Issue