<?php use yii\helpers\Html; /* @var $this \yii\web\View view component instance */ /* @var $message \yii\mail\MessageInterface the message being composed */ /* @var $content string main view render result */ ?> <?php $this->beginPage() ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?= Yii::$app->charset ?>" /> <title><?= Html::encode($this->title) ?></title> <?php $this->head() ?> <style type="text/css"> body { padding: 0px; margin: 0px ; font-family: Arial ; font-size: 14px ; background-color: white ; } a { color: #BB8757 ; } #header { background-color: #f8f1dd ; border-bottom: 1px solid #e0e0e0 ; height: 50px ; text-align: center ; } #header .icon { width: 70px ; position: relative; bottom: -17px ; } #content { padding: 15px ; background-color: white ; } #footer { padding: 5px 15px ; color: gray ; border-top: dotted 1px #e0e0e0 ; } #link-boiteapain { text-decoration: none ; color: #BB8757 ; } </style> </head> <body> <?php $this->beginBody() ?> <div id="header"> <img class="icon" src="http://www.laboiteapain.net/img/laboiteapain-mail2.png" alt="La boîte à pain" /> </div> <div id="content"> <?= $content ?> </div> <div id="footer"> <p><a id="link-boiteapain" href="http://www.laboiteapain.net/">La boîte à pain</a> • Plateforme de réservation de pain</p> </div> <?php $this->endBody() ?> </body> </html> <?php $this->endPage() ?>