32 lines
746 B
HTML
32 lines
746 B
HTML
|
@use crate::templates::statics::index_css;
|
||
|
|
||
|
@(image_link: &str, purge_link: &str, return_link: &str)
|
||
|
|
||
|
<!doctype html>
|
||
|
<html lang="en">
|
||
|
|
||
|
<head>
|
||
|
<title>pict-rs admin</title>
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||
|
<meta charset="utf-8" />
|
||
|
<link rel="stylesheet" type="text/css" href="/static/@index_css.name" />
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
<article>
|
||
|
<div class="border">
|
||
|
<div class="image-box">
|
||
|
<img src="@image_link" />
|
||
|
</div>
|
||
|
<div class="metadata">
|
||
|
<div class="field">
|
||
|
<h4>Are you sure you want to purge this image?</h4>
|
||
|
<a href="@purge_link">Yes</a>
|
||
|
<a href="@return_link">No</a>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</article>
|
||
|
</body>
|
||
|
</html>
|