templates/blocks/flash.notifications.html.twig line 1

Open in your IDE?
  1. {#Flash message - notice#}
  2. {% for message in app.flashes('notice-success') %}
  3.     <div data-autohide="5000" class="toast toast--green animated fadeInRight">
  4.         <div class="toast__icon">
  5.             <svg version="1.1" class="toast__svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
  6.             <g><g><path d="M504.502,75.496c-9.997-9.998-26.205-9.998-36.204,0L161.594,382.203L43.702,264.311c-9.997-9.998-26.205-9.997-36.204,0    c-9.998,9.997-9.998,26.205,0,36.203l135.994,135.992c9.994,9.997,26.214,9.99,36.204,0L504.502,111.7    C514.5,101.703,514.499,85.494,504.502,75.496z"></path></g></g>
  7.         </svg>
  8.         </div>
  9.         <div class="toast__content">
  10.             <p class="toast__type">Succès</p>
  11.             <p class="toast__message">{{ message }}</p>
  12.         </div>
  13.         <div class="toast__close">
  14.             <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.642 15.642" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 15.642 15.642">
  15.                 <path fill-rule="evenodd" d="M8.882,7.821l6.541-6.541c0.293-0.293,0.293-0.768,0-1.061  c-0.293-0.293-0.768-0.293-1.061,0L7.821,6.76L1.28,0.22c-0.293-0.293-0.768-0.293-1.061,0c-0.293,0.293-0.293,0.768,0,1.061  l6.541,6.541L0.22,14.362c-0.293,0.293-0.293,0.768,0,1.061c0.147,0.146,0.338,0.22,0.53,0.22s0.384-0.073,0.53-0.22l6.541-6.541  l6.541,6.541c0.147,0.146,0.338,0.22,0.53,0.22c0.192,0,0.384-0.073,0.53-0.22c0.293-0.293,0.293-0.768,0-1.061L8.882,7.821z"></path>
  16.             </svg>
  17.         </div>
  18.     </div>
  19. {% endfor %}
  20. {% for message in app.flashes('notice-info') %}
  21.     <div data-autohide="5000"  class="toast toast--blue add-margin animated fadeInRight">
  22.         <div class="toast__icon">
  23.             <svg version="1.1" class="toast__svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 32 32" style="enable-background:new 0 0 32 32;" xml:space="preserve"><g><g id="info"><g>
  24.                 <path  d="M10,16c1.105,0,2,0.895,2,2v8c0,1.105-0.895,2-2,2H8v4h16v-4h-1.992c-1.102,0-2-0.895-2-2L20,12H8     v4H10z"></path><circle  cx="16" cy="4" r="4"></circle></g></g></g>
  25.             </svg>
  26.         </div>
  27.         <div class="toast__content">
  28.             <p class="toast__type">Info</p>
  29.             <p class="toast__message">{{ message }}</p>
  30.         </div>
  31.         <div class="toast__close">
  32.             <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.642 15.642" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 15.642 15.642">
  33.                 <path fill-rule="evenodd" d="M8.882,7.821l6.541-6.541c0.293-0.293,0.293-0.768,0-1.061  c-0.293-0.293-0.768-0.293-1.061,0L7.821,6.76L1.28,0.22c-0.293-0.293-0.768-0.293-1.061,0c-0.293,0.293-0.293,0.768,0,1.061  l6.541,6.541L0.22,14.362c-0.293,0.293-0.293,0.768,0,1.061c0.147,0.146,0.338,0.22,0.53,0.22s0.384-0.073,0.53-0.22l6.541-6.541  l6.541,6.541c0.147,0.146,0.338,0.22,0.53,0.22c0.192,0,0.384-0.073,0.53-0.22c0.293-0.293,0.293-0.768,0-1.061L8.882,7.821z"></path>
  34.             </svg>
  35.         </div>
  36.     </div>
  37. {% endfor %}
  38. {% for message in app.flashes('notice-warning') %}
  39.     <div data-autohide="10000"  class="toast toast--yellow add-margin animated fadeInRight">
  40.         <div class="toast__icon">
  41.             <svg version="1.1" class="toast__svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 301.691 301.691" style="enable-background:new 0 0 301.691 301.691;" xml:space="preserve"><g><polygon points="119.151,0 129.6,218.406 172.06,218.406 182.54,0  "></polygon><rect x="130.563" y="261.168" width="40.525" height="40.523"></rect></g></svg>
  42.         </div>
  43.         <div class="toast__content">
  44.             <p class="toast__type">ATTENTION</p>
  45.             <p class="toast__message">{{ message | raw }}</p>
  46.         </div>
  47.         <div class="toast__close">
  48.             <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.642 15.642" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 15.642 15.642">
  49.                 <path fill-rule="evenodd" d="M8.882,7.821l6.541-6.541c0.293-0.293,0.293-0.768,0-1.061  c-0.293-0.293-0.768-0.293-1.061,0L7.821,6.76L1.28,0.22c-0.293-0.293-0.768-0.293-1.061,0c-0.293,0.293-0.293,0.768,0,1.061  l6.541,6.541L0.22,14.362c-0.293,0.293-0.293,0.768,0,1.061c0.147,0.146,0.338,0.22,0.53,0.22s0.384-0.073,0.53-0.22l6.541-6.541  l6.541,6.541c0.147,0.146,0.338,0.22,0.53,0.22c0.192,0,0.384-0.073,0.53-0.22c0.293-0.293,0.293-0.768,0-1.061L8.882,7.821z"></path>
  50.             </svg>
  51.         </div>
  52.     </div>
  53. {% endfor %}
  54. {% for message in app.flashes('notice-handicap') %}
  55.     <div data-autohide="30000"  class="toast toast--yellow add-margin animated fadeInRight">
  56.         <div class="toast__icon">
  57.             <svg version="1.1" class="toast__svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 301.691 301.691" style="enable-background:new 0 0 301.691 301.691;" xml:space="preserve"><g><polygon points="119.151,0 129.6,218.406 172.06,218.406 182.54,0  "></polygon><rect x="130.563" y="261.168" width="40.525" height="40.523"></rect></g></svg>
  58.         </div>
  59.         <div class="toast__content">
  60.             <p class="toast__type">ATTENTION</p>
  61.             <p class="toast__message">{{ message | raw }}</p>
  62.         </div>
  63.         <div class="toast__close">
  64.             <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.642 15.642" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 15.642 15.642">
  65.                 <path fill-rule="evenodd" d="M8.882,7.821l6.541-6.541c0.293-0.293,0.293-0.768,0-1.061  c-0.293-0.293-0.768-0.293-1.061,0L7.821,6.76L1.28,0.22c-0.293-0.293-0.768-0.293-1.061,0c-0.293,0.293-0.293,0.768,0,1.061  l6.541,6.541L0.22,14.362c-0.293,0.293-0.293,0.768,0,1.061c0.147,0.146,0.338,0.22,0.53,0.22s0.384-0.073,0.53-0.22l6.541-6.541  l6.541,6.541c0.147,0.146,0.338,0.22,0.53,0.22c0.192,0,0.384-0.073,0.53-0.22c0.293-0.293,0.293-0.768,0-1.061L8.882,7.821z"></path>
  66.             </svg>
  67.         </div>
  68.     </div>
  69. {% endfor %}
  70. {#{% for message in app.flashes('notice-warning') %}#}
  71. {#    <div class="notification pos-right pos-top col-sm-12 col-md-8 col-lg-6" data-animation="from-bottom" data-autoshow="200" data-autohide="10000">#}
  72. {#        <div class="alert-warning notification-message">#}
  73. {#            {{ message }}#}
  74. {#        </div>#}
  75. {#    </div>#}
  76. {#{% endfor %}#}
  77. {#{% for message in app.flashes('notice-error') %}#}
  78. {#    <div class="notification pos-right pos-top col-sm-12 col-md-8 col-lg-6" data-animation="from-bottom" data-autoshow="200" data-autohide="10000">#}
  79. {#        <div class="alert-danger notification-message">#}
  80. {#            {{ message }}#}
  81. {#        </div>#}
  82. {#    </div>#}
  83. {#{% endfor %}#}
  84. {#{% for message in app.flashes('notice') %}#}
  85. {#    <div class="notification pos-right pos-top col-sm-12 col-md-8 col-lg-6" data-animation="from-bottom" data-autoshow="200" data-autohide="10000">#}
  86. {#        <div class="alert-info notification-message">#}
  87. {#            {{ message }}#}
  88. {#        </div>#}
  89. {#    </div>#}
  90. {#{% endfor %}#}
  91. {#{% for message in app.flashes('alert-otk') %}#}
  92. {#    <div class="notification pos-right pos-top col-sm-12 col-md-8 col-lg-6" data-animation="from-bottom" data-autoshow="200" data-autohide="5000">#}
  93. {#        <div class="alert-otk notification-message">#}
  94. {#            {{ message }}#}
  95. {#        </div>#}
  96. {#    </div>#}
  97. {#{% endfor %}#}
  98. {#<div class="toast toast--blue add-margin">#}
  99. {#    <div class="toast__icon">#}
  100. {#        <svg version="1.1" class="toast__svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 32 32" style="enable-background:new 0 0 32 32;" xml:space="preserve"><g><g id="info"><g>#}
  101. {#            <path  d="M10,16c1.105,0,2,0.895,2,2v8c0,1.105-0.895,2-2,2H8v4h16v-4h-1.992c-1.102,0-2-0.895-2-2L20,12H8     v4H10z"></path><circle  cx="16" cy="4" r="4"></circle></g></g></g>#}
  102. {#        </svg>#}
  103. {#    </div>#}
  104. {#    <div class="toast__content">#}
  105. {#        <p class="toast__type">Info</p>#}
  106. {#        <p class="toast__message">Anyone with access can view your invited visitors.</p>#}
  107. {#    </div>#}
  108. {#    <div class="toast__close">#}
  109. {#        <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.642 15.642" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 15.642 15.642">#}
  110. {#            <path fill-rule="evenodd" d="M8.882,7.821l6.541-6.541c0.293-0.293,0.293-0.768,0-1.061  c-0.293-0.293-0.768-0.293-1.061,0L7.821,6.76L1.28,0.22c-0.293-0.293-0.768-0.293-1.061,0c-0.293,0.293-0.293,0.768,0,1.061  l6.541,6.541L0.22,14.362c-0.293,0.293-0.293,0.768,0,1.061c0.147,0.146,0.338,0.22,0.53,0.22s0.384-0.073,0.53-0.22l6.541-6.541  l6.541,6.541c0.147,0.146,0.338,0.22,0.53,0.22c0.192,0,0.384-0.073,0.53-0.22c0.293-0.293,0.293-0.768,0-1.061L8.882,7.821z"></path>#}
  111. {#        </svg>#}
  112. {#    </div>#}
  113. {#</div>#}
  114. {#<div class="toast toast--yellow add-margin">#}
  115. {#    <div class="toast__icon">#}
  116. {#        <svg version="1.1" class="toast__svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 301.691 301.691" style="enable-background:new 0 0 301.691 301.691;" xml:space="preserve"><g><polygon points="119.151,0 129.6,218.406 172.06,218.406 182.54,0  "></polygon><rect x="130.563" y="261.168" width="40.525" height="40.523"></rect></g></svg>#}
  117. {#    </div>#}
  118. {#    <div class="toast__content">#}
  119. {#        <p class="toast__type">Success</p>#}
  120. {#        <p class="toast__message">Anyone with access can view your invited visitors.</p>#}
  121. {#    </div>#}
  122. {#    <div class="toast__close">#}
  123. {#        <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.642 15.642" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 15.642 15.642">#}
  124. {#            <path fill-rule="evenodd" d="M8.882,7.821l6.541-6.541c0.293-0.293,0.293-0.768,0-1.061  c-0.293-0.293-0.768-0.293-1.061,0L7.821,6.76L1.28,0.22c-0.293-0.293-0.768-0.293-1.061,0c-0.293,0.293-0.293,0.768,0,1.061  l6.541,6.541L0.22,14.362c-0.293,0.293-0.293,0.768,0,1.061c0.147,0.146,0.338,0.22,0.53,0.22s0.384-0.073,0.53-0.22l6.541-6.541  l6.541,6.541c0.147,0.146,0.338,0.22,0.53,0.22c0.192,0,0.384-0.073,0.53-0.22c0.293-0.293,0.293-0.768,0-1.061L8.882,7.821z"></path>#}
  125. {#        </svg>#}
  126. {#    </div>#}
  127. {#</div>#}