Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(532)

Unified Diff: Tools/GardeningServer/ui/ct-tree-status.html

Issue 400353006: Fix a bunch of UI nits in sheriff-o-matic. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Tools/GardeningServer/ui/ct-tree-status.html
diff --git a/Tools/GardeningServer/ui/ct-tree-status.html b/Tools/GardeningServer/ui/ct-tree-status.html
index 0293c090bfce7ad7758bcdc7ab5e7624d1de773f..c2aec6791caffbc1ab2aa280fe3b12dc6a466c39 100644
--- a/Tools/GardeningServer/ui/ct-tree-status.html
+++ b/Tools/GardeningServer/ui/ct-tree-status.html
@@ -6,24 +6,21 @@ found in the LICENSE file.
<polymer-element name="ct-tree-status">
<template>
- <template if="{{ message }}">
<style>
:host {
display: block;
- whitespace: nowrap;
- overflow: hidden;
- text-overflow: ellispis;
}
:host([status=throttled]) {
- background-color: khaki;
+ background-color: #fffc6c;
}
:host([status=closed]) {
color: white;
- background-color: tomato;
+ background-color: #e98080;
}
</style>
+ <template if="{{ message }}">
{{ project }}: {{ message }}
</template>
</template>
@@ -33,12 +30,13 @@ found in the LICENSE file.
project: '',
message: '',
status: {
- value: 'open',
+ value: '',
reflect: true,
},
},
update: function() {
+ // FIXME: Show a link to *-status.appspot.com.
var url = treestatus.urlByName(this.project);
return net.json(url).then(function(response) {
this.updateStatus(response);

Powered by Google App Engine
This is Rietveld 408576698