outsource css to static files
This commit is contained in:
parent
e3e3ecb5d3
commit
1e78f4a071
15
static/css/benchmarks.css
Normal file
15
static/css/benchmarks.css
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
.list-group-item {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.stretched-link {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
.username-link {
|
||||||
|
position: relative;
|
||||||
|
z-index: 2;
|
||||||
|
}
|
@ -1,5 +1,7 @@
|
|||||||
{{template "header.tmpl" .}}
|
{{template "header.tmpl" .}}
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="/static/css/benchmarks.css">
|
||||||
|
|
||||||
<div class="d-flex justify-content-between align-items-center">
|
<div class="d-flex justify-content-between align-items-center">
|
||||||
<h2>Benchmarks</h2>
|
<h2>Benchmarks</h2>
|
||||||
{{if .username}}
|
{{if .username}}
|
||||||
@ -34,24 +36,6 @@
|
|||||||
{{- end -}}
|
{{- end -}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<style>
|
|
||||||
.list-group-item {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
.stretched-link {
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
right: 0;
|
|
||||||
bottom: 0;
|
|
||||||
z-index: 1;
|
|
||||||
}
|
|
||||||
.username-link {
|
|
||||||
position: relative;
|
|
||||||
z-index: 2;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<div class="d-flex justify-content-center mt-2">
|
<div class="d-flex justify-content-center mt-2">
|
||||||
<ul class="pagination">
|
<ul class="pagination">
|
||||||
<li class="page-item {{if le .page 1}}disabled{{end}}">
|
<li class="page-item {{if le .page 1}}disabled{{end}}">
|
||||||
|
Loading…
Reference in New Issue
Block a user