##// END OF EJS Templates
my-account-auth-tokens: moved into pyramid apps....
my-account-auth-tokens: moved into pyramid apps. - we're going to override this in EE edition with added functionality.

File last commit:

r1486:06061388 default
r1505:0cb9b007 default
Show More
rhodecode-toast.html
25 lines | 1.2 KiB | text/html | HtmlLexer
<link rel="import" href="../../../../../../bower_components/paper-button/paper-button.html">
<link rel="import" href="../../../../../../bower_components/paper-toast/paper-toast.html">
<link rel="import" href="../../../../../../bower_components/iron-a11y-keys-behavior/iron-a11y-keys-behavior.html">
<link rel="import" href="../rhodecode-unsafe-html/rhodecode-unsafe-html.html">
<dom-module id="rhodecode-toast">
<template>
<style include="shared-styles"></style>
<link rel="stylesheet" href="rhodecode-toast.css">
<template is="dom-if" if="[[hasToasts]]">
<div class$="container toast-message-holder [[conditionalClass(isFixed)]]">
<template is="dom-repeat" items="[[toasts]]">
<div class$="alert alert-[[item.level]]">
<rhodecode-unsafe-html text="[[item.message]]"></rhodecode-unsafe-html>
</div>
</template>
<div class="toast-close">
<button on-tap="dismissNotifications" class="btn btn-default">[[_gettext('Close')]]</button>
</div>
</div>
</template>
</template>
<script src="rhodecode-toast.js"></script>
</dom-module>