eidolon/templates/mediumDelete.hamlet

17 lines
967 B
Text
Raw Normal View History

2014-08-30 19:19:41 +00:00
$newline always
2016-09-16 14:35:03 +00:00
<div .medium>
2016-09-02 13:55:50 +00:00
<h3>Delete Medium #{mediumTitle medium}
2014-08-30 19:19:41 +00:00
2016-09-02 13:55:50 +00:00
<p>
Do you wish to delete this image?
2014-08-30 19:19:41 +00:00
2016-09-02 13:55:50 +00:00
<form method="POST" action=@{MediumDeleteR mediumId}>
<div .form-group .required>
<label for="confirm">Really delete this medium
<input .form-control type="checkbox" #confirm name="confirm" value="confirm" required>
<div .form-group .required>
<button .form-control id="delete" type="submit">Delete medium
<style type="text/css">
body{background-image: url('/static/css/images/overlay.png'), -webkit-linear-gradient(top, rgba(0,0,0,0) 75%, rgba(0,0,0,0.65)), url('@{StaticR $ StaticRoute (drop 2 $ map T.pack $ splitDirectories $ mediumPath medium) []}');background-attachment:fixed;background-image: url('/static/css/images/images/overlay.png'), -moz-linear-gradient(center top , transparent 75%, rgba(0, 0, 0, 0.65)), url('@{StaticR $ StaticRoute (drop 2 $ map T.pack $ splitDirectories $ mediumPath medium) []}');}