HM-101. Добавлен сервис для вывода уведомлений (#41)
This commit is contained in:
19
src/app.html
19
src/app.html
@ -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">×</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="toast-body Notify__message"></div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<!-- Контейнер для уведомлений -->
|
||||
<template id="notify-container">
|
||||
<div class="NotifyContainer"></div>
|
||||
</template>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user