mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-03-11 15:34:56 +00:00
vmalert: use absolute path for assets (#2784)
Using relative path breaks assets loading on alert view page. Signed-off-by: hagen1778 <roman@victoriametrics.com>
This commit is contained in:
parent
94445e8bd1
commit
b104f67beb
4 changed files with 6 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
||||||
{% func Footer() %}
|
{% func Footer() %}
|
||||||
</main>
|
</main>
|
||||||
<script src="static/js/jquery-3.6.0.min.js" type="text/javascript"></script>
|
<script src="/static/js/jquery-3.6.0.min.js" type="text/javascript"></script>
|
||||||
<script src="static/js/bootstrap.bundle.min.js" type="text/javascript"></script>
|
<script src="/static/js/bootstrap.bundle.min.js" type="text/javascript"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function expandAll() {
|
function expandAll() {
|
||||||
$('.collapse').addClass('show');
|
$('.collapse').addClass('show');
|
||||||
|
|
|
@ -22,8 +22,8 @@ func StreamFooter(qw422016 *qt422016.Writer) {
|
||||||
//line app/vmalert/tpl/footer.qtpl:1
|
//line app/vmalert/tpl/footer.qtpl:1
|
||||||
qw422016.N().S(`
|
qw422016.N().S(`
|
||||||
</main>
|
</main>
|
||||||
<script src="static/js/jquery-3.6.0.min.js" type="text/javascript"></script>
|
<script src="/static/js/jquery-3.6.0.min.js" type="text/javascript"></script>
|
||||||
<script src="static/js/bootstrap.bundle.min.js" type="text/javascript"></script>
|
<script src="/static/js/bootstrap.bundle.min.js" type="text/javascript"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function expandAll() {
|
function expandAll() {
|
||||||
$('.collapse').addClass('show');
|
$('.collapse').addClass('show');
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<title>vmalert{% if title != "" %} - {%s title %}{% endif %}</title>
|
<title>vmalert{% if title != "" %} - {%s title %}{% endif %}</title>
|
||||||
<link href="static/css/bootstrap.min.css" rel="stylesheet" />
|
<link href="/static/css/bootstrap.min.css" rel="stylesheet" />
|
||||||
<style>
|
<style>
|
||||||
body{
|
body{
|
||||||
min-height: 75rem;
|
min-height: 75rem;
|
||||||
|
|
|
@ -35,7 +35,7 @@ func StreamHeader(qw422016 *qt422016.Writer, title string, pages []NavItem) {
|
||||||
}
|
}
|
||||||
//line app/vmalert/tpl/header.qtpl:5
|
//line app/vmalert/tpl/header.qtpl:5
|
||||||
qw422016.N().S(`</title>
|
qw422016.N().S(`</title>
|
||||||
<link href="static/css/bootstrap.min.css" rel="stylesheet" />
|
<link href="/static/css/bootstrap.min.css" rel="stylesheet" />
|
||||||
<style>
|
<style>
|
||||||
body{
|
body{
|
||||||
min-height: 75rem;
|
min-height: 75rem;
|
||||||
|
|
Loading…
Reference in a new issue