Skip to content

Instantly share code, notes, and snippets.

@tyoshikawa1106
Last active December 17, 2020 11:05
Show Gist options
  • Save tyoshikawa1106/d51bc641ab9c85886d570a09ec125950 to your computer and use it in GitHub Desktop.
Save tyoshikawa1106/d51bc641ab9c85886d570a09ec125950 to your computer and use it in GitHub Desktop.
Pardot Unsucribe Page Sample - 配信停止ページサンプル
<!DOCTYPE html>
<html>
<head>
<base href="" >
<meta charset="utf-8"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="description" content="%%description%%"/>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
<title>配信停止 | SAMPLE</title>
<style type="text/css">
body {
margin: 0;
padding: 0;
}
form.form p.submit input {
margin: 0;
padding: 0;
text-align: right;
border: none;
background: url(insert URL to desired image here) no-repeat left top; width:(define width of button here)px; height:(define height of button here)px;
cursor: pointer;
}
</style>
</head>
<body>
<!-- Header -->
<header>
<nav class="navbar navbar-dark bg-dark">
<a class="navbar-brand" href="#">SAMPLE</a>
</nav>
</header>
<!-- Content -->
<div style="padding: 20px;">
%%content%%
</div>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js" integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI" crossorigin="anonymous"></script>
</body>
</html>
<form accept-charset="UTF-8" method="post" action="%%form-action-url%%" class="form" id="pardot-form">
%%form-opening-general-content%%
%%form-if-thank-you%%
%%form-javascript-focus%%
<!--%%form-thank-you-content%%-->
<div class="alert alert-primary" role="alert">
ありがとうございます。配信停止を解除しました。
</div>
%%form-thank-you-code%%
%%form-end-if-thank-you%%
%%form-if-display-form%%
<!--%%form-before-form-content%%-->
<div class="alert alert-warning" role="alert">
メール配信を停止しました。またのご利用をお待ちしています。
</div>
%%form-if-error%%
<div class="alert alert-secondary" role="alert">
<p class="errors">予期せぬエラーが発生しました。</p>
</div>
%%form-end-if-error%%
<!-- forces IE5-8 to correctly submit UTF8 content -->
<input name="_utf8" type="hidden" value="&#9731;" />
<p class="submit">
<input type="submit" accesskey="s" value="配信停止を解除する" %%form-submit-disabled%% class="btn btn-primary" style="padding:10px; margin-top: 10px;" />
</p>
%%form-after-form-content%%
%%form-end-if-display-form%%
%%form-javascript-link-target-top%%
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment