Include version numbers in resource URLs.
This commit is contained in:
parent
7f718a30d7
commit
89b039ae9e
@ -19,16 +19,16 @@ const containersHtmlTemplate = `
|
|||||||
<head>
|
<head>
|
||||||
<title>cAdvisor - {{.DisplayName}}</title>
|
<title>cAdvisor - {{.DisplayName}}</title>
|
||||||
<!-- Latest compiled and minified CSS -->
|
<!-- Latest compiled and minified CSS -->
|
||||||
<link rel="stylesheet" href="/static/bootstrap.min.css">
|
<link rel="stylesheet" href="/static/bootstrap-3.1.1.min.css">
|
||||||
|
|
||||||
<!-- Optional theme -->
|
<!-- Optional theme -->
|
||||||
<link rel="stylesheet" href="/static/bootstrap-theme.min.css">
|
<link rel="stylesheet" href="/static/bootstrap-theme-3.1.1.min.css">
|
||||||
|
|
||||||
<link rel="stylesheet" href="/static/containers.css">
|
<link rel="stylesheet" href="/static/containers.css">
|
||||||
|
|
||||||
<!-- Latest compiled and minified JavaScript -->
|
<!-- Latest compiled and minified JavaScript -->
|
||||||
<script src="/static/jquery.min.js"></script>
|
<script src="/static/jquery-1.10.2.min.js"></script>
|
||||||
<script src="/static/bootstrap.min.js"></script>
|
<script src="/static/bootstrap-3.1.1.min.js"></script>
|
||||||
<script type="text/javascript" src="/static/google-jsapi.js"></script>
|
<script type="text/javascript" src="/static/google-jsapi.js"></script>
|
||||||
|
|
||||||
<script type="text/javascript" src="/static/containers.js"></script>
|
<script type="text/javascript" src="/static/containers.js"></script>
|
||||||
|
@ -27,10 +27,10 @@ const StaticResource = "/static/"
|
|||||||
var staticFiles = map[string]string{
|
var staticFiles = map[string]string{
|
||||||
"containers.css": containersCss,
|
"containers.css": containersCss,
|
||||||
"containers.js": containersJs,
|
"containers.js": containersJs,
|
||||||
"bootstrap.min.css": bootstrapCss,
|
"bootstrap-3.1.1.min.css": bootstrapCss,
|
||||||
"bootstrap-theme.min.css": bootstrapThemeCss,
|
"bootstrap-theme-3.1.1.min.css": bootstrapThemeCss,
|
||||||
"jquery.min.js": jqueryJs,
|
"jquery-1.10.2.min.js": jqueryJs,
|
||||||
"bootstrap.min.js": bootstrapJs,
|
"bootstrap-3.1.1.min.js": bootstrapJs,
|
||||||
"google-jsapi.js": googleJsapiJs,
|
"google-jsapi.js": googleJsapiJs,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user