feat: remove download button and make header more useful
This commit is contained in:
parent
ebe2c461f5
commit
c64c63d333
@ -25,10 +25,7 @@
|
|||||||
position: sticky;
|
position: sticky;
|
||||||
top: 0;
|
top: 0;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
|
padding: 10px;
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: space-evenly;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
@ -86,11 +83,7 @@
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<header>{{.Path}}/{{.Name}}</header>
|
||||||
{{.Path}} {{if eq .Type "pdf"}}
|
|
||||||
<a href="/{{.Name}}" class="btn-download" download>Download PDF</a>
|
|
||||||
{{end}}
|
|
||||||
</header>
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
{{if eq .Type "image"}}
|
{{if eq .Type "image"}}
|
||||||
<img src="/{{.Name}}" alt="Image" />
|
<img src="/{{.Name}}" alt="Image" />
|
||||||
|
Loading…
Reference in New Issue
Block a user