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

File last commit:

r778:6acda5b8 default
r802:f6088673 merge stable
Show More
rhodecode-toast.html
30 lines | 1.3 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">
polymer: simplify shared components
r746 <link rel="import" href="../../../../../../bower_components/paper-toast/paper-toast.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: clear out toasts after animation, remove ink animation from the button
r778 <paper-toast id="p-toast"
duration="0"
horizontal-offset="100"
horizontal-align="auto"
vertical-align="top"
on-iron-overlay-closed="handleClosed"
always-on-top>
components: reorganize build pipeline to have nice separation of html/js/css
r703 <div class="toast-message-holder">
<template is="dom-repeat" items="{{toasts}}">
toasts: refedined how notifications looks
r747 <div class$="alert alert-{{item.level}}">
components: reorganize build pipeline to have nice separation of html/js/css
r703 <rhodecode-unsafe-html text="{{item.message}}"></rhodecode-unsafe-html>
</div>
</template>
</div>
<div class="toast-close">
notifications: clear out toasts after animation, remove ink animation from the button
r778 <button on-tap="dismissNotifications" class="btn btn-default">{{_gettext('Close now')}}</button>
components: reorganize build pipeline to have nice separation of html/js/css
r703 </div>
</paper-toast>
</template>
<script src="rhodecode-toast.js"></script>
</dom-module>