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

Unified Diff: Tools/GardeningServer/ui/ct-failure-card.html

Issue 462363003: Make a bunch of static changes to sheriff-o-matic. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: a few more tweaks Created 6 years, 4 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
« no previous file with comments | « no previous file | Tools/GardeningServer/ui/ct-failure-stream.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/GardeningServer/ui/ct-failure-card.html
diff --git a/Tools/GardeningServer/ui/ct-failure-card.html b/Tools/GardeningServer/ui/ct-failure-card.html
index 7bf9f799d6ce025670efbd5dec89bfcb397478e8..abf3deeec9baa4fd6eebf9ce9c5397b7ba98660b 100644
--- a/Tools/GardeningServer/ui/ct-failure-card.html
+++ b/Tools/GardeningServer/ui/ct-failure-card.html
@@ -24,6 +24,7 @@ found in the LICENSE file.
border: 1px solid #dcdcdc;
color: #444;
padding: 0 16px;
+ margin-bottom: 5px;
text-align: center;
}
@@ -48,32 +49,35 @@ found in the LICENSE file.
width: 250px;
}
- .failure {
+ #failure {
flex: 1;
}
- .snoozed {
- opacity: 0.5;
+ #buttons {
+ display: flex;
+ flex-direction: column;
}
- #examine, #snooze {
- align-self: flex-start;
+ .snoozed {
+ opacity: 0.5;
}
</style>
<ct-builder-grid failures="{{ group.failures }}"></ct-builder-grid>
- <div class="{{ { failure: true, snoozed: group.isSnoozed } | tokenList }}">
+ <div id="failure" class="{{ { snoozed: group.isSnoozed } | tokenList }}">
<ct-test-list tests="{{ group.failures }}" tree="{{ tree }}"></ct-test-list>
<ct-commit-list first="{{ group.failures[0].lastPassingRevisions }}"
last="{{ group.failures[0].firstFailingRevisions }}"
commits="{{ commits }}"></ct-commit-list>
</div>
- <paper-button id="examine" on-tap="{{ examine }}">Examine</paper-button>
- <template if="{{ !group.isSnoozed }}">
- <paper-button id="snooze" on-tap="{{ snooze }}">Snooze</paper-button>
- </template>
- <template if="{{ group.isSnoozed }}">
- <paper-button id="snooze" on-tap="{{ unsnooze }}">Unsnooze</paper-button>
- </template>
+ <div id="buttons">
+ <paper-button id="examine" on-tap="{{ examine }}">Examine</paper-button>
+ <template if="{{ !group.isSnoozed }}">
+ <paper-button id="snooze" on-tap="{{ snooze }}">Snooze</paper-button>
+ </template>
+ <template if="{{ group.isSnoozed }}">
+ <paper-button id="snooze" on-tap="{{ unsnooze }}">Unsnooze</paper-button>
+ </template>
+ </div>
</template>
<script>
Polymer({
« no previous file with comments | « no previous file | Tools/GardeningServer/ui/ct-failure-stream.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698