HM-101. Добавлен сервис для вывода уведомлений (#41)

This commit is contained in:
Nikolay
2020-08-01 17:46:08 +03:00
committed by GitHub
parent 8c1daa5771
commit f7ddce5bb0
12 changed files with 185 additions and 0 deletions

View File

@ -369,6 +369,25 @@
</div>
</template>
<!-- Шаблон уведомления -->
<template id="notify-message">
<div class="toast Notify__element" role="alert" aria-live="assertive" aria-atomic="true">
<div class="toast-header">
<img class="rounded mr-2 Notify__icon" alt="toast_icon">
<strong class="mr-auto Notify__title"></strong>
<button type="button" class="ml-2 mb-1 close Notify__closeButton" data-dismiss="toast" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="toast-body Notify__message"></div>
</div>
</template>
<!-- Контейнер для уведомлений -->
<template id="notify-container">
<div class="NotifyContainer"></div>
</template>
</body>
</html>