Files
notifications-admin/app/templates/views/service-settings/letter-preview.html
Katie Smith d904c7e5c5 Show letter branding preview when selecting a brand
This adds a preview pane which is visible when updating a letter brand.

If JavaScript is enabled, the preview pane shows on the set-letter-branding
page, and submitting the form saves updates the letter brand for a service
immediately. If Javascript is not enabled, there is a separate 'Preview email
branding' page which shows a preview of the brand and has a 'Save' button on it.
2019-02-19 10:44:51 +00:00

32 lines
470 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Letter preview</title>
<style type="text/css">
body {
background-color: #dee0e2;
margin: 0;
}
img {
display: block;
background-color: #fff;
width: 100%;
height: auto;
}
.letter-postage,
.visually-hidden {
display: none;
}
</style>
</head>
<body>
{{ template }}
</body>
</html>