mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
refactor: twig templating
This commit is contained in:
@@ -1,80 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<style>
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
line-height: 1.6;
|
||||
color: #333;
|
||||
}
|
||||
{% extends "emails/base.html.twig" %}
|
||||
|
||||
.container {
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
padding: 20px;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 5px;
|
||||
background-color: #f9f9f9;
|
||||
}
|
||||
|
||||
.header {
|
||||
text-align: center;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.header h1 {
|
||||
font-size: 24px;
|
||||
color: #d9534f;
|
||||
}
|
||||
|
||||
.content {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.content p {
|
||||
margin: 0 0 10px;
|
||||
}
|
||||
|
||||
.footer {
|
||||
text-align: center;
|
||||
color: #777;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
ul li {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
</style>
|
||||
<title>Domain Watchdog Error</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="header">
|
||||
<h1>Domain Watchdog Error</h1>
|
||||
</div>
|
||||
<div class="content">
|
||||
<p>Hello, <br/>
|
||||
We would like to inform you that an error occurred while ordering the following domain name:<br/>
|
||||
<strong>Domain name:</strong> {{ domain.ldhName }}<br/>
|
||||
</p>
|
||||
<p>Here are some possible explanations:</p>
|
||||
<ul>
|
||||
<li>The Connector configuration you provided is no longer valid.</li>
|
||||
<li>It is likely that the domain is no longer available for registration.</li>
|
||||
<li>A temporary interruption is affecting the registration of this domain name.</li>
|
||||
</ul>
|
||||
<br/><br/>
|
||||
<p>Thank you for your understanding,<br/>
|
||||
Sincerely,<br/>
|
||||
Domain Watchdog<br/>
|
||||
</p>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<p>© Domain Watchdog</p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
{% set email_color = '#f9f9f9' %}
|
||||
{% set title = 'Domain Watchdog Error' %}
|
||||
{% block content %}
|
||||
<p>Hello, <br/>
|
||||
We would like to inform you that an error occurred while ordering the following domain name:<br/>
|
||||
<strong>Domain name:</strong> {{ domain.ldhName }}<br/>
|
||||
</p>
|
||||
<p>Here are some possible explanations:</p>
|
||||
<ul>
|
||||
<li>The Connector configuration you provided is no longer valid.</li>
|
||||
<li>It is likely that the domain is no longer available for registration.</li>
|
||||
<li>A temporary interruption is affecting the registration of this domain name.</li>
|
||||
</ul>
|
||||
<br/><br/>
|
||||
<p>Thank you for your understanding,<br/>
|
||||
Sincerely,<br/>
|
||||
</p>
|
||||
{% endblock %}
|
||||
|
||||
@@ -1,81 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<style>
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
line-height: 1.6;
|
||||
color: #333;
|
||||
}
|
||||
{% extends "emails/base.html.twig" %}
|
||||
|
||||
.container {
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
padding: 20px;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 5px;
|
||||
background-color: #f9f9f9;
|
||||
}
|
||||
|
||||
.header {
|
||||
text-align: center;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.header h1 {
|
||||
font-size: 24px;
|
||||
color: #d9534f;
|
||||
}
|
||||
|
||||
.content {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.content p {
|
||||
margin: 0 0 10px;
|
||||
}
|
||||
|
||||
.footer {
|
||||
text-align: center;
|
||||
color: #777;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
ul li {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
</style>
|
||||
<title>Domain Watchdog Error</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="header">
|
||||
<h1>Domain Watchdog Error</h1>
|
||||
</div>
|
||||
<div class="content">
|
||||
<p>Hello, <br/>
|
||||
We would like to inform you that an error occurred while updating the information for the following domain
|
||||
name:<br/>
|
||||
<strong>Domain name:</strong> {{ domain.ldhName }}<br/>
|
||||
</p>
|
||||
<p>Here are some possible explanations:</p>
|
||||
<ul>
|
||||
<li>It is likely that the domain will be available for registration again.</li>
|
||||
<li>A temporary outage affects the provision of domain name information.</li>
|
||||
</ul>
|
||||
<br/><br/>
|
||||
<p>Thank you for your understanding,<br/>
|
||||
Sincerely,<br/>
|
||||
Domain Watchdog<br/>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
<div class="footer">
|
||||
<p>© Domain Watchdog</p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
{% set email_color = '#f9f9f9' %}
|
||||
{% set title = 'Domain Watchdog Error' %}
|
||||
{% block content %}
|
||||
<p>Hello, <br/>
|
||||
We would like to inform you that an error occurred while updating the information for the following domain
|
||||
name:<br/>
|
||||
<strong>Domain name:</strong> {{ domain.ldhName }}<br/>
|
||||
</p>
|
||||
<p>Here are some possible explanations:</p>
|
||||
<ul>
|
||||
<li>It is likely that the domain will be available for registration again.</li>
|
||||
<li>A temporary outage affects the provision of domain name information.</li>
|
||||
</ul>
|
||||
<br/><br/>
|
||||
<p>Thank you for your understanding,<br/>
|
||||
Sincerely,<br/>
|
||||
</p>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user