Inital commit
This commit is contained in:
commit
a6af7dbfcb
114 files changed
+27520
No files matched your search
@@ -0,0 +1,50 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<%- include('./partials/head'); -%>
|
||||
<%- include('./partials/social-meta', {
|
||||
socialTitle: file.name,
|
||||
socialDescription: file.description,
|
||||
socialImage: (!tracer ? (file.thumbnailName ? '/file/thumbnail/' + file.thumbnailName : '/assets/images/storage-tw.png') : '/assets/images/storage-tw.png')
|
||||
}); -%>
|
||||
<% if (!tracer) { %>
|
||||
<meta name="twitter:image:alt" content="<%= file.name %>" />
|
||||
<% } %>
|
||||
<title><%= title %></title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="center-n page-content">
|
||||
<h1><%= title %></h1>
|
||||
<%- include('./partials/back-link', {
|
||||
href: t('/storage'),
|
||||
label: 'Back to storage',
|
||||
useHistoryBack: true
|
||||
}); -%>
|
||||
<%- include('./partials/access-codes'); -%>
|
||||
|
||||
<div class="media-view">
|
||||
<h2><%= file.name %></h2>
|
||||
<% if (file.description) { %>
|
||||
<p class="media-description"><%= file.description %></p>
|
||||
<% } %>
|
||||
|
||||
<a class="media-download" href="/file/<%= file.file %><%= accessCode?.code ? '?access_code=' + accessCode.code : '' %>">
|
||||
<img class="media-preview" src="/file/thumbnail/<%= file.thumbnailName %>" alt="<%= file.name %>">
|
||||
<span class="download-btn">Download</span>
|
||||
</a>
|
||||
|
||||
<div class="media-details">
|
||||
<%- include('./partials/media-details', {
|
||||
createAt,
|
||||
tags: file.tags,
|
||||
tagSearchBase: '/storage',
|
||||
accessCode
|
||||
}); -%>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<%- include('footer'); -%>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user