選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

html.php 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <?php
  2. use yii\helpers\Html;
  3. /* @var $this \yii\web\View view component instance */
  4. /* @var $message \yii\mail\MessageInterface the message being composed */
  5. /* @var $content string main view render result */
  6. ?>
  7. <?php $this->beginPage() ?>
  8. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  9. <html xmlns="http://www.w3.org/1999/xhtml">
  10. <head>
  11. <meta http-equiv="Content-Type" content="text/html; charset=<?= Yii::$app->charset ?>" />
  12. <title><?= Html::encode($this->title) ?></title>
  13. <?php $this->head() ?>
  14. <style type="text/css">
  15. body {
  16. padding: 0px;
  17. margin: 0px ;
  18. font-family: Arial ;
  19. font-size: 14px ;
  20. background-color: white ;
  21. }
  22. a {
  23. color: #BB8757 ;
  24. }
  25. #header {
  26. background-color: #f8f1dd ;
  27. border-bottom: 1px solid #e0e0e0 ;
  28. height: 50px ;
  29. text-align: center ;
  30. }
  31. #header .icon {
  32. width: 70px ;
  33. position: relative;
  34. bottom: -17px ;
  35. }
  36. #content {
  37. padding: 15px ;
  38. background-color: white ;
  39. }
  40. #footer {
  41. padding: 5px 15px ;
  42. color: gray ;
  43. border-top: dotted 1px #e0e0e0 ;
  44. }
  45. #link-boiteapain {
  46. text-decoration: none ;
  47. color: #BB8757 ;
  48. }
  49. </style>
  50. </head>
  51. <body>
  52. <?php $this->beginBody() ?>
  53. <div id="header">
  54. <img class="icon" src="http://www.laboiteapain.net/img/laboiteapain-mail2.png" alt="La boîte à pain" />
  55. </div>
  56. <div id="content">
  57. <?= $content ?>
  58. </div>
  59. <div id="footer">
  60. <p><a id="link-boiteapain" href="http://www.laboiteapain.net/">La boîte à pain</a> &bull; Plateforme de réservation de pain</p>
  61. </div>
  62. <?php $this->endBody() ?>
  63. </body>
  64. </html>
  65. <?php $this->endPage() ?>