Skip to content

Commit 384ca23

Browse files
authored
selfhost material css and js files for tm-bot UI (#890)
* use cloudflare cdn not googles for CSS * selfhost material css and js files
1 parent b995fdc commit 384ca23

File tree

4 files changed

+22
-4
lines changed

4 files changed

+22
-4
lines changed

pkg/tm-bot/ui/static/main.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
@import "commandhelp.css";
44
@import "pr-status.css";
55
@import "testrun.css";
6-
@import "pagination.css";
6+
@import "pagination.css";
7+
@import "material-teal-red.min.css";

pkg/tm-bot/ui/static/material-teal-red.min.css

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/tm-bot/ui/static/material.min.js

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/tm-bot/ui/templates/base.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
<link rel="shortcut icon" type="image/svg+xml" href="/static/img/gardener-test-machinery.svg"/>
1111
<link rel="stylesheet" type="text/css" href="/static/main.css">
1212
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
13-
<link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.teal-red.min.css" />
14-
<script defer src="https://code.getmdl.io/1.3.0/material.min.js"></script>
13+
<script defer src="/static/material.min.js"></script>
1514

1615
</head>
1716
<body>
@@ -55,4 +54,4 @@
5554
</body>
5655
</html>
5756

58-
{{end}}
57+
{{end}}

0 commit comments

Comments
 (0)