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

Unified Diff: appengine/config_service/ui/common/auth-signin.html

Issue 2983203002: config_service: make UI adjustable for mobile (Closed)
Patch Set: config_service: prompt user to sign in when appropriate. Created 3 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
« no previous file with comments | « appengine/components/tools/gae.py ('k') | appengine/config_service/ui/src/config-ui/config-set.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/config_service/ui/common/auth-signin.html
diff --git a/appengine/config_service/ui/common/auth-signin.html b/appengine/config_service/ui/common/auth-signin.html
index 4a1f091ea988122b97fb3217e16f128a6bd9131a..6504162a6cdd9e4becc625ec7de8580b6d10bd0a 100644
--- a/appengine/config_service/ui/common/auth-signin.html
+++ b/appengine/config_service/ui/common/auth-signin.html
@@ -55,7 +55,7 @@
<template is="dom-if" if="[[!signed_in]]">
<div id="signinContainer">
<!-- TODO(cwpayton): Before official deployment, change href to "/#/" -->
- <a class="typeface" on-tap="signIn" href="/#/">Sign in</a>
+ <a class="typeface" on-tap="signIn" href="[[current_url]]">Sign in</a>
</div>
</template>
@@ -88,6 +88,11 @@
type: String
},
+ current_url: {
+ type: String,
+ value: "/#/"
+ },
+
initialized: {
type: Boolean,
value: false,
@@ -165,6 +170,7 @@
},
signIn: function() {
+ this.current_url = window.location.href;
this.$.aware.signIn();
},
« no previous file with comments | « appengine/components/tools/gae.py ('k') | appengine/config_service/ui/src/config-ui/config-set.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698