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

Unified Diff: appengine/swarming/elements/imp/common/auth-signin.html

Issue 2177353002: Add top level app element (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-py@hello-oauth
Patch Set: Fix presubmits to ignore build files Created 4 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: appengine/swarming/elements/imp/common/auth-signin.html
diff --git a/appengine/swarming/elements/imp/common/auth-signin.html b/appengine/swarming/elements/imp/common/auth-signin.html
index 635f68bbd45c444d8e4fc6d66f2bff419856adb8..13cd840a95db66a69925a25c678f7b7c958d5f5a 100644
--- a/appengine/swarming/elements/imp/common/auth-signin.html
+++ b/appengine/swarming/elements/imp/common/auth-signin.html
@@ -37,8 +37,11 @@
#avatar {
border-radius: 5px;
}
- #signinContainer {
- margin-top: 14px;
+ a {
+ color: white;
+ }
+ .center {
+ vertical-align: middle;
}
</style>
@@ -56,10 +59,10 @@
</template>
<template is="dom-if" if="[[signedIn]]">
- <img id="avatar" src="[[profile.imageUrl]]" width="30" height="30">
- <span>[[profile.email]]</span>
- <span>|</span>
- <a on-tap="signOut" href="#">Sign out</a>
+ <img class="center" id="avatar" src="[[profile.imageUrl]]" width="30" height="30">
+ <span class="center" >[[profile.email]]</span>
+ <span class="center" >|</span>
+ <a class="center" on-tap="signOut" href="#">Sign out</a>
</template>
</template>
<script>

Powered by Google App Engine
This is Rietveld 408576698