##// END OF EJS Templates
release: Merge default into stable for release preparation
release: Merge default into stable for release preparation

File last commit:

r2915:59bfd308 default
r3002:f5da0c46 merge stable
Show More
rhodecode-toast.html
23 lines | 1.1 KiB | text/html | HtmlLexer
components: reorganize build pipeline to have nice separation of html/js/css
r703 <link rel="import" href="../../../../../../bower_components/paper-button/paper-button.html">
toasts: hide messages on escape.
r1486 <link rel="import" href="../../../../../../bower_components/iron-a11y-keys-behavior/iron-a11y-keys-behavior.html">
components: reorganize build pipeline to have nice separation of html/js/css
r703 <link rel="import" href="../rhodecode-unsafe-html/rhodecode-unsafe-html.html">
<dom-module id="rhodecode-toast">
<template>
notifications: make styling match the design
r704 <style include="shared-styles"></style>
components: reorganize build pipeline to have nice separation of html/js/css
r703 <link rel="stylesheet" href="rhodecode-toast.css">
notifications: different approach with fixed/standard container
r1483 <template is="dom-if" if="[[hasToasts]]">
rhodecode-toast: css improvements.
r1484 <div class$="container toast-message-holder [[conditionalClass(isFixed)]]">
notifications: different approach with fixed/standard container
r1483 <template is="dom-repeat" items="[[toasts]]">
<div class$="alert alert-[[item.level]]">
rhodecode-toasts: allow removing single elements from toast queue.
r1513 <div on-tap="dismissNotification" class="toast-close" index-pos="[[index]]">
<span>[[_gettext('Close')]]</span>
</div>
notifications: different approach with fixed/standard container
r1483 <rhodecode-unsafe-html text="[[item.message]]"></rhodecode-unsafe-html>
components: reorganize build pipeline to have nice separation of html/js/css
r703 </div>
</template>
</div>
notifications: different approach with fixed/standard container
r1483 </template>
components: reorganize build pipeline to have nice separation of html/js/css
r703 </template>
<script src="rhodecode-toast.js"></script>
</dom-module>