blob: 2bda0dec405bf0ff3476ab1a83b5ba3e309b4e3f [file] [log] [blame]
<dom-module id="gr-checks-chip-view">
<template>
<style>
:host {
display: inline-block;
}
.chip {
border-color: #D0D0D0;
border-radius: 4px;
border-style: solid;
border-width: 1px;
padding: 4px 8px;
}
.chip.failed {
border-color: #DA4236;
}
</style>
<template is="dom-if" if="[[_hasChecks]]">
Checks:
<span class$="[[_chipClasses]]">
<gr-checks-status status="[[_status]]"></gr-checks-status>
[[_statusString]]
</span>
</template>
</template>
<script src="gr-checks-all-statuses.js"></script>
<script src="gr-checks-chip-view.js"></script>
</dom-module>