mirror of
https://github.com/hanzoai/metrics.git
synced 2026-10-30 20:03:39 +00:00
### Describe Your Changes upgraded bootstrap, removed jquery, fixed UI collapse issues in vmalert UI <img width="967" alt="image" src="https://github.com/user-attachments/assets/adcd0a74-fd33-4ec6-b2ee-9e642bcf8425" /> <img width="528" alt="image" src="https://github.com/user-attachments/assets/ecf4f1f7-ec05-4d01-a423-516076cb3d30" /> ### Checklist The following checks are **mandatory**: - [ ] My change adheres to [VictoriaMetrics contributing guidelines](https://docs.victoriametrics.com/contributing/). --------- Signed-off-by: hagen1778 <[email protected]> Co-authored-by: Roman Khavronenko <[email protected]>
61 lines
1.5 KiB
Go
61 lines
1.5 KiB
Go
// Code generated by qtc from "footer.qtpl". DO NOT EDIT.
|
|
// See https://github.com/valyala/quicktemplate for details.
|
|
|
|
//line app/vmalert/tpl/footer.qtpl:1
|
|
package tpl
|
|
|
|
//line app/vmalert/tpl/footer.qtpl:1
|
|
import (
|
|
"net/http"
|
|
)
|
|
|
|
//line app/vmalert/tpl/footer.qtpl:6
|
|
import (
|
|
qtio422016 "io"
|
|
|
|
qt422016 "github.com/valyala/quicktemplate"
|
|
)
|
|
|
|
//line app/vmalert/tpl/footer.qtpl:6
|
|
var (
|
|
_ = qtio422016.Copy
|
|
_ = qt422016.AcquireByteBuffer
|
|
)
|
|
|
|
//line app/vmalert/tpl/footer.qtpl:6
|
|
func StreamFooter(qw422016 *qt422016.Writer, r *http.Request) {
|
|
//line app/vmalert/tpl/footer.qtpl:6
|
|
qw422016.N().S(`
|
|
</main>
|
|
</body>
|
|
</html>
|
|
`)
|
|
//line app/vmalert/tpl/footer.qtpl:10
|
|
}
|
|
|
|
//line app/vmalert/tpl/footer.qtpl:10
|
|
func WriteFooter(qq422016 qtio422016.Writer, r *http.Request) {
|
|
//line app/vmalert/tpl/footer.qtpl:10
|
|
qw422016 := qt422016.AcquireWriter(qq422016)
|
|
//line app/vmalert/tpl/footer.qtpl:10
|
|
StreamFooter(qw422016, r)
|
|
//line app/vmalert/tpl/footer.qtpl:10
|
|
qt422016.ReleaseWriter(qw422016)
|
|
//line app/vmalert/tpl/footer.qtpl:10
|
|
}
|
|
|
|
//line app/vmalert/tpl/footer.qtpl:10
|
|
func Footer(r *http.Request) string {
|
|
//line app/vmalert/tpl/footer.qtpl:10
|
|
qb422016 := qt422016.AcquireByteBuffer()
|
|
//line app/vmalert/tpl/footer.qtpl:10
|
|
WriteFooter(qb422016, r)
|
|
//line app/vmalert/tpl/footer.qtpl:10
|
|
qs422016 := string(qb422016.B)
|
|
//line app/vmalert/tpl/footer.qtpl:10
|
|
qt422016.ReleaseByteBuffer(qb422016)
|
|
//line app/vmalert/tpl/footer.qtpl:10
|
|
return qs422016
|
|
//line app/vmalert/tpl/footer.qtpl:10
|
|
}
|