-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
76 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<link rel="icon" type="image/x-icon" href="../files/favicon.ico"> | ||
<meta name="twitter:card" content="summary_large_image" /> | ||
<meta property="og:image" content="<%= img %>" /> | ||
<link rel="stylesheet" href="../css/index.css"> | ||
<meta name="theme-color" content="#000000" /> | ||
<meta property="og:description" content="" /> | ||
<meta property="og:site_name" content=""> | ||
<title>ShareX-API | <%= data.name %>.<%= data.fileExtension %></title> | ||
<meta name="robots" content="noindex"> | ||
<meta charset="UTF-8"> | ||
</head> | ||
|
||
<body> | ||
<main> | ||
<div class="container"> | ||
<% if (img.endsWith('.mp4')) { %> | ||
<video controls> | ||
<source src="<%= img %>" type="video/mp4"> Your browser does not support the video tag. | ||
</video> | ||
<% } else { %> | ||
<img src="<%= img %>" alt="Image"> | ||
<% } %> | ||
<div class="text"> | ||
<p>Name - <%= data.name %></p> | ||
<div class="tooltip"> | ||
<p>Time - <%= getTime(data.timestamp.unix, Intl.DateTimeFormat().resolvedOptions().timeZone) %></p> | ||
<span class="tooltiptext">UTC - <%= data.timestamp.utc %></span> | ||
</div> | ||
<p>Date - <%= getDate(data.timestamp.unix, Intl.DateTimeFormat().resolvedOptions().timeZone) %></p> | ||
<p>Size - <%= data.size.dynamic %></p> | ||
</div> | ||
</div> | ||
</main> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters